package
1.12.3-warp-verify6
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package databasemock is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
AtomicClearPrefix deletes from [deleterDB] all keys in [readerDB] that have the given [prefix].
Remove all key-value pairs from [db].
Removes all keys with the given [prefix] from [db].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithDefault returns the value at [key] in [db].

# Constants

No description provided by the author
bytes.
No description provided by the author
No description provided by the author
If, when a batch is reset, the cap(batch)/len(batch) > MaxExcessCapacityFactor, the underlying array's capacity will be reduced by a factor of capacityReductionFactor.
bytes.

# Variables

common errors.
common errors.

# Structs

No description provided by the author
No description provided by the author
IteratorError does nothing and returns the provided error.

# Interfaces

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 to allow handling different key-value data stores backing the database.
Iteratee wraps the NewIterator methods of a backing data store.
Iterator iterates over a database's key/value pairs.
KeyValueDeleter wraps the Delete method of a backing data store.
KeyValueReader wraps the Has and Get method of a backing data store.
KeyValueReaderWriter allows read/write access to a backing data store.
KeyValueReaderWriterDeleter allows read/write/delete access to a backing data store.
KeyValueWriter wraps the Put method of a backing data store.
KeyValueWriterDeleter allows write/delete access to a backing data store.