rwset

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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

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 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

Directories

Path Synopsis
Package kvrwset is a generated protocol buffer package.
Package kvrwset is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL