data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatorData

type AggregatorData struct {
	// contains filtered or unexported fields
}

func NewAggregatorData

func NewAggregatorData() *AggregatorData

func (*AggregatorData) AddSlotHeader

func (d *AggregatorData) AddSlotHeader(slotHeader SlotHeader) error

func (*AggregatorData) GetLastSlot

func (d *AggregatorData) GetLastSlot() uint64

func (*AggregatorData) GetLastSlotHeaderReleaseTime

func (d *AggregatorData) GetLastSlotHeaderReleaseTime() time.Time

func (*AggregatorData) GetSelectedSlotHeaders

func (d *AggregatorData) GetSelectedSlotHeaders(slot uint64) (SlotHeader, error)

func (*AggregatorData) GetSlotHeaderByHash

func (d *AggregatorData) GetSlotHeaderByHash(blockHash string) (SlotHeader, error)

func (*AggregatorData) SetLastSlot

func (d *AggregatorData) SetLastSlot(slot uint64)

func (*AggregatorData) SetLastSlotHeaderReleaseTime

func (d *AggregatorData) SetLastSlotHeaderReleaseTime(t time.Time)

type SlotHeader

type SlotHeader struct {
	ModuleName string
	Slot       uint64
	Value      *big.Int
	BlockHash  string
	Bid        *spec.VersionedSignedBuilderBid
}

Jump to

Keyboard shortcuts

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