Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbProducer ¶
type DbProducer interface { // Names of existing databases. Names() []string // OpenDb or create db with name. OpenDb(name string) KeyValueStore }
DbProducer represents real db producer.
type FlushableKeyValueStore ¶
type FlushableKeyValueStore interface { KeyValueStore NotFlushedPairs() int NotFlushedSizeEst() int Flush() error DropNotFlushed() }
FlushableKeyValueStore contains all the method for flushable databases, i.e. databases which write changes on disk only on flush.
type KeyValueStore ¶
type KeyValueStore interface { ethdb.KeyValueStore Droper }
KeyValueStore contains all the methods required to allow handling different key-value data stores backing the high level database.
Directories ¶
Path | Synopsis |
---|---|
Package leveldb implements the key-value database layer based on LevelDB.
|
Package leveldb implements the key-value database layer based on LevelDB. |
Package memorydb implements the key-value database layer based on memory maps.
|
Package memorydb implements the key-value database layer based on memory maps. |
Click to show internal directories.
Click to hide internal directories.