Versions in this module Expand all Collapse all v1 v1.4.10 Dec 9, 2020 Changes in this version + type LockBasedTxMgr struct + func NewLockBasedTxMgr(ledgerid string, db privacyenabledstate.DB, ...) (*LockBasedTxMgr, error) + func (txmgr *LockBasedTxMgr) Commit() error + func (txmgr *LockBasedTxMgr) CommitLostBlock(blockAndPvtdata *ledger.BlockAndPvtData) error + func (txmgr *LockBasedTxMgr) GetLastSavepoint() (*version.Height, error) + func (txmgr *LockBasedTxMgr) Name() string + func (txmgr *LockBasedTxMgr) NewQueryExecutor(txid string) (ledger.QueryExecutor, error) + func (txmgr *LockBasedTxMgr) NewTxSimulator(txid string) (ledger.TxSimulator, error) + func (txmgr *LockBasedTxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks(blocksPvtData map[uint64][]*ledger.TxPvtData) error + func (txmgr *LockBasedTxMgr) Rollback() + func (txmgr *LockBasedTxMgr) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) + func (txmgr *LockBasedTxMgr) Shutdown() + func (txmgr *LockBasedTxMgr) ValidateAndPrepare(blockAndPvtdata *ledger.BlockAndPvtData, doMVCCValidation bool) ([]*txmgr.TxStatInfo, []byte, error)