devp2p-eth / org.apache.tuweni.devp2p.eth / SimpleBlockchainInformation

SimpleBlockchainInformation

data class SimpleBlockchainInformation : BlockchainInformation (source)

Constructors

<init>

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

Properties

bestHash

val bestHash: Hash

forks

val forks: List<Long>

genesisHash

val genesisHash: Hash

networkID

val networkID: UInt256

totalDifficulty

val totalDifficulty: UInt256

Functions

bestHash

fun bestHash(): Hash

forks

fun forks(): List<Long>

genesisHash

fun genesisHash(): Hash

networkID

fun networkID(): UInt256

totalDifficulty

fun totalDifficulty(): UInt256