Documentation ¶
Index ¶
- func FileNotExists(name string) bool
- type BlockExtractor
- func (be *BlockExtractor) ExportAChain(db interfaces.DBOverlay) error
- func (be *BlockExtractor) ExportBlock(block interfaces.DatabaseBatchable) error
- func (be *BlockExtractor) ExportDChain(db interfaces.DBOverlay) error
- func (be *BlockExtractor) ExportDirBlockInfo(db interfaces.DBOverlay) error
- func (be *BlockExtractor) ExportECChain(db interfaces.DBOverlay) error
- func (be *BlockExtractor) ExportEChain(chainID string, db interfaces.DBOverlay) error
- func (be *BlockExtractor) ExportEntry(entry interfaces.DatabaseBatchable, height uint32) error
- func (be *BlockExtractor) ExportFctChain(db interfaces.DBOverlay) error
- func (be *BlockExtractor) SaveBinary(block interfaces.DatabaseBatchable) error
- func (be *BlockExtractor) SaveEntryBinary(entry interfaces.DatabaseBatchable, blockHeight uint32) error
- func (be *BlockExtractor) SaveEntryJSON(entry interfaces.DatabaseBatchable, blockHeight uint32) error
- func (be *BlockExtractor) SaveJSON(block interfaces.DatabaseBatchable) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileNotExists ¶
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
Click to show internal directories.
Click to hide internal directories.