Documentation ¶
Index ¶
- type Backend
- func (backend *Backend) ConsensusInfoByEpochRange(fromEpoch uint64) []*types.MinimalEpochConsensusInfo
- func (b *Backend) GetSlotStatus(ctx context.Context, slot uint64, requestType bool) events.Status
- func (backend *Backend) SubscribeNewEpochEvent(ch chan<- *types.MinimalEpochConsensusInfo) event.Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.7.0
type Backend struct { // feed ConsensusInfoFeed iface.ConsensusInfoFeed // db reference ConsensusInfoDB db.ROnlyConsensusInfoDB VerifiedSlotInfoDB db.ROnlyVerifiedSlotInfoDB InvalidSlotInfoDB db.ROnlyInvalidSlotInfoDB // cache reference VanguardPendingShardingCache cache.VanguardShardCache PandoraPendingHeaderCache cache.PandoraHeaderCache }
func (*Backend) ConsensusInfoByEpochRange ¶ added in v0.7.0
func (backend *Backend) ConsensusInfoByEpochRange(fromEpoch uint64) []*types.MinimalEpochConsensusInfo
func (*Backend) GetSlotStatus ¶ added in v0.7.0
GetSlotStatus
func (*Backend) SubscribeNewEpochEvent ¶ added in v0.7.0
func (backend *Backend) SubscribeNewEpochEvent(ch chan<- *types.MinimalEpochConsensusInfo) event.Subscription
Click to show internal directories.
Click to hide internal directories.