Versions in this module Expand all Collapse all v1 v1.4.11 Mar 2, 2021 Changes in this version + func IsKVWriteDelete(kvWrite *kvrwset.KVWrite) bool + func IsKVWriteHashDelete(kvWriteHash *kvrwset.KVWriteHash) bool + func NewKVRead(key string, version *version.Height) *kvrwset.KVRead + func NewVersion(protoVersion *kvrwset.Version) *version.Height + type CollHashedRwSet struct + CollectionName string + HashedRwSet *kvrwset.HashedRWSet + PvtRwSetHash []byte + type CollPvtRwSet struct + CollectionName string + KvRwSet *kvrwset.KVRWSet + type Hash []byte + type MerkleTreeLevel uint32 + type NsPvtRwSet struct + CollPvtRwSets []*CollPvtRwSet + NameSpace string + type NsRwSet struct + CollHashedRwSets []*CollHashedRwSet + KvRwSet *kvrwset.KVRWSet + NameSpace string + type RWSetBuilder struct + func NewRWSetBuilder() *RWSetBuilder + func (b *RWSetBuilder) AddToHashedMetadataWriteSet(ns, coll, key string, metadata map[string][]byte) + func (b *RWSetBuilder) AddToHashedReadSet(ns string, coll string, key string, version *version.Height) + func (b *RWSetBuilder) AddToMetadataWriteSet(ns, key string, metadata map[string][]byte) + func (b *RWSetBuilder) AddToPvtAndHashedWriteSet(ns string, coll string, key string, value []byte) + func (b *RWSetBuilder) AddToRangeQuerySet(ns string, rqi *kvrwset.RangeQueryInfo) + func (b *RWSetBuilder) AddToReadSet(ns string, key string, version *version.Height) + func (b *RWSetBuilder) AddToWriteSet(ns string, key string, value []byte) + func (b *RWSetBuilder) GetTxReadWriteSet() *TxRwSet + func (b *RWSetBuilder) GetTxSimulationResults() (*ledger.TxSimulationResults, error) + type RangeQueryResultsHelper struct + func NewRangeQueryResultsHelper(enableHashing bool, maxDegree uint32) (*RangeQueryResultsHelper, error) + func (helper *RangeQueryResultsHelper) AddResult(kvRead *kvrwset.KVRead) error + func (helper *RangeQueryResultsHelper) Done() ([]*kvrwset.KVRead, *kvrwset.QueryReadsMerkleSummary, error) + func (helper *RangeQueryResultsHelper) GetMerkleSummary() *kvrwset.QueryReadsMerkleSummary + type TxPvtRwSet struct + NsPvtRwSet []*NsPvtRwSet + func TxPvtRwSetFromProtoMsg(protoMsg *rwset.TxPvtReadWriteSet) (*TxPvtRwSet, error) + func (txPvtRwSet *TxPvtRwSet) FromProtoBytes(protoBytes []byte) error + func (txPvtRwSet *TxPvtRwSet) ToProtoBytes() ([]byte, error) + type TxRwSet struct + NsRwSets []*NsRwSet + func TxRwSetFromProtoMsg(protoMsg *rwset.TxReadWriteSet) (*TxRwSet, error) + func (txRwSet *TxRwSet) FromProtoBytes(protoBytes []byte) error + func (txRwSet *TxRwSet) GetPvtDataHash(ns, coll string) []byte + func (txRwSet *TxRwSet) NumCollections() int + func (txRwSet *TxRwSet) ToProtoBytes() ([]byte, error)