types

package
v0.0.0-...-50bfe8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func IsPayloadIDEmpty(id PayloadID) bool

Types

type CompositeBlock

type CompositeBlock struct {
	GethHash common.Hash
	ABCIHash common.Hash
}

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

type CosmosTx

type CosmosTx = bfttypes.Tx

fixed size hash of 32 bytes generated by SHA256 or Keccak256

type Hash

type Hash = common.Hash

fixed size hash of 32 bytes generated by SHA256 or Keccak256

type PayloadID

type PayloadID = engine.PayloadID

fixed size hash of 32 bytes generated by SHA256 or Keccak256

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL