diff options
author | Federico Bond <federicobond@gmail.com> | 2016-11-02 07:03:20 +0800 |
---|---|---|
committer | Federico Bond <federicobond@gmail.com> | 2016-11-02 07:03:20 +0800 |
commit | 739ee88fa72739d432f626cd862b796bc0ee797c (patch) | |
tree | bbf32fbff236206fd2813205c9b7dbe716d56087 /docs/units-and-global-variables.rst | |
parent | 4f1b5d26f7942117b44f199b0e73ce648b90bafb (diff) | |
download | dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.gz dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.bz2 dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.lz dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.xz dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.tar.zst dexon-solidity-739ee88fa72739d432f626cd862b796bc0ee797c.zip |
Add clarification for block.blockhash
Diffstat (limited to 'docs/units-and-global-variables.rst')
-rw-r--r-- | docs/units-and-global-variables.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index 3499bc71..dd3d4be8 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -50,7 +50,7 @@ namespace and are mainly used to provide information about the blockchain. Block and Transaction Properties -------------------------------- -- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks +- ``block.blockhash(uint blockNumber) returns (bytes32)``: hash of the given block - only works for 256 most recent blocks excluding current - ``block.coinbase`` (``address``): current block miner's address - ``block.difficulty`` (``uint``): current block difficulty - ``block.gaslimit`` (``uint``): current block gaslimit |