Documentation ¶
Index ¶
- type APIBackend
- func (backend *APIBackend) ConsensusInfoByEpochRange(fromEpoch, toEpoch eth2Types.Epoch) map[eth2Types.Epoch]*types.MinimalEpochConsensusInfo
- func (backend *APIBackend) CurrentEpoch() eth2Types.Epoch
- func (backend *APIBackend) SubscribeNewEpochEvent(ch chan<- *types.MinimalEpochConsensusInfo) event.Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIBackend ¶
type APIBackend struct {
EpochExtractor epochextractor.EpochExtractor
}
func (*APIBackend) ConsensusInfoByEpochRange ¶
func (backend *APIBackend) ConsensusInfoByEpochRange( fromEpoch, toEpoch eth2Types.Epoch, ) map[eth2Types.Epoch]*types.MinimalEpochConsensusInfo
func (*APIBackend) CurrentEpoch ¶
func (backend *APIBackend) CurrentEpoch() eth2Types.Epoch
func (*APIBackend) SubscribeNewEpochEvent ¶
func (backend *APIBackend) SubscribeNewEpochEvent(ch chan<- *types.MinimalEpochConsensusInfo) event.Subscription
Click to show internal directories.
Click to hide internal directories.