tuweni / org.apache.tuweni.eth / BlockBody

BlockBody

class BlockBody (source)

An Ethereum block body.

Constructors

<init>

BlockBody(transactions: MutableList<Transaction>, ommers: MutableList<BlockHeader>)

Creates a new block body.

Functions

equals

fun equals(other: Any?): Boolean

fromBytes

static fun fromBytes(encoded: Bytes): BlockBody

Deserialize a block body from RLP encoded bytes.

hashCode

fun hashCode(): Int

ommers

fun ommers(): MutableList<BlockHeader>

readFrom

static fun readFrom(reader: RLPReader): BlockBody

toBytes

fun toBytes(): Bytes

toString

fun toString(): String

transactions

fun transactions(): MutableList<Transaction>

writeTo

fun writeTo(writer: RLPWriter): Unit