Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIBackend ¶
type APIBackend struct { ConsensusInfoFeed iface.ConsensusInfoFeed ConsensusInfoDB db.ReadOnlyDatabase }
func (*APIBackend) ConsensusInfoByEpochRange ¶
func (backend *APIBackend) ConsensusInfoByEpochRange(fromEpoch uint64) []*types.MinimalEpochConsensusInfo
func (*APIBackend) CurrentEpoch ¶
func (backend *APIBackend) CurrentEpoch() uint64
func (*APIBackend) SubscribeNewEpochEvent ¶
func (backend *APIBackend) SubscribeNewEpochEvent(ch chan<- *types.MinimalEpochConsensusInfo) event.Subscription
Click to show internal directories.
Click to hide internal directories.