memdb

package
v1.13.6-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

Database is an in-memory implementation of database.HeightIndex

func (*Database) Close

func (db *Database) Close() error

func (*Database) Get

func (db *Database) Get(height uint64) ([]byte, error)

func (*Database) Has

func (db *Database) Has(height uint64) (bool, error)

func (*Database) Put

func (db *Database) Put(height uint64, data []byte) error

Jump to

Keyboard shortcuts

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