Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnknownPayload = engine.UnknownPayload ZeroHash = Hash{} )
Functions ¶
func HasPayloadAttributes ¶
func HasPayloadAttributes(attrs *eth.PayloadAttributes) bool
func IsForkchoiceStateEmpty ¶
func IsForkchoiceStateEmpty(state *eth.ForkchoiceState) bool
Verifies HeadBlockHash is empty
func IsPayloadIDEmpty ¶
Types ¶
type CompositeBlock ¶
func NewCompositeBlock ¶
func NewCompositeBlock(gethHash, abciHash common.Hash) CompositeBlock
func (CompositeBlock) Hash ¶
func (b CompositeBlock) Hash() common.Hash
type CompositePayload ¶
type CompositePayload struct { // NOTE!: Both payloads may be nil. GethPayload *eth.PayloadID ABCIPayload *eth.PayloadID }
func NewCompositePayload ¶
func NewCompositePayload(gethPayload, abciPayload *eth.PayloadID) CompositePayload
func (CompositePayload) Payload ¶
func (p CompositePayload) Payload() *eth.PayloadID
Click to show internal directories.
Click to hide internal directories.