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
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
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"` }
NsReadWriteSet encapsulates the read-write set for a chaincode
func (*NsReadWriteSet) Descriptor ¶
func (*NsReadWriteSet) Descriptor() ([]byte, []int)
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 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
Click to show internal directories.
Click to hide internal directories.