# 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.
# 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.