package
0.0.0-20240617132614-67d941d235d7
Repository: https://github.com/bitonechain/go-bitone.git
Documentation: pkg.go.dev

# Packages

Package snapshot implements a journalled, dynamic state dump.

# Functions

New creates a new state from a given trie.
NewDatabase creates a backing store for state.
NewDatabaseWithCache creates a backing store for state.
NewNodeIterator creates an post-order state node iterator.
NewStateSync create a new state trie download scheduler.

# Structs

Account is the Bitone consensus representation of accounts.
Dump represents the full dump in a collected format, as one large map.
DumpAccount represents an account in the state.
IteratorDump is an implementation for iterating over data.
NodeIterator is an iterator to traverse the entire state trie post-order, including all of the contract code and contract state tries.
StateDB structs within the bitone 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 Bitone Merkle Patricia trie.

# Type aliases

No description provided by the author
No description provided by the author