Documentation ¶
Index ¶
- type AggregatorData
- func (d *AggregatorData) AddSlotHeader(slotHeader SlotHeader) error
- func (d *AggregatorData) GetLastSlot() uint64
- func (d *AggregatorData) GetLastSlotHeaderReleaseTime() time.Time
- func (d *AggregatorData) GetSelectedSlotHeaders(slot uint64) (SlotHeader, error)
- func (d *AggregatorData) GetSlotHeaderByHash(blockHash string) (SlotHeader, error)
- func (d *AggregatorData) SetLastSlot(slot uint64)
- func (d *AggregatorData) SetLastSlotHeaderReleaseTime(t time.Time)
- type SlotHeader
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 ¶
Click to show internal directories.
Click to hide internal directories.