metadata

package
v0.73.14 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryDatabase added in v0.73.0

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

func NewInMemoryDatabase added in v0.73.0

func NewInMemoryDatabase() *InMemoryDatabase

func (*InMemoryDatabase) Clear added in v0.73.0

func (d *InMemoryDatabase) Clear() error

func (*InMemoryDatabase) Close added in v0.73.0

func (d *InMemoryDatabase) Close() error

func (*InMemoryDatabase) Delete added in v0.73.0

func (d *InMemoryDatabase) Delete(version int64) error

func (*InMemoryDatabase) DeleteRange added in v0.73.0

func (d *InMemoryDatabase) DeleteRange(fromVersion, toVersion int64) error

func (*InMemoryDatabase) FindVersionByBlockHeight added in v0.73.0

func (d *InMemoryDatabase) FindVersionByBlockHeight(blockHeight uint64) (int64, error)

func (*InMemoryDatabase) IsEmpty added in v0.73.0

func (d *InMemoryDatabase) IsEmpty() bool

func (*InMemoryDatabase) Load added in v0.73.0

func (d *InMemoryDatabase) Load(version int64) (*tmtypes.Snapshot, error)

func (*InMemoryDatabase) Save added in v0.73.0

func (d *InMemoryDatabase) Save(version int64, state *tmtypes.Snapshot) error

type LevelDBDatabase added in v0.73.0

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

func NewLevelDBDatabase added in v0.73.0

func NewLevelDBDatabase(vegaPaths paths.Paths) (*LevelDBDatabase, error)

func (*LevelDBDatabase) Clear added in v0.73.0

func (d *LevelDBDatabase) Clear() error

func (*LevelDBDatabase) Close added in v0.73.0

func (d *LevelDBDatabase) Close() error

func (*LevelDBDatabase) Delete added in v0.73.0

func (d *LevelDBDatabase) Delete(version int64) error

func (*LevelDBDatabase) DeleteRange added in v0.73.0

func (d *LevelDBDatabase) DeleteRange(fromVersion, toVersion int64) error

func (*LevelDBDatabase) FindVersionByBlockHeight added in v0.73.0

func (d *LevelDBDatabase) FindVersionByBlockHeight(blockHeight uint64) (int64, error)

func (*LevelDBDatabase) IsEmpty added in v0.73.0

func (d *LevelDBDatabase) IsEmpty() bool

func (*LevelDBDatabase) Load added in v0.73.0

func (d *LevelDBDatabase) Load(version int64) (*tmtypes.Snapshot, error)

func (*LevelDBDatabase) Save added in v0.73.0

func (d *LevelDBDatabase) Save(version int64, state *tmtypes.Snapshot) error

Jump to

Keyboard shortcuts

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