Package org.hyperledger.besu.plugin.data
Interface BlockBody
-
public interface BlockBody
The parts of a Block not in theBlockHeader
, information corresponding to the comprised transactions ingetTransactions()
, and a set of other block headers ingetOmmers()
, as defined in the Ethereum Yellow Paper.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<? extends BlockHeader>
getOmmers()
Returns the list of ommers of the block.java.util.List<? extends Transaction>
getTransactions()
Returns the list of transactions of the block.
-
-
-
Method Detail
-
getTransactions
java.util.List<? extends Transaction> getTransactions()
Returns the list of transactions of the block.- Returns:
- The list of transactions of the block.
-
getOmmers
java.util.List<? extends BlockHeader> getOmmers()
Returns the list of ommers of the block.- Returns:
- The list of ommers of the block.
-
-