Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColdImportClientName = "LevelDbColdImport" ColdImportNetworkId float64 = 1 )
Variables ¶
View Source
var ( NoChainDataErr = errors.New("Level DB path does not include chaindata extension.") NoGethRootErr = errors.New("Level DB path does not include root path to geth.") )
Functions ¶
This section is empty.
Types ¶
type ColdImportNodeBuilder ¶
type ColdImportNodeBuilder struct {
// contains filtered or unexported fields
}
func NewColdImportNodeBuilder ¶
func NewColdImportNodeBuilder(reader fs.Reader, parser crypto.PublicKeyParser) ColdImportNodeBuilder
type ColdImporter ¶
type ColdImporter struct {
// contains filtered or unexported fields
}
func NewColdImporter ¶
func NewColdImporter(ethDB ethereum.Database, blockRepository datastore.BlockRepository, receiptRepository datastore.ReceiptRepository, converter common.BlockConverter) *ColdImporter
Click to show internal directories.
Click to hide internal directories.