# README
Tendermint Common
Meant to house common libs that are used across various repos
# Packages
remotedb is a package for connecting to distributed Tendermint db.DB
instances.
# Functions
No description provided by the author
See DB interface documentation for more information.
IteratePrefix is a convenience function for iterating over a key domain restricted by prefix.
NewDB creates a new database of type backend with the given name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPrefixDB lets you namespace multiple DBs within a single DB.
# Constants
BoltDBBackend represents bolt (uses etcd's fork of bolt - github.com/etcd-io/bbolt) - EXPERIMENTAL - may be faster is some use-cases (random reads - indexer) - use boltdb build tag (go build -tags boltdb).
CLevelDBBackend represents cleveldb (uses levigo wrapper) - fast - requires gcc - use cleveldb build tag (go build -tags cleveldb).
FSDBBackend represents filesystem database - EXPERIMENTAL - slow.
GoLevelDBBackend represents goleveldb (github.com/syndtr/goleveldb - most popular implementation) - pure go - stable.
MemDBBackend represents in-memoty key value store, which is mostly used for testing.
# Interfaces
Batch Close must be called when the program no longer needs the object.
DBs are goroutine safe.
Usage:
var itr Iterator = ..
No description provided by the author
# Type aliases
No description provided by the author