tuweni / org.apache.tuweni.devp2p.eth / SimpleBlockchainInformation / <init>

<init>

SimpleBlockchainInformation(networkID: UInt256, totalDifficulty: UInt256, bestHash: Hash, bestNumber: UInt256, genesisHash: Hash, forks: List<Long>)

POJO - constant representation of the blockchain information

Parameters

networkID - the network ID

totalDifficulty - the total difficulty of the chain

bestHash - best known hash

bestNumber - best known number

genesisHash - the genesis block hash

forks - known forks