Documentation ¶
Index ¶
- Variables
- func ConstructCompositeHistoryKey(ns string, key string, blocknum uint64, trannum uint64) []byte
- func ConstructPartialCompositeHistoryKey(ns string, key string, endkey bool) []byte
- func SplitCompositeHistoryKey(bytesToSplit []byte, separator []byte) ([]byte, []byte)
- type HistoryDB
- type HistoryDBProvider
Constants ¶
This section is empty.
Variables ¶
View Source
var CompositeKeySep = []byte{0x00}
Functions ¶
Types ¶
type HistoryDB ¶
type HistoryDB interface { NewHistoryQueryExecutor(blockStore blkstorage.BlockStore) (ledger.HistoryQueryExecutor, error) Commit(block *common.Block) error GetLastSavepoint() (*version.Height, error) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) CommitLostBlock(blockAndPvtdata *ledger.BlockAndPvtData) error Name() string }
type HistoryDBProvider ¶
Click to show internal directories.
Click to hide internal directories.