Package org.hyperledger.besu.plugin.data
Interface PropagatedBlockContext
-
public interface PropagatedBlockContext
The minimum set of data for a PropagatedBlockContext.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockBody
getBlockBody()
ABlockHeader
object.BlockHeader
getBlockHeader()
ABlockHeader
object.org.apache.tuweni.units.bigints.UInt256
getTotalDifficulty()
A scalar value corresponding to the total difficulty.
-
-
-
Method Detail
-
getBlockHeader
BlockHeader getBlockHeader()
ABlockHeader
object.- Returns:
- A
BlockHeader
-
getBlockBody
BlockBody getBlockBody()
ABlockHeader
object.- Returns:
- A
BlockHeader
-
getTotalDifficulty
org.apache.tuweni.units.bigints.UInt256 getTotalDifficulty()
A scalar value corresponding to the total difficulty.- Returns:
- A UInt256 value corresponding to the total difficulty.
-
-