package
1.14.2
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Functions

DefaultPatchOption loads patchs.
DefaultTriePatchOption loads patchs.
DisableWorkingSetCacheOption disable workingset cache.
GenerateConfig generates the factory config.
NewFactory creates a new state factory.
NewHistoryStateReader creates new history state reader by given state factory and height.
NewMinter creates a wrapper instance.
NewStateDB creates a new state db.
RegistryOption sets the registry in state db.
RegistryStateDBOption sets the registry in state db.
SkipBlockValidationOption skips block validation on PutBlock.
SkipBlockValidationStateDBOption skips block validation on PutBlock.

# Constants

AccountKVNamespace is the bucket name for account.
ArchiveNamespacePrefix is the prefix of the buckets storing history data.
ArchiveTrieNamespace is the bucket for the latest state view.
ArchiveTrieRootKey indicates the key of accountTrie root hash in underlying DB.
CurrentHeightKey indicates the key of current factory height in underlying DB.

# Variables

DefaultConfig is the default config for state factory.
ErrNoArchiveData is the error that the node have no archive data.
ErrNotSupported is the error that the statedb is not for archive mode.

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Option sets Factory construction parameter.
StateDBOption sets stateDB construction parameter.