Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockRootToSlotProvider ¶
type BlockRootToSlotProvider interface { // BlockRootToSlot provides the slot for a given block root. BlockRootToSlot(ctx context.Context, root phase0.Root) (phase0.Slot, error) }
BlockRootToSlotProvider provides a mapping from block root to slot.
type BlockRootToSlotSetter ¶ added in v1.7.0
type BlockRootToSlotSetter interface { // SetBlockRootToSlot sets the block root to slot mapping. SetBlockRootToSlot(root phase0.Root, slot phase0.Slot) }
BlockRootToSlotSetter sets a known block root to its slot.
Click to show internal directories.
Click to hide internal directories.