package
Version:
v0.0.0-...-985d544
Opens a new window with list of versions in this module.
Published: Jan 19, 2022
License: CC0-1.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package db implements functions to create and read Ethereum database dumps.
-
func Dump(dataDir, testnet string, blockHeight uint64, blockHash string, defrost bool) error
-
func Open(dataDir, testnet, cacheDir string, blockHeight uint64, blockHash string, ...) (ethdb.Database, []common.Hash, error)
-
type Block
-
type Reader
-
type Transaction
Dump dumps the Ethereum database for the given testnet stored in dataDir
up to blockHeight with given blockHash into the evm-bully cache directory:
~/.config/evm-bully/tetstnet/dbdump.
Block defines an Ethereum block.
Reader implments a DB dump reader.
NewReader returns a new DB dump reader for the given testnet.
Next returns the next Block for the given reader or nil.
Transaction defines an Ethereum transaction.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.