block对象结构:
- block.coinbase (address): 当前块的矿工的地址
- block.difficulty (uint):当前块的难度系数
- block.gaslimit (uint):当前块gas的上限
- block.number (uint):当前块编号
- block.blockhash (function(uint) returns (bytes32)):函数,返回指定块的哈希值,已经被内建函数blockhash所代替
- block.timestamp (uint):当前块的时间戳
SmartDev-Contract/Solidity-basic.md at master · WeBankBlockchain/SmartDev-Contract · GitHub