package
0.0.0-20240810090356-c5cebdb4e16e
Repository: https://github.com/codecodeorg/opgeth.git
Documentation: pkg.go.dev
# Functions
New creates a new state from a given trie.
NewDatabase creates a backing store for state.
NewDatabaseWithConfig creates a backing store for state.
NewDatabaseWithNodeDB creates a state database with an already initialized node database.
NewStateSync creates a new state trie download scheduler.
# Structs
Dump represents the full dump in a collected format, as one large map.
DumpAccount represents an account in the state.
DumpConfig is a set of options to control what portions of the state will be iterated and collected.
StateDB structs within the ethereum protocol are used to store anything within the merkle trie.
# Interfaces
Database wraps access to tries and contract code.
DumpCollector interface which the state trie calls during iteration.
Trie is a Ethereum Merkle Patricia trie.