gethdb

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemDB

func NewMemDB() ethdb.KeyValueStore

Types

type InMemGethDB

type InMemGethDB struct {
	*memorydb.Database
}

func (*InMemGethDB) Get

func (db *InMemGethDB) Get(key []byte) ([]byte, error)

Get retrieves the given key if it's present in the key-value store. this method is adapted to ensure the correct error is always returned

Jump to

Keyboard shortcuts

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