Documentation ¶
Overview ¶
Package rwset is a generated protocol buffer package.
It is generated from these files:
ledger/rwset/rwset.proto
It has these top-level messages:
TxReadWriteSet NsReadWriteSet CollectionHashedReadWriteSet TxPvtReadWriteSet NsPvtReadWriteSet CollectionPvtReadWriteSet
Index ¶
- Variables
- type CollectionHashedReadWriteSet
- func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)
- func (m *CollectionHashedReadWriteSet) GetCollectionName() string
- func (m *CollectionHashedReadWriteSet) GetHashedRwset() []byte
- func (m *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte
- func (*CollectionHashedReadWriteSet) ProtoMessage()
- func (m *CollectionHashedReadWriteSet) Reset()
- func (m *CollectionHashedReadWriteSet) String() string
- type CollectionPvtReadWriteSet
- func (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)
- func (m *CollectionPvtReadWriteSet) GetCollectionName() string
- func (m *CollectionPvtReadWriteSet) GetRwset() []byte
- func (*CollectionPvtReadWriteSet) ProtoMessage()
- func (m *CollectionPvtReadWriteSet) Reset()
- func (m *CollectionPvtReadWriteSet) String() string
- type NsPvtReadWriteSet
- func (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)
- func (m *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet
- func (m *NsPvtReadWriteSet) GetNamespace() string
- func (*NsPvtReadWriteSet) ProtoMessage()
- func (m *NsPvtReadWriteSet) Reset()
- func (m *NsPvtReadWriteSet) String() string
- type NsReadWriteSet
- func (*NsReadWriteSet) Descriptor() ([]byte, []int)
- func (m *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet
- func (m *NsReadWriteSet) GetNamespace() string
- func (m *NsReadWriteSet) GetRwset() []byte
- func (*NsReadWriteSet) ProtoMessage()
- func (m *NsReadWriteSet) Reset()
- func (m *NsReadWriteSet) String() string
- type TxPvtReadWriteSet
- func (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)
- func (m *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
- func (m *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet
- func (*TxPvtReadWriteSet) ProtoMessage()
- func (m *TxPvtReadWriteSet) Reset()
- func (m *TxPvtReadWriteSet) String() string
- type TxReadWriteSet
- type TxReadWriteSet_DataModel
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CollectionHashedReadWriteSet ¶ added in v1.1.0
type CollectionHashedReadWriteSet struct { CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName" json:"collection_name,omitempty"` HashedRwset []byte `protobuf:"bytes,2,opt,name=hashed_rwset,json=hashedRwset,proto3" json:"hashed_rwset,omitempty"` PvtRwsetHash []byte `protobuf:"bytes,3,opt,name=pvt_rwset_hash,json=pvtRwsetHash,proto3" json:"pvt_rwset_hash,omitempty"` }
CollectionHashedReadWriteSet encapsulate the hashed representation for the private read-write set for a collection
func (*CollectionHashedReadWriteSet) Descriptor ¶ added in v1.1.0
func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)
func (*CollectionHashedReadWriteSet) GetCollectionName ¶ added in v1.1.0
func (m *CollectionHashedReadWriteSet) GetCollectionName() string
func (*CollectionHashedReadWriteSet) GetHashedRwset ¶ added in v1.1.0
func (m *CollectionHashedReadWriteSet) GetHashedRwset() []byte
func (*CollectionHashedReadWriteSet) GetPvtRwsetHash ¶ added in v1.1.0
func (m *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte
func (*CollectionHashedReadWriteSet) ProtoMessage ¶ added in v1.1.0
func (*CollectionHashedReadWriteSet) ProtoMessage()
func (*CollectionHashedReadWriteSet) Reset ¶ added in v1.1.0
func (m *CollectionHashedReadWriteSet) Reset()
func (*CollectionHashedReadWriteSet) String ¶ added in v1.1.0
func (m *CollectionHashedReadWriteSet) String() string
type CollectionPvtReadWriteSet ¶ added in v1.1.0
type CollectionPvtReadWriteSet struct { CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName" json:"collection_name,omitempty"` Rwset []byte `protobuf:"bytes,2,opt,name=rwset,proto3" json:"rwset,omitempty"` }
CollectionPvtReadWriteSet encapsulates the private read-write set for a collection
func (*CollectionPvtReadWriteSet) Descriptor ¶ added in v1.1.0
func (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*CollectionPvtReadWriteSet) GetCollectionName ¶ added in v1.1.0
func (m *CollectionPvtReadWriteSet) GetCollectionName() string
func (*CollectionPvtReadWriteSet) GetRwset ¶ added in v1.1.0
func (m *CollectionPvtReadWriteSet) GetRwset() []byte
func (*CollectionPvtReadWriteSet) ProtoMessage ¶ added in v1.1.0
func (*CollectionPvtReadWriteSet) ProtoMessage()
func (*CollectionPvtReadWriteSet) Reset ¶ added in v1.1.0
func (m *CollectionPvtReadWriteSet) Reset()
func (*CollectionPvtReadWriteSet) String ¶ added in v1.1.0
func (m *CollectionPvtReadWriteSet) String() string
type NsPvtReadWriteSet ¶ added in v1.1.0
type NsPvtReadWriteSet struct { Namespace string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` CollectionPvtRwset []*CollectionPvtReadWriteSet `protobuf:"bytes,2,rep,name=collection_pvt_rwset,json=collectionPvtRwset" json:"collection_pvt_rwset,omitempty"` }
NsPvtReadWriteSet encapsulates the private read-write set for a chaincode
func (*NsPvtReadWriteSet) Descriptor ¶ added in v1.1.0
func (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*NsPvtReadWriteSet) GetCollectionPvtRwset ¶ added in v1.1.0
func (m *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet
func (*NsPvtReadWriteSet) GetNamespace ¶ added in v1.1.0
func (m *NsPvtReadWriteSet) GetNamespace() string
func (*NsPvtReadWriteSet) ProtoMessage ¶ added in v1.1.0
func (*NsPvtReadWriteSet) ProtoMessage()
func (*NsPvtReadWriteSet) Reset ¶ added in v1.1.0
func (m *NsPvtReadWriteSet) Reset()
func (*NsPvtReadWriteSet) String ¶ added in v1.1.0
func (m *NsPvtReadWriteSet) String() string
type NsReadWriteSet ¶
type NsReadWriteSet struct { Namespace string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` Rwset []byte `protobuf:"bytes,2,opt,name=rwset,proto3" json:"rwset,omitempty"` CollectionHashedRwset []*CollectionHashedReadWriteSet `protobuf:"bytes,3,rep,name=collection_hashed_rwset,json=collectionHashedRwset" json:"collection_hashed_rwset,omitempty"` }
NsReadWriteSet encapsulates the read-write set for a chaincode
func (*NsReadWriteSet) Descriptor ¶
func (*NsReadWriteSet) Descriptor() ([]byte, []int)
func (*NsReadWriteSet) GetCollectionHashedRwset ¶ added in v1.1.0
func (m *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet
func (*NsReadWriteSet) GetNamespace ¶
func (m *NsReadWriteSet) GetNamespace() string
func (*NsReadWriteSet) GetRwset ¶
func (m *NsReadWriteSet) GetRwset() []byte
func (*NsReadWriteSet) ProtoMessage ¶
func (*NsReadWriteSet) ProtoMessage()
func (*NsReadWriteSet) Reset ¶
func (m *NsReadWriteSet) Reset()
func (*NsReadWriteSet) String ¶
func (m *NsReadWriteSet) String() string
type TxPvtReadWriteSet ¶ added in v1.1.0
type TxPvtReadWriteSet struct { DataModel TxReadWriteSet_DataModel `protobuf:"varint,1,opt,name=data_model,json=dataModel,enum=rwset.TxReadWriteSet_DataModel" json:"data_model,omitempty"` NsPvtRwset []*NsPvtReadWriteSet `protobuf:"bytes,2,rep,name=ns_pvt_rwset,json=nsPvtRwset" json:"ns_pvt_rwset,omitempty"` }
TxPvtReadWriteSet encapsulate the private read-write set for a transaction
func (*TxPvtReadWriteSet) Descriptor ¶ added in v1.1.0
func (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*TxPvtReadWriteSet) GetDataModel ¶ added in v1.1.0
func (m *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
func (*TxPvtReadWriteSet) GetNsPvtRwset ¶ added in v1.1.0
func (m *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet
func (*TxPvtReadWriteSet) ProtoMessage ¶ added in v1.1.0
func (*TxPvtReadWriteSet) ProtoMessage()
func (*TxPvtReadWriteSet) Reset ¶ added in v1.1.0
func (m *TxPvtReadWriteSet) Reset()
func (*TxPvtReadWriteSet) String ¶ added in v1.1.0
func (m *TxPvtReadWriteSet) String() string
type TxReadWriteSet ¶
type TxReadWriteSet struct { DataModel TxReadWriteSet_DataModel `protobuf:"varint,1,opt,name=data_model,json=dataModel,enum=rwset.TxReadWriteSet_DataModel" json:"data_model,omitempty"` NsRwset []*NsReadWriteSet `protobuf:"bytes,2,rep,name=ns_rwset,json=nsRwset" json:"ns_rwset,omitempty"` }
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 ¶
func (*TxReadWriteSet) Descriptor() ([]byte, []int)
func (*TxReadWriteSet) GetDataModel ¶
func (m *TxReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
func (*TxReadWriteSet) GetNsRwset ¶
func (m *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet
func (*TxReadWriteSet) ProtoMessage ¶
func (*TxReadWriteSet) ProtoMessage()
func (*TxReadWriteSet) Reset ¶
func (m *TxReadWriteSet) Reset()
func (*TxReadWriteSet) String ¶
func (m *TxReadWriteSet) String() string
type TxReadWriteSet_DataModel ¶
type TxReadWriteSet_DataModel int32
const (
TxReadWriteSet_KV TxReadWriteSet_DataModel = 0
)
func (TxReadWriteSet_DataModel) EnumDescriptor ¶
func (TxReadWriteSet_DataModel) EnumDescriptor() ([]byte, []int)
func (TxReadWriteSet_DataModel) String ¶
func (x TxReadWriteSet_DataModel) String() string