package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Packages

Package leveldb implements the key-value database layer based on LevelDB.
Package memorydb implements the key-value database layer based on memory maps.
Package pebble implements the key-value database layer based on pebble.
Package remotedb implements the key-value database layer based on a remote geth node.

# Constants

IdealBatchSize defines the size of the data batches should ideally add in one write.

# Structs

HookedBatch wraps an arbitrary batch where each operation may be hooked into to monitor from black box code.

# Interfaces

AncientReader is the extended ancient reader interface including 'batched' or 'atomic' reading.
AncientReaderOp contains the methods required to read from immutable ancient data.
AncientStater wraps the Stat method of a backing ancient store.
AncientStore contains all the methods required to allow handling different ancient data stores backing immutable data store.
AncientWriteOp is given to the function argument of ModifyAncients.
AncientWriter contains the methods required to write to immutable ancient data.
Batch is a write-only database that commits changes to its host database when Write is called.
Batcher wraps the NewBatch method of a backing data store.
Compacter wraps the Compact method of a backing data store.
Database contains all the methods required by the high level database to not only access the key-value data store but also the ancient chain store.
Iteratee wraps the NewIterator methods of a backing data store.
Iterator iterates over a database's key/value pairs in ascending key order.
KeyValueRangeDeleter wraps the DeleteRange method of a backing data store.
KeyValueReader wraps the Has and Get method of a backing data store.
KeyValueStater wraps the Stat method of a backing data store.
KeyValueStore contains all the methods required to allow handling different key-value data stores backing the high level database.
KeyValueWriter wraps the Put method of a backing data store.
Reader contains the methods required to read data from both key-value as well as immutable ancient data.
ResettableAncientStore extends the AncientStore interface by adding a Reset method.