storage

package
v0.0.0-...-edcad5e Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainData

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

type Storage

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

func NewStorage

func NewStorage() *Storage

func (*Storage) GetLastStoredBlock

func (s *Storage) GetLastStoredBlock(chain common.Chain) int64

func (*Storage) GetLatestBlock

func (s *Storage) GetLatestBlock(chain common.Chain) int64

func (*Storage) SetLastStoredBlock

func (s *Storage) SetLastStoredBlock(chain common.Chain, lastStoredBlock int64)

func (*Storage) SetLatestBlock

func (s *Storage) SetLatestBlock(chain common.Chain, latestBlock int64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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