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

NewBlock

data class NewBlock (source)

Constructors

<init>

NewBlock(block: Block, totalDifficulty: UInt256)

Properties

block

val block: Block

totalDifficulty

val totalDifficulty: UInt256

Functions

toBytes

fun toBytes(): Bytes

Companion Object Functions

read

fun read(payload: Bytes): NewBlock