tuweni / org.apache.tuweni.eth / BlockBody

BlockBody

class BlockBody (source)

An Ethereum block body.

Constructors

<init>

Creates a new block body.

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

Functions

equals

fun equals(other: Any?): Boolean

fromBytes

Deserialize a block body from RLP encoded bytes.

static fun fromBytes(encoded: Bytes!): BlockBody!

getOmmers

Provides the block ommers

fun getOmmers(): MutableList<BlockHeader!>!

getTransactions

Provides the block transactions

fun getTransactions(): MutableList<Transaction!>!

hashCode

fun hashCode(): Int

readFrom

static fun readFrom(reader: RLPReader!): BlockBody!

toBytes

Provides the block body bytes

fun toBytes(): Bytes!

toString

fun toString(): String

writeTo

fun writeTo(writer: RLPWriter!): Unit