Versions in this module Expand all Collapse all v1 v1.9.2 Aug 23, 2019 v1.9.0 Jul 31, 2019 Changes in this version + const IdealBatchSize + type AncientReader interface + Ancient func(kind string, number uint64) ([]byte, error) + AncientSize func(kind string) (uint64, error) + Ancients func() (uint64, error) + HasAncient func(kind string, number uint64) (bool, error) + type AncientStore interface + type AncientWriter interface + AppendAncient func(number uint64, hash, header, body, receipt, td []byte) error + Sync func() error + TruncateAncients func(n uint64) error + type Batch interface + Replay func(w KeyValueWriter) error + Reset func() + ValueSize func() int + Write func() error + type Batcher interface + NewBatch func() Batch + type Compacter interface + Compact func(start []byte, limit []byte) error + type Database interface + type Iteratee interface + NewIterator func() Iterator + NewIteratorWithPrefix func(prefix []byte) Iterator + NewIteratorWithStart func(start []byte) Iterator + type Iterator interface + Error func() error + Key func() []byte + Next func() bool + Release func() + Value func() []byte + type KeyValueReader interface + Get func(key []byte) ([]byte, error) + Has func(key []byte) (bool, error) + type KeyValueStore interface + type KeyValueWriter interface + Delete func(key []byte) error + Put func(key []byte, value []byte) error + type Reader interface + type Stater interface + Stat func(property string) (string, error) + type Writer interface