Documentation
¶
Overview ¶
Package ethdb provides batch extensions
Package ethdb provides wrapper types for go-ethereum's ethdb interfaces ¶
Package ethdb provides wrapper types for go-ethereum's ethdb interfaces ¶
Package ethdb provides extended interfaces for database operations
Index ¶
- Constants
- Variables
- 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
)
Re-export constants
Variables ¶
var ( // ErrInvalidBatch is returned when batch is invalid. ErrInvalidBatch = errors.New("invalid batch") )
Re-export errors
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
Re-export all other ethdb types from go-ethereum
type AncientReaderOp ¶
type AncientReaderOp = ethdb.AncientReaderOp
Re-export all other ethdb types from go-ethereum
type AncientStater ¶
type AncientStater = ethdb.AncientStater
Re-export all other ethdb types from go-ethereum
type AncientStore ¶
type AncientStore = ethdb.AncientStore
Re-export all other ethdb types from go-ethereum
type AncientWriteOp ¶
type AncientWriteOp = ethdb.AncientWriteOp
Re-export all other ethdb types from go-ethereum
type AncientWriter ¶
type AncientWriter = ethdb.AncientWriter
Re-export all other ethdb types from go-ethereum
type BatchWithDeleteRange ¶ added in v0.15.5
BatchWithDeleteRange extends Batch with DeleteRange support
type Database ¶
Database interface that extends ethdb.Database with SyncAncient
func NewDatabase ¶ added in v0.15.5
NewDatabase creates a new Database that wraps an ethdb.Database
type KeyValueReader ¶
type KeyValueReader = ethdb.KeyValueReader
Re-export all other ethdb types from go-ethereum
type KeyValueStater ¶
type KeyValueStater = ethdb.KeyValueStater
Re-export all other ethdb types from go-ethereum
type KeyValueStore ¶
type KeyValueStore = ethdb.KeyValueStore
Re-export all other ethdb types from go-ethereum
type KeyValueWriter ¶
type KeyValueWriter = ethdb.KeyValueWriter
Re-export all other ethdb types from go-ethereum
type ResettableAncientStore ¶
type ResettableAncientStore = ethdb.ResettableAncientStore
Re-export all other ethdb types from go-ethereum
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 |