Documentation ¶
Index ¶
- Variables
- type CollectionHashedReadWriteSet
- func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionHashedReadWriteSet) GetCollectionName() string
- func (x *CollectionHashedReadWriteSet) GetHashedRwset() []byte
- func (x *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte
- func (*CollectionHashedReadWriteSet) ProtoMessage()
- func (x *CollectionHashedReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *CollectionHashedReadWriteSet) Reset()
- func (x *CollectionHashedReadWriteSet) String() string
- type CollectionPvtReadWriteSet
- func (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionPvtReadWriteSet) GetCollectionName() string
- func (x *CollectionPvtReadWriteSet) GetRwset() []byte
- func (*CollectionPvtReadWriteSet) ProtoMessage()
- func (x *CollectionPvtReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *CollectionPvtReadWriteSet) Reset()
- func (x *CollectionPvtReadWriteSet) String() string
- type NsPvtReadWriteSet
- func (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet
- func (x *NsPvtReadWriteSet) GetNamespace() string
- func (*NsPvtReadWriteSet) ProtoMessage()
- func (x *NsPvtReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *NsPvtReadWriteSet) Reset()
- func (x *NsPvtReadWriteSet) String() string
- type NsReadWriteSet
- func (*NsReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet
- func (x *NsReadWriteSet) GetNamespace() string
- func (x *NsReadWriteSet) GetRwset() []byte
- func (*NsReadWriteSet) ProtoMessage()
- func (x *NsReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *NsReadWriteSet) Reset()
- func (x *NsReadWriteSet) String() string
- type TxPvtReadWriteSet
- func (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
- func (x *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet
- func (*TxPvtReadWriteSet) ProtoMessage()
- func (x *TxPvtReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *TxPvtReadWriteSet) Reset()
- func (x *TxPvtReadWriteSet) String() string
- type TxReadWriteSet
- func (*TxReadWriteSet) Descriptor() ([]byte, []int)deprecated
- func (x *TxReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
- func (x *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet
- func (*TxReadWriteSet) ProtoMessage()
- func (x *TxReadWriteSet) ProtoReflect() protoreflect.Message
- func (x *TxReadWriteSet) Reset()
- func (x *TxReadWriteSet) String() string
- type TxReadWriteSet_DataModel
- func (TxReadWriteSet_DataModel) Descriptor() protoreflect.EnumDescriptor
- func (x TxReadWriteSet_DataModel) Enum() *TxReadWriteSet_DataModel
- func (TxReadWriteSet_DataModel) EnumDescriptor() ([]byte, []int)deprecated
- func (x TxReadWriteSet_DataModel) Number() protoreflect.EnumNumber
- func (x TxReadWriteSet_DataModel) String() string
- func (TxReadWriteSet_DataModel) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( TxReadWriteSet_DataModel_name = map[int32]string{ 0: "KV", } TxReadWriteSet_DataModel_value = map[string]int32{ "KV": 0, } )
Enum value maps for TxReadWriteSet_DataModel.
var File_ledger_rwset_rwset_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CollectionHashedReadWriteSet ¶
type CollectionHashedReadWriteSet struct { CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` HashedRwset []byte `protobuf:"bytes,2,opt,name=hashed_rwset,json=hashedRwset,proto3" json:"hashed_rwset,omitempty"` // Data model specific serialized proto message (e.g., kvrwset.HashedRWSet for KV and Document data models) PvtRwsetHash []byte `protobuf:"bytes,3,opt,name=pvt_rwset_hash,json=pvtRwsetHash,proto3" json:"pvt_rwset_hash,omitempty"` // Hash of entire private read-write set for a specific collection. This helps in authenticating the private read-write set efficiently // contains filtered or unexported fields }
CollectionHashedReadWriteSet encapsulate the hashed representation for the private read-write set for a collection
func (*CollectionHashedReadWriteSet) Descriptor
deprecated
func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use CollectionHashedReadWriteSet.ProtoReflect.Descriptor instead.
func (*CollectionHashedReadWriteSet) GetCollectionName ¶
func (x *CollectionHashedReadWriteSet) GetCollectionName() string
func (*CollectionHashedReadWriteSet) GetHashedRwset ¶
func (x *CollectionHashedReadWriteSet) GetHashedRwset() []byte
func (*CollectionHashedReadWriteSet) GetPvtRwsetHash ¶
func (x *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte
func (*CollectionHashedReadWriteSet) ProtoMessage ¶
func (*CollectionHashedReadWriteSet) ProtoMessage()
func (*CollectionHashedReadWriteSet) ProtoReflect ¶
func (x *CollectionHashedReadWriteSet) ProtoReflect() protoreflect.Message
func (*CollectionHashedReadWriteSet) Reset ¶
func (x *CollectionHashedReadWriteSet) Reset()
func (*CollectionHashedReadWriteSet) String ¶
func (x *CollectionHashedReadWriteSet) String() string
type CollectionPvtReadWriteSet ¶
type CollectionPvtReadWriteSet struct { CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` Rwset []byte `protobuf:"bytes,2,opt,name=rwset,proto3" json:"rwset,omitempty"` // Data model specific serialized proto message (e.g., kvrwset.KVRWSet for KV and Document data models) // contains filtered or unexported fields }
CollectionPvtReadWriteSet encapsulates the private read-write set for a collection
func (*CollectionPvtReadWriteSet) Descriptor
deprecated
func (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use CollectionPvtReadWriteSet.ProtoReflect.Descriptor instead.
func (*CollectionPvtReadWriteSet) GetCollectionName ¶
func (x *CollectionPvtReadWriteSet) GetCollectionName() string
func (*CollectionPvtReadWriteSet) GetRwset ¶
func (x *CollectionPvtReadWriteSet) GetRwset() []byte
func (*CollectionPvtReadWriteSet) ProtoMessage ¶
func (*CollectionPvtReadWriteSet) ProtoMessage()
func (*CollectionPvtReadWriteSet) ProtoReflect ¶
func (x *CollectionPvtReadWriteSet) ProtoReflect() protoreflect.Message
func (*CollectionPvtReadWriteSet) Reset ¶
func (x *CollectionPvtReadWriteSet) Reset()
func (*CollectionPvtReadWriteSet) String ¶
func (x *CollectionPvtReadWriteSet) String() string
type NsPvtReadWriteSet ¶
type NsPvtReadWriteSet struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` CollectionPvtRwset []*CollectionPvtReadWriteSet `protobuf:"bytes,2,rep,name=collection_pvt_rwset,json=collectionPvtRwset,proto3" json:"collection_pvt_rwset,omitempty"` // contains filtered or unexported fields }
NsPvtReadWriteSet encapsulates the private read-write set for a chaincode
func (*NsPvtReadWriteSet) Descriptor
deprecated
func (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use NsPvtReadWriteSet.ProtoReflect.Descriptor instead.
func (*NsPvtReadWriteSet) GetCollectionPvtRwset ¶
func (x *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet
func (*NsPvtReadWriteSet) GetNamespace ¶
func (x *NsPvtReadWriteSet) GetNamespace() string
func (*NsPvtReadWriteSet) ProtoMessage ¶
func (*NsPvtReadWriteSet) ProtoMessage()
func (*NsPvtReadWriteSet) ProtoReflect ¶
func (x *NsPvtReadWriteSet) ProtoReflect() protoreflect.Message
func (*NsPvtReadWriteSet) Reset ¶
func (x *NsPvtReadWriteSet) Reset()
func (*NsPvtReadWriteSet) String ¶
func (x *NsPvtReadWriteSet) String() string
type NsReadWriteSet ¶
type NsReadWriteSet struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Rwset []byte `protobuf:"bytes,2,opt,name=rwset,proto3" json:"rwset,omitempty"` // Data model specific serialized proto message (e.g., kvrwset.KVRWSet for KV and Document data models) CollectionHashedRwset []*CollectionHashedReadWriteSet `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
NsReadWriteSet encapsulates the read-write set for a chaincode
func (*NsReadWriteSet) Descriptor
deprecated
func (*NsReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use NsReadWriteSet.ProtoReflect.Descriptor instead.
func (*NsReadWriteSet) GetCollectionHashedRwset ¶
func (x *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet
func (*NsReadWriteSet) GetNamespace ¶
func (x *NsReadWriteSet) GetNamespace() string
func (*NsReadWriteSet) GetRwset ¶
func (x *NsReadWriteSet) GetRwset() []byte
func (*NsReadWriteSet) ProtoMessage ¶
func (*NsReadWriteSet) ProtoMessage()
func (*NsReadWriteSet) ProtoReflect ¶
func (x *NsReadWriteSet) ProtoReflect() protoreflect.Message
func (*NsReadWriteSet) Reset ¶
func (x *NsReadWriteSet) Reset()
func (*NsReadWriteSet) String ¶
func (x *NsReadWriteSet) String() string
type TxPvtReadWriteSet ¶
type TxPvtReadWriteSet struct { DataModel TxReadWriteSet_DataModel `protobuf:"varint,1,opt,name=data_model,json=dataModel,proto3,enum=rwset.TxReadWriteSet_DataModel" json:"data_model,omitempty"` NsPvtRwset []*NsPvtReadWriteSet `protobuf:"bytes,2,rep,name=ns_pvt_rwset,json=nsPvtRwset,proto3" json:"ns_pvt_rwset,omitempty"` // contains filtered or unexported fields }
TxPvtReadWriteSet encapsulate the private read-write set for a transaction
func (*TxPvtReadWriteSet) Descriptor
deprecated
func (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use TxPvtReadWriteSet.ProtoReflect.Descriptor instead.
func (*TxPvtReadWriteSet) GetDataModel ¶
func (x *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
func (*TxPvtReadWriteSet) GetNsPvtRwset ¶
func (x *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet
func (*TxPvtReadWriteSet) ProtoMessage ¶
func (*TxPvtReadWriteSet) ProtoMessage()
func (*TxPvtReadWriteSet) ProtoReflect ¶
func (x *TxPvtReadWriteSet) ProtoReflect() protoreflect.Message
func (*TxPvtReadWriteSet) Reset ¶
func (x *TxPvtReadWriteSet) Reset()
func (*TxPvtReadWriteSet) String ¶
func (x *TxPvtReadWriteSet) String() string
type TxReadWriteSet ¶
type TxReadWriteSet struct { DataModel TxReadWriteSet_DataModel `protobuf:"varint,1,opt,name=data_model,json=dataModel,proto3,enum=rwset.TxReadWriteSet_DataModel" json:"data_model,omitempty"` NsRwset []*NsReadWriteSet `protobuf:"bytes,2,rep,name=ns_rwset,json=nsRwset,proto3" json:"ns_rwset,omitempty"` // contains filtered or unexported fields }
TxReadWriteSet encapsulates a read-write set for a transaction DataModel specifies the enum value of the data model ns_rwset field specifies a list of chaincode specific read-write set (one for each chaincode)
func (*TxReadWriteSet) Descriptor
deprecated
func (*TxReadWriteSet) Descriptor() ([]byte, []int)
Deprecated: Use TxReadWriteSet.ProtoReflect.Descriptor instead.
func (*TxReadWriteSet) GetDataModel ¶
func (x *TxReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
func (*TxReadWriteSet) GetNsRwset ¶
func (x *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet
func (*TxReadWriteSet) ProtoMessage ¶
func (*TxReadWriteSet) ProtoMessage()
func (*TxReadWriteSet) ProtoReflect ¶
func (x *TxReadWriteSet) ProtoReflect() protoreflect.Message
func (*TxReadWriteSet) Reset ¶
func (x *TxReadWriteSet) Reset()
func (*TxReadWriteSet) String ¶
func (x *TxReadWriteSet) String() string
type TxReadWriteSet_DataModel ¶
type TxReadWriteSet_DataModel int32
const (
TxReadWriteSet_KV TxReadWriteSet_DataModel = 0
)
func (TxReadWriteSet_DataModel) Descriptor ¶
func (TxReadWriteSet_DataModel) Descriptor() protoreflect.EnumDescriptor
func (TxReadWriteSet_DataModel) Enum ¶
func (x TxReadWriteSet_DataModel) Enum() *TxReadWriteSet_DataModel
func (TxReadWriteSet_DataModel) EnumDescriptor
deprecated
func (TxReadWriteSet_DataModel) EnumDescriptor() ([]byte, []int)
Deprecated: Use TxReadWriteSet_DataModel.Descriptor instead.
func (TxReadWriteSet_DataModel) Number ¶
func (x TxReadWriteSet_DataModel) Number() protoreflect.EnumNumber
func (TxReadWriteSet_DataModel) String ¶
func (x TxReadWriteSet_DataModel) String() string
func (TxReadWriteSet_DataModel) Type ¶
func (TxReadWriteSet_DataModel) Type() protoreflect.EnumType