Documentation ¶
Index ¶
- type Backend
- func (backend *Backend) ConsensusInfoByEpochRange(fromEpoch uint64) []*types.MinimalEpochConsensusInfo
- func (backend *Backend) CurrentEpoch() uint64
- func (backend *Backend) FetchPanBlockStatus(slot uint64, hash common.Hash) (status events.Status, err error)
- func (backend *Backend) FetchVanBlockStatus(slot uint64, hash common.Hash) (status events.Status, err error)
- func (backend *Backend) InvalidatePendingQueue() (vanguardErr error, pandoraErr error, realmErr error)
- 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 { ConsensusInfoFeed iface.ConsensusInfoFeed ConsensusInfoDB db.ROnlyConsensusInfoDB VanguardHeaderHashDB db.VanguardHeaderHashDB PandoraHeaderHashDB db.PandoraHeaderHashDB RealmDB db.RealmDB sync.Mutex // contains filtered or unexported fields }
func (*Backend) ConsensusInfoByEpochRange ¶ added in v0.7.0
func (backend *Backend) ConsensusInfoByEpochRange(fromEpoch uint64) []*types.MinimalEpochConsensusInfo
func (*Backend) CurrentEpoch ¶
func (*Backend) FetchPanBlockStatus ¶
func (*Backend) FetchVanBlockStatus ¶
func (*Backend) InvalidatePendingQueue ¶
func (backend *Backend) InvalidatePendingQueue() ( vanguardErr error, pandoraErr error, realmErr error, )
Idea is that it should be very little resource intensive as possible, because it could be triggered a lot Short circuits will prevent looping when logic says to not do so
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.