Documentation ¶
Index ¶
- type EthDatabase
- func (db *EthDatabase) BackEnd() *storage.LevelDBBackend
- func (db *EthDatabase) Close()
- func (db *EthDatabase) Delete(key []byte) error
- func (db *EthDatabase) Get(key []byte) ([]byte, error)
- func (db *EthDatabase) Has(key []byte) (bool, error)
- func (db *EthDatabase) NewBatch() ethdb.Batch
- func (db *EthDatabase) Put(key []byte, value []byte) error
- type Trie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthDatabase ¶
type EthDatabase struct {
// contains filtered or unexported fields
}
func NewEthDatabase ¶
func NewEthDatabase(ldb *storage.LevelDBBackend) *EthDatabase
func (*EthDatabase) BackEnd ¶
func (db *EthDatabase) BackEnd() *storage.LevelDBBackend
func (*EthDatabase) Close ¶
func (db *EthDatabase) Close()
func (*EthDatabase) Delete ¶
func (db *EthDatabase) Delete(key []byte) error
func (*EthDatabase) NewBatch ¶
func (db *EthDatabase) NewBatch() ethdb.Batch
Click to show internal directories.
Click to hide internal directories.