triedb

package
v0.15.21 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(disk db.KeyValueStore, config *Config) (database.TrieDB, error)

Types

type Config

type Config struct {
	PathConfig *pathdb.Config
	HashConfig *hashdb.Config
	RawConfig  *rawdb.Config
}

type EmptyNodeDatabase

type EmptyNodeDatabase struct{}

func NewEmptyNodeDatabase

func NewEmptyNodeDatabase() *EmptyNodeDatabase

func (EmptyNodeDatabase) NodeReader

type EmptyNodeReader

type EmptyNodeReader struct{}

func (EmptyNodeReader) Node

func (EmptyNodeReader) Node(
	owner *felt.Address,
	path *trieutils.Path,
	hash *felt.Hash,
	isLeaf bool,
) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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