# 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.
No description provided by the author
NewWithSnapshot creates a new state from a given trie with the specified [snap] If [snap] doesn't have the same root as [root], then NewWithSnapshot will return an error.
NormalizeCoinID ORs the 0th bit of the first byte in [coinID], which ensures this bit will be 1 and all other bits are left the same.
NormalizeStateKey ANDs the 0th bit of the first byte in [key], which ensures this bit will be 0 and all other bits are left the same.
# 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.