Documentation
¶
Overview ¶
Package ethdb provides batch extensions
Package ethdb provides wrapper types for go-ethereum's ethdb interfaces
Index ¶
- Constants
- func DeleteRange(b Batch, start, end []byte) error
- type AncientReader
- type AncientReaderOp
- type AncientStater
- type AncientStore
- type AncientWriteOp
- type AncientWriter
- type Batch
- type BatchWithDeleteRange
- type Batcher
- type Compacter
- type Database
- type Iteratee
- type Iterator
- type KeyValueReader
- type KeyValueStater
- type KeyValueStore
- type KeyValueWriter
- type Reader
- type ResettableAncientStore
Constants ¶
const (
IdealBatchSize = ethdb.IdealBatchSize
)
Constants
Variables ¶
This section is empty.
Functions ¶
func DeleteRange ¶ added in v0.15.5
DeleteRange attempts to delete a range if the batch supports it
Types ¶
type AncientReader ¶
type AncientReader = ethdb.AncientReader
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type AncientReaderOp ¶
type AncientReaderOp = ethdb.AncientReaderOp
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type AncientStater ¶
type AncientStater = ethdb.AncientStater
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type AncientStore ¶
type AncientStore = ethdb.AncientStore
Closer = ethdb.Closer Snapshotter = ethdb.Snapshotter
type AncientWriteOp ¶
type AncientWriteOp = ethdb.AncientWriteOp
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type AncientWriter ¶
type AncientWriter = ethdb.AncientWriter
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type BatchWithDeleteRange ¶ added in v0.15.5
BatchWithDeleteRange extends Batch with DeleteRange support
type Compacter ¶
These interfaces might be embedded in Database, not separate Writer = ethdb.Writer Stater = ethdb.Stater
type Database ¶
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type Iteratee ¶
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type Iterator ¶
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type KeyValueReader ¶
type KeyValueReader = ethdb.KeyValueReader
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type KeyValueStater ¶
type KeyValueStater = ethdb.KeyValueStater
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type KeyValueStore ¶
type KeyValueStore = ethdb.KeyValueStore
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type KeyValueWriter ¶
type KeyValueWriter = ethdb.KeyValueWriter
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type Reader ¶
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
type ResettableAncientStore ¶
type ResettableAncientStore = ethdb.ResettableAncientStore
Type aliases for go-ethereum database interfaces These aliases allow us to use ethereum types transparently while maintaining our own package structure
Directories
¶
| Path | Synopsis |
|---|---|
|
Package leveldb provides a wrapper for go-ethereum's leveldb implementation
|
Package leveldb provides a wrapper for go-ethereum's leveldb implementation |
|
Package memorydb provides a wrapper for go-ethereum's memorydb implementation
|
Package memorydb provides a wrapper for go-ethereum's memorydb implementation |
|
Package pebble provides a wrapper for go-ethereum's pebble implementation
|
Package pebble provides a wrapper for go-ethereum's pebble implementation |