blockchainstate

package
v0.179.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockChainState

type BlockChainState struct {
	// contains filtered or unexported fields
}

func NewBlockChainState

func NewBlockChainState() *BlockChainState

func (*BlockChainState) GetEstimatedLatestBlockNumber

func (s *BlockChainState) GetEstimatedLatestBlockNumber(ctx context.Context, chainID uint64) (uint64, error)

func (*BlockChainState) SetLastBlockNumber

func (s *BlockChainState) SetLastBlockNumber(chainID uint64, blockNumber uint64)

type LatestBlockData

type LatestBlockData struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL