state

package
v0.7.8-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: GPL-3.0, LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package state provides a caching layer atop the Ethereum state trie.

Index

Constants

This section is empty.

Variables

View Source
var New = state.New

Functions

func WithConcurrentWorkers added in v0.7.1

func WithConcurrentWorkers(prefetchers int) state.PrefetcherOption

Types

type Database

type Database = ethstate.Database

func NewDatabase

func NewDatabase(db ethdb.Database) Database

func NewDatabaseWithConfig

func NewDatabaseWithConfig(db ethdb.Database, config *triedb.Config) Database

func NewDatabaseWithNodeDB added in v0.5.3

func NewDatabaseWithNodeDB(db ethdb.Database, triedb *triedb.Database) Database

type Dump

type Dump = ethstate.Dump

type DumpAccount

type DumpAccount = ethstate.DumpAccount

type DumpCollector

type DumpCollector = ethstate.DumpCollector

type DumpConfig

type DumpConfig = ethstate.DumpConfig

type StateDB

type StateDB = state.StateDB

type Trie

type Trie = ethstate.Trie

Directories

Path Synopsis
Package snapshot implements a journalled, dynamic state dump.
Package snapshot implements a journalled, dynamic state dump.

Jump to

Keyboard shortcuts

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