Documentation ¶
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
- func (m *CollectionHashedReadWriteSet) XXX_DiscardUnknown()
- func (m *CollectionHashedReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionHashedReadWriteSet) XXX_Merge(src proto.Message)
- func (m *CollectionHashedReadWriteSet) XXX_Size() int
- func (m *CollectionHashedReadWriteSet) XXX_Unmarshal(b []byte) error
- 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
- func (m *CollectionPvtReadWriteSet) XXX_DiscardUnknown()
- func (m *CollectionPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionPvtReadWriteSet) XXX_Merge(src proto.Message)
- func (m *CollectionPvtReadWriteSet) XXX_Size() int
- func (m *CollectionPvtReadWriteSet) XXX_Unmarshal(b []byte) error
- 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
- func (m *NsPvtReadWriteSet) XXX_DiscardUnknown()
- func (m *NsPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NsPvtReadWriteSet) XXX_Merge(src proto.Message)
- func (m *NsPvtReadWriteSet) XXX_Size() int
- func (m *NsPvtReadWriteSet) XXX_Unmarshal(b []byte) error
- 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
- func (m *NsReadWriteSet) XXX_DiscardUnknown()
- func (m *NsReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NsReadWriteSet) XXX_Merge(src proto.Message)
- func (m *NsReadWriteSet) XXX_Size() int
- func (m *NsReadWriteSet) XXX_Unmarshal(b []byte) error
- 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
- func (m *TxPvtReadWriteSet) XXX_DiscardUnknown()
- func (m *TxPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxPvtReadWriteSet) XXX_Merge(src proto.Message)
- func (m *TxPvtReadWriteSet) XXX_Size() int
- func (m *TxPvtReadWriteSet) XXX_Unmarshal(b []byte) error
- type TxReadWriteSet
- func (*TxReadWriteSet) Descriptor() ([]byte, []int)
- func (m *TxReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
- func (m *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet
- func (*TxReadWriteSet) ProtoMessage()
- func (m *TxReadWriteSet) Reset()
- func (m *TxReadWriteSet) String() string
- func (m *TxReadWriteSet) XXX_DiscardUnknown()
- func (m *TxReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxReadWriteSet) XXX_Merge(src proto.Message)
- func (m *TxReadWriteSet) XXX_Size() int
- func (m *TxReadWriteSet) XXX_Unmarshal(b []byte) error
- type TxReadWriteSet_DataModel
Constants ¶
This section is empty.
Variables ¶
View Source
var TxReadWriteSet_DataModel_name = map[int32]string{
0: "KV",
}
View Source
var TxReadWriteSet_DataModel_value = map[string]int32{
"KV": 0,
}
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"` PvtRwsetHash []byte `protobuf:"bytes,3,opt,name=pvt_rwset_hash,json=pvtRwsetHash,proto3" json:"pvt_rwset_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CollectionHashedReadWriteSet encapsulate the hashed representation for the private read-write set for a collection
func (*CollectionHashedReadWriteSet) Descriptor ¶
func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)
func (*CollectionHashedReadWriteSet) GetCollectionName ¶
func (m *CollectionHashedReadWriteSet) GetCollectionName() string
func (*CollectionHashedReadWriteSet) GetHashedRwset ¶
func (m *CollectionHashedReadWriteSet) GetHashedRwset() []byte
func (*CollectionHashedReadWriteSet) GetPvtRwsetHash ¶
func (m *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte
func (*CollectionHashedReadWriteSet) ProtoMessage ¶
func (*CollectionHashedReadWriteSet) ProtoMessage()
func (*CollectionHashedReadWriteSet) Reset ¶
func (m *CollectionHashedReadWriteSet) Reset()
func (*CollectionHashedReadWriteSet) String ¶
func (m *CollectionHashedReadWriteSet) String() string
func (*CollectionHashedReadWriteSet) XXX_DiscardUnknown ¶
func (m *CollectionHashedReadWriteSet) XXX_DiscardUnknown()
func (*CollectionHashedReadWriteSet) XXX_Marshal ¶
func (m *CollectionHashedReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionHashedReadWriteSet) XXX_Merge ¶
func (m *CollectionHashedReadWriteSet) XXX_Merge(src proto.Message)
func (*CollectionHashedReadWriteSet) XXX_Size ¶
func (m *CollectionHashedReadWriteSet) XXX_Size() int
func (*CollectionHashedReadWriteSet) XXX_Unmarshal ¶
func (m *CollectionHashedReadWriteSet) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CollectionPvtReadWriteSet encapsulates the private read-write set for a collection
func (*CollectionPvtReadWriteSet) Descriptor ¶
func (*CollectionPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*CollectionPvtReadWriteSet) GetCollectionName ¶
func (m *CollectionPvtReadWriteSet) GetCollectionName() string
func (*CollectionPvtReadWriteSet) GetRwset ¶
func (m *CollectionPvtReadWriteSet) GetRwset() []byte
func (*CollectionPvtReadWriteSet) ProtoMessage ¶
func (*CollectionPvtReadWriteSet) ProtoMessage()
func (*CollectionPvtReadWriteSet) Reset ¶
func (m *CollectionPvtReadWriteSet) Reset()
func (*CollectionPvtReadWriteSet) String ¶
func (m *CollectionPvtReadWriteSet) String() string
func (*CollectionPvtReadWriteSet) XXX_DiscardUnknown ¶
func (m *CollectionPvtReadWriteSet) XXX_DiscardUnknown()
func (*CollectionPvtReadWriteSet) XXX_Marshal ¶
func (m *CollectionPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionPvtReadWriteSet) XXX_Merge ¶
func (m *CollectionPvtReadWriteSet) XXX_Merge(src proto.Message)
func (*CollectionPvtReadWriteSet) XXX_Size ¶
func (m *CollectionPvtReadWriteSet) XXX_Size() int
func (*CollectionPvtReadWriteSet) XXX_Unmarshal ¶
func (m *CollectionPvtReadWriteSet) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NsPvtReadWriteSet encapsulates the private read-write set for a chaincode
func (*NsPvtReadWriteSet) Descriptor ¶
func (*NsPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*NsPvtReadWriteSet) GetCollectionPvtRwset ¶
func (m *NsPvtReadWriteSet) GetCollectionPvtRwset() []*CollectionPvtReadWriteSet
func (*NsPvtReadWriteSet) GetNamespace ¶
func (m *NsPvtReadWriteSet) GetNamespace() string
func (*NsPvtReadWriteSet) ProtoMessage ¶
func (*NsPvtReadWriteSet) ProtoMessage()
func (*NsPvtReadWriteSet) Reset ¶
func (m *NsPvtReadWriteSet) Reset()
func (*NsPvtReadWriteSet) String ¶
func (m *NsPvtReadWriteSet) String() string
func (*NsPvtReadWriteSet) XXX_DiscardUnknown ¶
func (m *NsPvtReadWriteSet) XXX_DiscardUnknown()
func (*NsPvtReadWriteSet) XXX_Marshal ¶
func (m *NsPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NsPvtReadWriteSet) XXX_Merge ¶
func (m *NsPvtReadWriteSet) XXX_Merge(src proto.Message)
func (*NsPvtReadWriteSet) XXX_Size ¶
func (m *NsPvtReadWriteSet) XXX_Size() int
func (*NsPvtReadWriteSet) XXX_Unmarshal ¶
func (m *NsPvtReadWriteSet) XXX_Unmarshal(b []byte) error
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"` CollectionHashedRwset []*CollectionHashedReadWriteSet `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NsReadWriteSet encapsulates the read-write set for a chaincode
func (*NsReadWriteSet) Descriptor ¶
func (*NsReadWriteSet) Descriptor() ([]byte, []int)
func (*NsReadWriteSet) GetCollectionHashedRwset ¶
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
func (*NsReadWriteSet) XXX_DiscardUnknown ¶
func (m *NsReadWriteSet) XXX_DiscardUnknown()
func (*NsReadWriteSet) XXX_Marshal ¶
func (m *NsReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NsReadWriteSet) XXX_Merge ¶
func (m *NsReadWriteSet) XXX_Merge(src proto.Message)
func (*NsReadWriteSet) XXX_Size ¶
func (m *NsReadWriteSet) XXX_Size() int
func (*NsReadWriteSet) XXX_Unmarshal ¶
func (m *NsReadWriteSet) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TxPvtReadWriteSet encapsulate the private read-write set for a transaction
func (*TxPvtReadWriteSet) Descriptor ¶
func (*TxPvtReadWriteSet) Descriptor() ([]byte, []int)
func (*TxPvtReadWriteSet) GetDataModel ¶
func (m *TxPvtReadWriteSet) GetDataModel() TxReadWriteSet_DataModel
func (*TxPvtReadWriteSet) GetNsPvtRwset ¶
func (m *TxPvtReadWriteSet) GetNsPvtRwset() []*NsPvtReadWriteSet
func (*TxPvtReadWriteSet) ProtoMessage ¶
func (*TxPvtReadWriteSet) ProtoMessage()
func (*TxPvtReadWriteSet) Reset ¶
func (m *TxPvtReadWriteSet) Reset()
func (*TxPvtReadWriteSet) String ¶
func (m *TxPvtReadWriteSet) String() string
func (*TxPvtReadWriteSet) XXX_DiscardUnknown ¶
func (m *TxPvtReadWriteSet) XXX_DiscardUnknown()
func (*TxPvtReadWriteSet) XXX_Marshal ¶
func (m *TxPvtReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxPvtReadWriteSet) XXX_Merge ¶
func (m *TxPvtReadWriteSet) XXX_Merge(src proto.Message)
func (*TxPvtReadWriteSet) XXX_Size ¶
func (m *TxPvtReadWriteSet) XXX_Size() int
func (*TxPvtReadWriteSet) XXX_Unmarshal ¶
func (m *TxPvtReadWriteSet) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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
func (*TxReadWriteSet) XXX_DiscardUnknown ¶
func (m *TxReadWriteSet) XXX_DiscardUnknown()
func (*TxReadWriteSet) XXX_Marshal ¶
func (m *TxReadWriteSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxReadWriteSet) XXX_Merge ¶
func (m *TxReadWriteSet) XXX_Merge(src proto.Message)
func (*TxReadWriteSet) XXX_Size ¶
func (m *TxReadWriteSet) XXX_Size() int
func (*TxReadWriteSet) XXX_Unmarshal ¶
func (m *TxReadWriteSet) XXX_Unmarshal(b []byte) error
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.