diff options
author | chriseth <chris@ethereum.org> | 2016-11-04 18:43:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 18:43:49 +0800 |
commit | dd0879fe438af22d6db49826e800ccd14c3780e7 (patch) | |
tree | 2e37e74dc3a61dfbdab73f23484c8646446b68c0 /docs | |
parent | 990c1d34d6ce0e13558d6b31cded6e5cab3b05ea (diff) | |
parent | 739ee88fa72739d432f626cd862b796bc0ee797c (diff) | |
download | dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar.gz dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar.bz2 dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar.lz dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar.xz dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.tar.zst dexon-solidity-dd0879fe438af22d6db49826e800ccd14c3780e7.zip |
Merge pull request #1316 from federicobond/clarify-doc
Add clarification for block.blockhash
Diffstat (limited to 'docs')
-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 |