Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxMgr ¶
type TxMgr interface { NewQueryExecutor() (ledger.QueryExecutor, error) NewTxSimulator() (ledger.TxSimulator, error) ValidateAndPrepare(block *common.Block, doMVCCValidation bool) error GetLastSavepoint() (*version.Height, error) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) CommitLostBlock(block *common.Block) error Commit() error Rollback() Shutdown() }
TxMgr - an interface that a transaction manager should implement
Click to show internal directories.
Click to hide internal directories.