mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add clarification for block.blockhash
This commit is contained in:
parent
4f1b5d26f7
commit
739ee88fa7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user