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

# Packages

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

# Functions

CachedBatchOption defines a way to set the cache layer for db.
NewBatch returns a batch.
NewCachedBatch returns a new cached batch buffer.
NewKVCache returns a KVCache.
NewKVStoreForTrie creates a new KVStoreForTrie.
NewMemKVStore instantiates an in-memory KV store.
NewOnDiskDB instantiates an on-disk KV store.

# Constants

Delete indicate the type of write operation to be Delete.
Put indicate the type of write operation to be Put.

# Variables

ErrAlreadyDeleted indicates the key has been deleted.
ErrAlreadyExist indicates certain item already exists in Blockchain database.
ErrIO indicates the generic error of DB I/O operation.
ErrNotExist indicates certain item does not exist in Blockchain database.

# Structs

KVStoreForTrie defines a kvstore with fixed bucket and cache layer for trie.

# Interfaces

No description provided by the author
KVStore is the interface of KV store.
No description provided by the author
No description provided by the author

# Type aliases

Option defines an interface to initialize the kv store.