Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + type Initializer struct + BookkeepingProvider *bookkeeping.Provider + BtlPolicy pvtdatapolicy.BTLPolicy + CCInfoProvider ledger.DeployedChaincodeInfoProvider + CustomTxProcessors map[common.HeaderType]ledger.CustomTxProcessor + DB *privacyenabledstate.DB + HashFunc rwsetutil.HashFunc + LedgerID string + StateListeners []ledger.StateListener + type KVWrite struct + Collection string + IsDelete bool + Key []byte + Namespace string + Value []byte + VersionBytes []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*KVWrite) Descriptor() ([]byte, []int) + func (*KVWrite) ProtoMessage() + func (m *KVWrite) GetCollection() string + func (m *KVWrite) GetIsDelete() bool + func (m *KVWrite) GetKey() []byte + func (m *KVWrite) GetNamespace() string + func (m *KVWrite) GetValue() []byte + func (m *KVWrite) GetVersionBytes() []byte + func (m *KVWrite) Reset() + func (m *KVWrite) String() string + func (m *KVWrite) XXX_DiscardUnknown() + func (m *KVWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *KVWrite) XXX_Merge(src proto.Message) + func (m *KVWrite) XXX_Size() int + func (m *KVWrite) XXX_Unmarshal(b []byte) error + type LockBasedTxMgr struct + func NewLockBasedTxMgr(initializer *Initializer) (*LockBasedTxMgr, error) + func (txmgr *LockBasedTxMgr) Commit() error + func (txmgr *LockBasedTxMgr) CommitLostBlock(blockAndPvtdata *ledger.BlockAndPvtData) error + func (txmgr *LockBasedTxMgr) ExportPubStateAndPvtStateHashes(dir string, newHashFunc snapshot.NewHashFunc) (map[string][]byte, 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) NewQueryExecutorNoCollChecks() (ledger.QueryExecutor, error) + func (txmgr *LockBasedTxMgr) NewTxSimulator(txid string) (ledger.TxSimulator, error) + func (txmgr *LockBasedTxMgr) RemoveStaleAndCommitPvtDataOfOldBlocks(reconciledPvtdata 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) ([]*validation.TxStatInfo, []byte, error) + type Updates struct + Kvwrites []*KVWrite + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Updates) Descriptor() ([]byte, []int) + func (*Updates) ProtoMessage() + func (m *Updates) GetKvwrites() []*KVWrite + func (m *Updates) Reset() + func (m *Updates) String() string + func (m *Updates) XXX_DiscardUnknown() + func (m *Updates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Updates) XXX_Merge(src proto.Message) + func (m *Updates) XXX_Size() int + func (m *Updates) XXX_Unmarshal(b []byte) error Other modules containing this package github.com/waszqt/fabric