package
0.0.0-20230816035547-f94ef0f6cb83
Repository: https://github.com/digitallabs-web3/neo-go-evm.git
Documentation: pkg.go.dev

# Functions

BatchToOperations converts a batch of changes into array of Operations.
NewBoltDBStore returns a new ready to use BoltDB storage with created bucket.
NewLevelDBStore returns a new LevelDBStore object that will initialize the database found at the given path.
NewMemCachedStore creates a new MemCachedStore object.
NewMemoryStore creates a new MemoryStore object.
NewPrivateMemCachedStore creates a new private (unlocked) MemCachedStore object.
NewStore creates storage with preselected in configuration database type.

# Constants

KeyPrefix constants.
DataMPT is used for MPT node entries identified by Uint256.
DataMPTAux is used to store additional MPT data like height-root mappings and local/validated heights.
KeyPrefix constants.
KeyPrefix constants.
MaxStorageKeyLen is the maximum length of a key for storage items.
MaxStorageValueLen is the maximum length of a value for storage items.
KeyPrefix constants.
KeyPrefix constants.
STTempStorage is used to store contract storage items during state sync process in order not to mess up the previous state which has its own items stored by STStorage prefix.
KeyPrefix constants.
KeyPrefix constants.
KeyPrefix constants.
KeyPrefix constants.
KeyPrefix constants.
KeyPrefix constants.

# Variables

Bucket represents bucket used in boltdb to store all the data.
ErrKeyNotFound is an error returned by Store implementations when a certain key is not found.

# Structs

BoltDBOptions configuration for boltdb.
BoltDBStore it is the storage implementation for storing and retrieving blockchain data.
No description provided by the author
No description provided by the author
No description provided by the author
LevelDBOptions configuration for LevelDB.
LevelDBStore is the official storage implementation for storing and retrieving blockchain data.
No description provided by the author
MemCachedStore is a wrapper around persistent store that caches all changes being made for them to be later flushed in one batch.
MemoryStore is an in-memory implementation of a Store, mainly used for testing.
Operation represents a single KV operation (add/del/change) performed in the DB.
SeekRange represents options for Store.Seek operation.

# Interfaces

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

# Type aliases

No description provided by the author