Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockGasLimitProvider ¶ added in v1.10.0
type BlockGasLimitProvider interface {
// BlockGasLimit provides the block gas limit for the given height, and if it exists.
BlockGasLimit(ctx context.Context, height uint64) (uint64, bool)
}
BlockGasLimitProvider provides the block gas limit for execution blocks.
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.