kv_ledger.go

实现一个支持键值对的 peer 账本结构体。

type kvLedger struct {
    ledgerID               string
    blockStore             *ledgerstorage.Store
    txtmgmt                txmgr.TxMgr
    historyDB              historydb.HistoryDB
    configHistoryRetriever ledger.ConfigHistoryRetriever
    blockAPIsRWLock        *sync.RWMutex
}

Last updated