fabric: github.com/hyperledger/fabric/protos/ledger/rwset/kvrwset Index | Files

package kvrwset

import "github.com/hyperledger/fabric/protos/ledger/rwset/kvrwset"

Index

Package Files

helper.go kv_rwset.pb.go

type HashedRWSet Uses

type HashedRWSet struct {
    HashedReads          []*KVReadHash          `protobuf:"bytes,1,rep,name=hashed_reads,json=hashedReads,proto3" json:"hashed_reads,omitempty"`
    HashedWrites         []*KVWriteHash         `protobuf:"bytes,2,rep,name=hashed_writes,json=hashedWrites,proto3" json:"hashed_writes,omitempty"`
    MetadataWrites       []*KVMetadataWriteHash `protobuf:"bytes,3,rep,name=metadata_writes,json=metadataWrites,proto3" json:"metadata_writes,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

HashedRWSet encapsulates hashed representation of a private read-write set for KV or Document data model

func (*HashedRWSet) Descriptor Uses

func (*HashedRWSet) Descriptor() ([]byte, []int)

func (*HashedRWSet) GetHashedReads Uses

func (m *HashedRWSet) GetHashedReads() []*KVReadHash

func (*HashedRWSet) GetHashedWrites Uses

func (m *HashedRWSet) GetHashedWrites() []*KVWriteHash

func (*HashedRWSet) GetMetadataWrites Uses

func (m *HashedRWSet) GetMetadataWrites() []*KVMetadataWriteHash

func (*HashedRWSet) ProtoMessage Uses

func (*HashedRWSet) ProtoMessage()

func (*HashedRWSet) Reset Uses

func (m *HashedRWSet) Reset()

func (*HashedRWSet) String Uses

func (m *HashedRWSet) String() string

func (*HashedRWSet) XXX_DiscardUnknown Uses

func (m *HashedRWSet) XXX_DiscardUnknown()

func (*HashedRWSet) XXX_Marshal Uses

func (m *HashedRWSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashedRWSet) XXX_Merge Uses

func (dst *HashedRWSet) XXX_Merge(src proto.Message)

func (*HashedRWSet) XXX_Size Uses

func (m *HashedRWSet) XXX_Size() int

func (*HashedRWSet) XXX_Unmarshal Uses

func (m *HashedRWSet) XXX_Unmarshal(b []byte) error

type KVMetadataEntry Uses

type KVMetadataEntry struct {
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

KVMetadataEntry captures a 'name'ed entry in the metadata of a key/key-hash.

func (*KVMetadataEntry) Descriptor Uses

func (*KVMetadataEntry) Descriptor() ([]byte, []int)

func (*KVMetadataEntry) GetName Uses

func (m *KVMetadataEntry) GetName() string

func (*KVMetadataEntry) GetValue Uses

func (m *KVMetadataEntry) GetValue() []byte

func (*KVMetadataEntry) ProtoMessage Uses

func (*KVMetadataEntry) ProtoMessage()

func (*KVMetadataEntry) Reset Uses

func (m *KVMetadataEntry) Reset()

func (*KVMetadataEntry) String Uses

func (m *KVMetadataEntry) String() string

func (*KVMetadataEntry) XXX_DiscardUnknown Uses

func (m *KVMetadataEntry) XXX_DiscardUnknown()

func (*KVMetadataEntry) XXX_Marshal Uses

func (m *KVMetadataEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVMetadataEntry) XXX_Merge Uses

func (dst *KVMetadataEntry) XXX_Merge(src proto.Message)

func (*KVMetadataEntry) XXX_Size Uses

func (m *KVMetadataEntry) XXX_Size() int

func (*KVMetadataEntry) XXX_Unmarshal Uses

func (m *KVMetadataEntry) XXX_Unmarshal(b []byte) error

type KVMetadataWrite Uses

type KVMetadataWrite struct {
    Key                  string             `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    Entries              []*KVMetadataEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

KVMetadataWrite captures all the entries in the metadata associated with a key

func (*KVMetadataWrite) Descriptor Uses

func (*KVMetadataWrite) Descriptor() ([]byte, []int)

func (*KVMetadataWrite) GetEntries Uses

func (m *KVMetadataWrite) GetEntries() []*KVMetadataEntry

func (*KVMetadataWrite) GetKey Uses

func (m *KVMetadataWrite) GetKey() string

func (*KVMetadataWrite) ProtoMessage Uses

func (*KVMetadataWrite) ProtoMessage()

func (*KVMetadataWrite) Reset Uses

func (m *KVMetadataWrite) Reset()

func (*KVMetadataWrite) String Uses

func (m *KVMetadataWrite) String() string

func (*KVMetadataWrite) XXX_DiscardUnknown Uses

func (m *KVMetadataWrite) XXX_DiscardUnknown()

func (*KVMetadataWrite) XXX_Marshal Uses

func (m *KVMetadataWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVMetadataWrite) XXX_Merge Uses

func (dst *KVMetadataWrite) XXX_Merge(src proto.Message)

func (*KVMetadataWrite) XXX_Size Uses

func (m *KVMetadataWrite) XXX_Size() int

func (*KVMetadataWrite) XXX_Unmarshal Uses

func (m *KVMetadataWrite) XXX_Unmarshal(b []byte) error

type KVMetadataWriteHash Uses

type KVMetadataWriteHash struct {
    KeyHash              []byte             `protobuf:"bytes,1,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"`
    Entries              []*KVMetadataEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

KVMetadataWriteHash captures all the upserts to the metadata associated with a key hash

func (*KVMetadataWriteHash) Descriptor Uses

func (*KVMetadataWriteHash) Descriptor() ([]byte, []int)

func (*KVMetadataWriteHash) GetEntries Uses

func (m *KVMetadataWriteHash) GetEntries() []*KVMetadataEntry

func (*KVMetadataWriteHash) GetKeyHash Uses

func (m *KVMetadataWriteHash) GetKeyHash() []byte

func (*KVMetadataWriteHash) ProtoMessage Uses

func (*KVMetadataWriteHash) ProtoMessage()

func (*KVMetadataWriteHash) Reset Uses

func (m *KVMetadataWriteHash) Reset()

func (*KVMetadataWriteHash) String Uses

func (m *KVMetadataWriteHash) String() string

func (*KVMetadataWriteHash) XXX_DiscardUnknown Uses

func (m *KVMetadataWriteHash) XXX_DiscardUnknown()

func (*KVMetadataWriteHash) XXX_Marshal Uses

func (m *KVMetadataWriteHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVMetadataWriteHash) XXX_Merge Uses

func (dst *KVMetadataWriteHash) XXX_Merge(src proto.Message)

func (*KVMetadataWriteHash) XXX_Size Uses

func (m *KVMetadataWriteHash) XXX_Size() int

func (*KVMetadataWriteHash) XXX_Unmarshal Uses

func (m *KVMetadataWriteHash) XXX_Unmarshal(b []byte) error

type KVRWSet Uses

type KVRWSet struct {
    Reads                []*KVRead          `protobuf:"bytes,1,rep,name=reads,proto3" json:"reads,omitempty"`
    RangeQueriesInfo     []*RangeQueryInfo  `protobuf:"bytes,2,rep,name=range_queries_info,json=rangeQueriesInfo,proto3" json:"range_queries_info,omitempty"`
    Writes               []*KVWrite         `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"`
    MetadataWrites       []*KVMetadataWrite `protobuf:"bytes,4,rep,name=metadata_writes,json=metadataWrites,proto3" json:"metadata_writes,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

KVRWSet encapsulates the read-write set for a chaincode that operates upon a KV or Document data model This structure is used for both the public data and the private data

func (*KVRWSet) Descriptor Uses

func (*KVRWSet) Descriptor() ([]byte, []int)

func (*KVRWSet) GetMetadataWrites Uses

func (m *KVRWSet) GetMetadataWrites() []*KVMetadataWrite

func (*KVRWSet) GetRangeQueriesInfo Uses

func (m *KVRWSet) GetRangeQueriesInfo() []*RangeQueryInfo

func (*KVRWSet) GetReads Uses

func (m *KVRWSet) GetReads() []*KVRead

func (*KVRWSet) GetWrites Uses

func (m *KVRWSet) GetWrites() []*KVWrite

func (*KVRWSet) ProtoMessage Uses

func (*KVRWSet) ProtoMessage()

func (*KVRWSet) Reset Uses

func (m *KVRWSet) Reset()

func (*KVRWSet) String Uses

func (m *KVRWSet) String() string

func (*KVRWSet) XXX_DiscardUnknown Uses

func (m *KVRWSet) XXX_DiscardUnknown()

func (*KVRWSet) XXX_Marshal Uses

func (m *KVRWSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVRWSet) XXX_Merge Uses

func (dst *KVRWSet) XXX_Merge(src proto.Message)

func (*KVRWSet) XXX_Size Uses

func (m *KVRWSet) XXX_Size() int

func (*KVRWSet) XXX_Unmarshal Uses

func (m *KVRWSet) XXX_Unmarshal(b []byte) error

type KVRead Uses

type KVRead struct {
    Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    Version              *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

KVRead captures a read operation performed during transaction simulation A 'nil' version indicates a non-existing key read by the transaction

func (*KVRead) Descriptor Uses

func (*KVRead) Descriptor() ([]byte, []int)

func (*KVRead) GetKey Uses

func (m *KVRead) GetKey() string

func (*KVRead) GetVersion Uses

func (m *KVRead) GetVersion() *Version

func (*KVRead) ProtoMessage Uses

func (*KVRead) ProtoMessage()

func (*KVRead) Reset Uses

func (m *KVRead) Reset()

func (*KVRead) String Uses

func (m *KVRead) String() string

func (*KVRead) XXX_DiscardUnknown Uses

func (m *KVRead) XXX_DiscardUnknown()

func (*KVRead) XXX_Marshal Uses

func (m *KVRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVRead) XXX_Merge Uses

func (dst *KVRead) XXX_Merge(src proto.Message)

func (*KVRead) XXX_Size Uses

func (m *KVRead) XXX_Size() int

func (*KVRead) XXX_Unmarshal Uses

func (m *KVRead) XXX_Unmarshal(b []byte) error

type KVReadHash Uses

type KVReadHash struct {
    KeyHash              []byte   `protobuf:"bytes,1,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"`
    Version              *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

KVReadHash is similar to the KVRead in spirit. However, it captures the hash of the key instead of the key itself version is kept as is for now. However, if the version also needs to be privacy-protected, it would need to be the hash of the version and hence of 'bytes' type

func (*KVReadHash) Descriptor Uses

func (*KVReadHash) Descriptor() ([]byte, []int)

func (*KVReadHash) GetKeyHash Uses

func (m *KVReadHash) GetKeyHash() []byte

func (*KVReadHash) GetVersion Uses

func (m *KVReadHash) GetVersion() *Version

func (*KVReadHash) ProtoMessage Uses

func (*KVReadHash) ProtoMessage()

func (*KVReadHash) Reset Uses

func (m *KVReadHash) Reset()

func (*KVReadHash) String Uses

func (m *KVReadHash) String() string

func (*KVReadHash) XXX_DiscardUnknown Uses

func (m *KVReadHash) XXX_DiscardUnknown()

func (*KVReadHash) XXX_Marshal Uses

func (m *KVReadHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVReadHash) XXX_Merge Uses

func (dst *KVReadHash) XXX_Merge(src proto.Message)

func (*KVReadHash) XXX_Size Uses

func (m *KVReadHash) XXX_Size() int

func (*KVReadHash) XXX_Unmarshal Uses

func (m *KVReadHash) XXX_Unmarshal(b []byte) error

type KVWrite Uses

type KVWrite struct {
    Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    IsDelete             bool     `protobuf:"varint,2,opt,name=is_delete,json=isDelete,proto3" json:"is_delete,omitempty"`
    Value                []byte   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

KVWrite captures a write (update/delete) operation performed during transaction simulation

func (*KVWrite) Descriptor Uses

func (*KVWrite) Descriptor() ([]byte, []int)

func (*KVWrite) GetIsDelete Uses

func (m *KVWrite) GetIsDelete() bool

func (*KVWrite) GetKey Uses

func (m *KVWrite) GetKey() string

func (*KVWrite) GetValue Uses

func (m *KVWrite) GetValue() []byte

func (*KVWrite) ProtoMessage Uses

func (*KVWrite) ProtoMessage()

func (*KVWrite) Reset Uses

func (m *KVWrite) Reset()

func (*KVWrite) String Uses

func (m *KVWrite) String() string

func (*KVWrite) XXX_DiscardUnknown Uses

func (m *KVWrite) XXX_DiscardUnknown()

func (*KVWrite) XXX_Marshal Uses

func (m *KVWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVWrite) XXX_Merge Uses

func (dst *KVWrite) XXX_Merge(src proto.Message)

func (*KVWrite) XXX_Size Uses

func (m *KVWrite) XXX_Size() int

func (*KVWrite) XXX_Unmarshal Uses

func (m *KVWrite) XXX_Unmarshal(b []byte) error

type KVWriteHash Uses

type KVWriteHash struct {
    KeyHash              []byte   `protobuf:"bytes,1,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"`
    IsDelete             bool     `protobuf:"varint,2,opt,name=is_delete,json=isDelete,proto3" json:"is_delete,omitempty"`
    ValueHash            []byte   `protobuf:"bytes,3,opt,name=value_hash,json=valueHash,proto3" json:"value_hash,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

KVWriteHash is similar to the KVWrite. It captures a write (update/delete) operation performed during transaction simulation

func (*KVWriteHash) Descriptor Uses

func (*KVWriteHash) Descriptor() ([]byte, []int)

func (*KVWriteHash) GetIsDelete Uses

func (m *KVWriteHash) GetIsDelete() bool

func (*KVWriteHash) GetKeyHash Uses

func (m *KVWriteHash) GetKeyHash() []byte

func (*KVWriteHash) GetValueHash Uses

func (m *KVWriteHash) GetValueHash() []byte

func (*KVWriteHash) ProtoMessage Uses

func (*KVWriteHash) ProtoMessage()

func (*KVWriteHash) Reset Uses

func (m *KVWriteHash) Reset()

func (*KVWriteHash) String Uses

func (m *KVWriteHash) String() string

func (*KVWriteHash) XXX_DiscardUnknown Uses

func (m *KVWriteHash) XXX_DiscardUnknown()

func (*KVWriteHash) XXX_Marshal Uses

func (m *KVWriteHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVWriteHash) XXX_Merge Uses

func (dst *KVWriteHash) XXX_Merge(src proto.Message)

func (*KVWriteHash) XXX_Size Uses

func (m *KVWriteHash) XXX_Size() int

func (*KVWriteHash) XXX_Unmarshal Uses

func (m *KVWriteHash) XXX_Unmarshal(b []byte) error

type QueryReads Uses

type QueryReads struct {
    KvReads              []*KVRead `protobuf:"bytes,1,rep,name=kv_reads,json=kvReads,proto3" json:"kv_reads,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

QueryReads encapsulates the KVReads for the items read by a transaction as a result of a query execution

func (*QueryReads) Descriptor Uses

func (*QueryReads) Descriptor() ([]byte, []int)

func (*QueryReads) GetKvReads Uses

func (m *QueryReads) GetKvReads() []*KVRead

func (*QueryReads) ProtoMessage Uses

func (*QueryReads) ProtoMessage()

func (*QueryReads) Reset Uses

func (m *QueryReads) Reset()

func (*QueryReads) String Uses

func (m *QueryReads) String() string

func (*QueryReads) XXX_DiscardUnknown Uses

func (m *QueryReads) XXX_DiscardUnknown()

func (*QueryReads) XXX_Marshal Uses

func (m *QueryReads) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryReads) XXX_Merge Uses

func (dst *QueryReads) XXX_Merge(src proto.Message)

func (*QueryReads) XXX_Size Uses

func (m *QueryReads) XXX_Size() int

func (*QueryReads) XXX_Unmarshal Uses

func (m *QueryReads) XXX_Unmarshal(b []byte) error

type QueryReadsMerkleSummary Uses

type QueryReadsMerkleSummary struct {
    MaxDegree            uint32   `protobuf:"varint,1,opt,name=max_degree,json=maxDegree,proto3" json:"max_degree,omitempty"`
    MaxLevel             uint32   `protobuf:"varint,2,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"`
    MaxLevelHashes       [][]byte `protobuf:"bytes,3,rep,name=max_level_hashes,json=maxLevelHashes,proto3" json:"max_level_hashes,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

QueryReadsMerkleSummary encapsulates the Merkle-tree hashes for the QueryReads This allows to reduce the size of RWSet in the presence of query results by storing certain hashes instead of actual results. maxDegree field refers to the maximum number of children in the tree at any level maxLevel field contains the lowest level which has lesser nodes than maxDegree (starting from leaf level)

func (*QueryReadsMerkleSummary) Descriptor Uses

func (*QueryReadsMerkleSummary) Descriptor() ([]byte, []int)

func (*QueryReadsMerkleSummary) Equal Uses

func (ms *QueryReadsMerkleSummary) Equal(anotherMS *QueryReadsMerkleSummary) bool

Equal verifies whether the give MerkleSummary is equals to this

func (*QueryReadsMerkleSummary) GetMaxDegree Uses

func (m *QueryReadsMerkleSummary) GetMaxDegree() uint32

func (*QueryReadsMerkleSummary) GetMaxLevel Uses

func (m *QueryReadsMerkleSummary) GetMaxLevel() uint32

func (*QueryReadsMerkleSummary) GetMaxLevelHashes Uses

func (m *QueryReadsMerkleSummary) GetMaxLevelHashes() [][]byte

func (*QueryReadsMerkleSummary) ProtoMessage Uses

func (*QueryReadsMerkleSummary) ProtoMessage()

func (*QueryReadsMerkleSummary) Reset Uses

func (m *QueryReadsMerkleSummary) Reset()

func (*QueryReadsMerkleSummary) String Uses

func (m *QueryReadsMerkleSummary) String() string

func (*QueryReadsMerkleSummary) XXX_DiscardUnknown Uses

func (m *QueryReadsMerkleSummary) XXX_DiscardUnknown()

func (*QueryReadsMerkleSummary) XXX_Marshal Uses

func (m *QueryReadsMerkleSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryReadsMerkleSummary) XXX_Merge Uses

func (dst *QueryReadsMerkleSummary) XXX_Merge(src proto.Message)

func (*QueryReadsMerkleSummary) XXX_Size Uses

func (m *QueryReadsMerkleSummary) XXX_Size() int

func (*QueryReadsMerkleSummary) XXX_Unmarshal Uses

func (m *QueryReadsMerkleSummary) XXX_Unmarshal(b []byte) error

type RangeQueryInfo Uses

type RangeQueryInfo struct {
    StartKey     string `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"`
    EndKey       string `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
    ItrExhausted bool   `protobuf:"varint,3,opt,name=itr_exhausted,json=itrExhausted,proto3" json:"itr_exhausted,omitempty"`
    // Types that are valid to be assigned to ReadsInfo:
    //	*RangeQueryInfo_RawReads
    //	*RangeQueryInfo_ReadsMerkleHashes
    ReadsInfo            isRangeQueryInfo_ReadsInfo `protobuf_oneof:"reads_info"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

RangeQueryInfo encapsulates the details of a range query performed by a transaction during simulation. This helps protect transactions from phantom reads by varifying during validation whether any new items got committed within the given range between transaction simuation and validation (in addition to regular checks for updates/deletes of the existing items). readInfo field contains either the KVReads (for the items read by the range query) or a merkle-tree hash if the KVReads exceeds a pre-configured numbers

func (*RangeQueryInfo) Descriptor Uses

func (*RangeQueryInfo) Descriptor() ([]byte, []int)

func (*RangeQueryInfo) GetEndKey Uses

func (m *RangeQueryInfo) GetEndKey() string

func (*RangeQueryInfo) GetItrExhausted Uses

func (m *RangeQueryInfo) GetItrExhausted() bool

func (*RangeQueryInfo) GetRawReads Uses

func (m *RangeQueryInfo) GetRawReads() *QueryReads

func (*RangeQueryInfo) GetReadsInfo Uses

func (m *RangeQueryInfo) GetReadsInfo() isRangeQueryInfo_ReadsInfo

func (*RangeQueryInfo) GetReadsMerkleHashes Uses

func (m *RangeQueryInfo) GetReadsMerkleHashes() *QueryReadsMerkleSummary

func (*RangeQueryInfo) GetStartKey Uses

func (m *RangeQueryInfo) GetStartKey() string

func (*RangeQueryInfo) ProtoMessage Uses

func (*RangeQueryInfo) ProtoMessage()

func (*RangeQueryInfo) Reset Uses

func (m *RangeQueryInfo) Reset()

func (*RangeQueryInfo) SetMerkelSummary Uses

func (rqi *RangeQueryInfo) SetMerkelSummary(merkleSummary *QueryReadsMerkleSummary)

SetMerkelSummary sets the 'readsInfo' field to merkle summary of the raw KVReads of query results

func (*RangeQueryInfo) SetRawReads Uses

func (rqi *RangeQueryInfo) SetRawReads(kvReads []*KVRead)

SetRawReads sets the 'readsInfo' field to raw KVReads performed by the query

func (*RangeQueryInfo) String Uses

func (m *RangeQueryInfo) String() string

func (*RangeQueryInfo) XXX_DiscardUnknown Uses

func (m *RangeQueryInfo) XXX_DiscardUnknown()

func (*RangeQueryInfo) XXX_Marshal Uses

func (m *RangeQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeQueryInfo) XXX_Merge Uses

func (dst *RangeQueryInfo) XXX_Merge(src proto.Message)

func (*RangeQueryInfo) XXX_OneofFuncs Uses

func (*RangeQueryInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RangeQueryInfo) XXX_Size Uses

func (m *RangeQueryInfo) XXX_Size() int

func (*RangeQueryInfo) XXX_Unmarshal Uses

func (m *RangeQueryInfo) XXX_Unmarshal(b []byte) error

type RangeQueryInfo_RawReads Uses

type RangeQueryInfo_RawReads struct {
    RawReads *QueryReads `protobuf:"bytes,4,opt,name=raw_reads,json=rawReads,proto3,oneof"`
}

type RangeQueryInfo_ReadsMerkleHashes Uses

type RangeQueryInfo_ReadsMerkleHashes struct {
    ReadsMerkleHashes *QueryReadsMerkleSummary `protobuf:"bytes,5,opt,name=reads_merkle_hashes,json=readsMerkleHashes,proto3,oneof"`
}

type Version Uses

type Version struct {
    BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
    TxNum                uint64   `protobuf:"varint,2,opt,name=tx_num,json=txNum,proto3" json:"tx_num,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Version encapsulates the version of a Key A version of a committed key is maintained as the height of the transaction that committed the key. The height is represenetd as a tuple <blockNum, txNum> where the txNum is the position of the transaction (starting with 0) within block

func (*Version) Descriptor Uses

func (*Version) Descriptor() ([]byte, []int)

func (*Version) GetBlockNum Uses

func (m *Version) GetBlockNum() uint64

func (*Version) GetTxNum Uses

func (m *Version) GetTxNum() uint64

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) String Uses

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge Uses

func (dst *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

func (m *Version) XXX_Unmarshal(b []byte) error

Package kvrwset imports 4 packages (graph) and is imported by 23 packages. Updated 2018-12-13. Refresh now. Tools for package owners.