# Functions
GetEpochHeight gets the start height of an epoch.
GetEpochNumber gets epoch number.
# Variables
ErrAlreadyExist indicates certain item already exists in Blockchain database.
ErrNotExist indicates certain item does not exist in Blockchain database.
ErrUnimplemented indicates a method is not implemented yet.
# Structs
Genesis defines the genesis configurations that should be recorded by the corresponding protocol before indexing the first block.
Genesis defines the genesis configurations that should be recorded by the corresponding protocol before indexing the first block.
Registry is the hub of all protocols deployed on the chain.
# Interfaces
BlockHandler ishte interface of handling block.
Protocol defines the protocol interfaces for block indexer.