blockExtractor

package
v6.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 9 Imported by: 0

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