blockExtractor

package
v0.0.0-...-303b437 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 9 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileNotExists

func FileNotExists(name string) bool

Types

type BlockExtractor

type BlockExtractor struct {
	DataStorePath string
}

func (*BlockExtractor) ExportAChain

func (be *BlockExtractor) ExportAChain(db interfaces.DBOverlay) error

func (*BlockExtractor) ExportBlock

func (be *BlockExtractor) ExportBlock(block interfaces.DatabaseBatchable) error

func (*BlockExtractor) ExportDChain

func (be *BlockExtractor) ExportDChain(db interfaces.DBOverlay) error

func (*BlockExtractor) ExportDirBlockInfo

func (be *BlockExtractor) ExportDirBlockInfo(db interfaces.DBOverlay) error

func (*BlockExtractor) ExportECChain

func (be *BlockExtractor) ExportECChain(db interfaces.DBOverlay) error

func (*BlockExtractor) ExportEChain

func (be *BlockExtractor) ExportEChain(chainID string, db interfaces.DBOverlay) error

func (*BlockExtractor) ExportEntry

func (be *BlockExtractor) ExportEntry(entry interfaces.DatabaseBatchable, height uint32) error

func (*BlockExtractor) ExportFctChain

func (be *BlockExtractor) ExportFctChain(db interfaces.DBOverlay) error

func (*BlockExtractor) SaveBinary

func (be *BlockExtractor) SaveBinary(block interfaces.DatabaseBatchable) error

func (*BlockExtractor) SaveEntryBinary

func (be *BlockExtractor) SaveEntryBinary(entry interfaces.DatabaseBatchable, blockHeight uint32) error

func (*BlockExtractor) SaveEntryJSON

func (be *BlockExtractor) SaveEntryJSON(entry interfaces.DatabaseBatchable, blockHeight uint32) error

func (*BlockExtractor) SaveJSON

func (be *BlockExtractor) SaveJSON(block interfaces.DatabaseBatchable) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL