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) GetPendingHashes() (response *events.PendingHashesResponse, err 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) GetPendingHashes ¶
func (backend *Backend) GetPendingHashes() (response *events.PendingHashesResponse, err error)
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.