Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockStore ¶
type BlockStore struct {
// contains filtered or unexported fields
}
func NewBlockStore ¶
func NewBlockStore(db store.KeyValueReaderWriter) *BlockStore
func (*BlockStore) LatestBlock ¶
func (ns *BlockStore) LatestBlock(sourceDomainID uint8, destinationDomainID uint8) (*big.Int, error)
LatestBlock returns the latest block indexer per router
func (*BlockStore) StoreBlock ¶
func (ns *BlockStore) StoreBlock(sourceDomainID uint8, destinationDomainID uint8, blockNumber *big.Int) error
StoreBlock stores latest block number per route
Click to show internal directories.
Click to hide internal directories.