Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + type ErrPvtdataNotAvailable struct + Msg string + func (e *ErrPvtdataNotAvailable) Error() string + type ErrUnsupportedTransaction struct + Msg string + func (e *ErrUnsupportedTransaction) Error() string + type TxMgr interface + Commit func() error + CommitLostBlock func(blockAndPvtdata *ledger.BlockAndPvtData) error + GetLastSavepoint func() (*version.Height, error) + Name func() string + NewQueryExecutor func(txid string) (ledger.QueryExecutor, error) + NewTxSimulator func(txid string) (ledger.TxSimulator, error) + RemoveStaleAndCommitPvtDataOfOldBlocks func(blocksPvtData map[uint64][]*ledger.TxPvtData) error + Rollback func() + ShouldRecover func(lastAvailableBlock uint64) (bool, uint64, error) + Shutdown func() + ValidateAndPrepare func(blockAndPvtdata *ledger.BlockAndPvtData, doMVCCValidation bool) ([]*TxStatInfo, []byte, error) + type TxStatInfo struct + ChaincodeID *peer.ChaincodeID + NumCollections int + TxType common.HeaderType + ValidationCode peer.TxValidationCode