Documentation ¶
Overview ¶
picked code from hyperledger/fabric
Part of the code is picked from hyperledger/fabric
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkFileInfo ¶
type ChunkFileInfo struct {
// contains filtered or unexported fields
}
type HLFLedgerHandler ¶
type HLFLedgerHandler struct {
// contains filtered or unexported fields
}
HLFLedgerHandler implements LedgerHandler to support hyperledger fabric
func (*HLFLedgerHandler) ProcessLedger ¶
func (handler *HLFLedgerHandler) ProcessLedger(ledgerPath string, blockThreshold uint64, verify bool, numThread int, blockPath string) error
ProcessLedger will read the block structures from local ledger path
type LedgerHandler ¶
type LedgerHandler interface {
ProcessLedger(fileName string, numBlock uint64, verify bool, numThread int, blockPath string) error
}
LedgerHandler will process ledger file
func NewOperator ¶
func NewOperator() LedgerHandler
External pkg can call this method to get a LedgerHandler instance
Click to show internal directories.
Click to hide internal directories.