tuweni / org.apache.tuweni.ethstats / BlockStats / <init>

<init>

BlockStats(number: UInt256, hash: Hash, parentHash: Hash, timestamp: Long, miner: Address, gasUsed: Long, gasLimit: Long, difficulty: UInt256, totalDifficulty: UInt256, transactions: List<TxStats>, transactionsRoot: Hash, stateRoot: Hash, uncles: List<Hash>)

Block statistics reported to ethnetstats.

Parameters

number - the block number

hash - the block hash

parentHash - the hash of the parent block, or null.

timestamp - the timestamp of the block

miner - the coinbase address of the block

gasUsed - the gas used by the block

gasLimit - the gas limit of the block

difficulty - the difficulty of the block

totalDifficulty - the total difficulty up to this block (including this block)

transactions - the list of transaction hashes associated with the block

transactionsRoot - the hash root of transactions

stateRoot - the hash root of the state

uncles - the block ommers associated with this block