Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrPvtdataNotAvailable ¶
type ErrPvtdataNotAvailable struct {
Msg string
}
func (*ErrPvtdataNotAvailable) Error ¶
func (e *ErrPvtdataNotAvailable) Error() string
type ErrUnsupportedTransaction ¶
type ErrUnsupportedTransaction struct {
Msg string
}
func (*ErrUnsupportedTransaction) Error ¶
func (e *ErrUnsupportedTransaction) Error() string
type TxMgr ¶
type TxMgr interface { NewQueryExecutor(txid string) (ledger.QueryExecutor, error) NewTxSimulator(txid string) (ledger.TxSimulator, error) ValidateAndPrepare(blockAndPvtdata *ledger.BlockAndPvtData, doMVCCValidation bool) ([]*TxStatInfo, []byte, error) RemoveStaleAndCommitPvtDataOfOldBlocks(blocksPvtData map[uint64][]*ledger.TxPvtData) error GetLastSavepoint() (*version.Height, error) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) CommitLostBlock(blockAndPvtdata *ledger.BlockAndPvtData) error Commit() error Rollback() Shutdown() Name() string }
type TxStatInfo ¶
type TxStatInfo struct { ValidationCode peer.TxValidationCode TxType common.HeaderType ChaincodeID *peer.ChaincodeID NumCollections int }
Click to show internal directories.
Click to hide internal directories.