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

BlockchainInformation

interface BlockchainInformation (source)

Functions

bestHash

abstract fun bestHash(): Hash

forks

abstract fun forks(): List<Long>

genesisHash

abstract fun genesisHash(): Hash

getForkHashes

open fun getForkHashes(): List<Bytes>

getLatestFork

open fun getLatestFork(): Long?

getLatestForkHash

open fun getLatestForkHash(): Bytes?

networkID

abstract fun networkID(): UInt256

totalDifficulty

abstract fun totalDifficulty(): UInt256

Inheritors

SimpleBlockchainInformation

data class SimpleBlockchainInformation : BlockchainInformation