Documentation
¶
Index ¶
- Variables
- type CommitID
- type CommitInfo
- func (*CommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommitInfo) GetStoreInfos() []*StoreInfo
- func (x *CommitInfo) GetVersion() int64
- func (*CommitInfo) ProtoMessage()
- func (x *CommitInfo) ProtoReflect() protoreflect.Message
- func (x *CommitInfo) Reset()
- func (x *CommitInfo) String() string
- type SnapshotIAVLItem
- func (*SnapshotIAVLItem) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotIAVLItem) GetHeight() int32
- func (x *SnapshotIAVLItem) GetKey() []byte
- func (x *SnapshotIAVLItem) GetValue() []byte
- func (x *SnapshotIAVLItem) GetVersion() int64
- func (*SnapshotIAVLItem) ProtoMessage()
- func (x *SnapshotIAVLItem) ProtoReflect() protoreflect.Message
- func (x *SnapshotIAVLItem) Reset()
- func (x *SnapshotIAVLItem) String() string
- type SnapshotItem
- func (*SnapshotItem) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotItem) GetIavl() *SnapshotIAVLItem
- func (x *SnapshotItem) GetItem() isSnapshotItem_Item
- func (x *SnapshotItem) GetStore() *SnapshotStoreItem
- func (*SnapshotItem) ProtoMessage()
- func (x *SnapshotItem) ProtoReflect() protoreflect.Message
- func (x *SnapshotItem) Reset()
- func (x *SnapshotItem) String() string
- type SnapshotItem_Iavl
- type SnapshotItem_Store
- type SnapshotStoreItem
- type StoreInfo
- type StoreKVPair
- func (*StoreKVPair) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKVPair) GetDelete() bool
- func (x *StoreKVPair) GetKey() []byte
- func (x *StoreKVPair) GetStoreKey() string
- func (x *StoreKVPair) GetValue() []byte
- func (*StoreKVPair) ProtoMessage()
- func (x *StoreKVPair) ProtoReflect() protoreflect.Message
- func (x *StoreKVPair) Reset()
- func (x *StoreKVPair) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_base_store_v1beta1_commit_info_proto protoreflect.FileDescriptor
var File_cosmos_base_store_v1beta1_listening_proto protoreflect.FileDescriptor
var File_cosmos_base_store_v1beta1_snapshot_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommitID ¶
type CommitID struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
CommitID defines the committment information when a specific store is committed.
func (*CommitID) Descriptor
deprecated
func (*CommitID) GetVersion ¶
func (*CommitID) ProtoMessage ¶
func (*CommitID) ProtoMessage()
func (*CommitID) ProtoReflect ¶
func (x *CommitID) ProtoReflect() protoreflect.Message
type CommitInfo ¶
type CommitInfo struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` StoreInfos []*StoreInfo `protobuf:"bytes,2,rep,name=store_infos,json=storeInfos,proto3" json:"store_infos,omitempty"` // contains filtered or unexported fields }
CommitInfo defines commit information used by the multi-store when committing a version/height.
func (*CommitInfo) Descriptor
deprecated
func (*CommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.
func (*CommitInfo) GetStoreInfos ¶
func (x *CommitInfo) GetStoreInfos() []*StoreInfo
func (*CommitInfo) GetVersion ¶
func (x *CommitInfo) GetVersion() int64
func (*CommitInfo) ProtoMessage ¶
func (*CommitInfo) ProtoMessage()
func (*CommitInfo) ProtoReflect ¶
func (x *CommitInfo) ProtoReflect() protoreflect.Message
func (*CommitInfo) Reset ¶
func (x *CommitInfo) Reset()
func (*CommitInfo) String ¶
func (x *CommitInfo) String() string
type SnapshotIAVLItem ¶
type SnapshotIAVLItem struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
SnapshotIAVLItem is an exported IAVL node.
func (*SnapshotIAVLItem) Descriptor
deprecated
func (*SnapshotIAVLItem) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotIAVLItem.ProtoReflect.Descriptor instead.
func (*SnapshotIAVLItem) GetHeight ¶
func (x *SnapshotIAVLItem) GetHeight() int32
func (*SnapshotIAVLItem) GetKey ¶
func (x *SnapshotIAVLItem) GetKey() []byte
func (*SnapshotIAVLItem) GetValue ¶
func (x *SnapshotIAVLItem) GetValue() []byte
func (*SnapshotIAVLItem) GetVersion ¶
func (x *SnapshotIAVLItem) GetVersion() int64
func (*SnapshotIAVLItem) ProtoMessage ¶
func (*SnapshotIAVLItem) ProtoMessage()
func (*SnapshotIAVLItem) ProtoReflect ¶
func (x *SnapshotIAVLItem) ProtoReflect() protoreflect.Message
func (*SnapshotIAVLItem) Reset ¶
func (x *SnapshotIAVLItem) Reset()
func (*SnapshotIAVLItem) String ¶
func (x *SnapshotIAVLItem) String() string
type SnapshotItem ¶
type SnapshotItem struct { // item is the specific type of snapshot item. // // Types that are assignable to Item: // *SnapshotItem_Store // *SnapshotItem_Iavl Item isSnapshotItem_Item `protobuf_oneof:"item"` // contains filtered or unexported fields }
SnapshotItem is an item contained in a rootmulti.Store snapshot.
func (*SnapshotItem) Descriptor
deprecated
func (*SnapshotItem) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotItem.ProtoReflect.Descriptor instead.
func (*SnapshotItem) GetIavl ¶
func (x *SnapshotItem) GetIavl() *SnapshotIAVLItem
func (*SnapshotItem) GetItem ¶
func (x *SnapshotItem) GetItem() isSnapshotItem_Item
func (*SnapshotItem) GetStore ¶
func (x *SnapshotItem) GetStore() *SnapshotStoreItem
func (*SnapshotItem) ProtoMessage ¶
func (*SnapshotItem) ProtoMessage()
func (*SnapshotItem) ProtoReflect ¶
func (x *SnapshotItem) ProtoReflect() protoreflect.Message
func (*SnapshotItem) Reset ¶
func (x *SnapshotItem) Reset()
func (*SnapshotItem) String ¶
func (x *SnapshotItem) String() string
type SnapshotItem_Iavl ¶
type SnapshotItem_Iavl struct {
Iavl *SnapshotIAVLItem `protobuf:"bytes,2,opt,name=iavl,proto3,oneof"`
}
type SnapshotItem_Store ¶
type SnapshotItem_Store struct {
Store *SnapshotStoreItem `protobuf:"bytes,1,opt,name=store,proto3,oneof"`
}
type SnapshotStoreItem ¶
type SnapshotStoreItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
SnapshotStoreItem contains metadata about a snapshotted store.
func (*SnapshotStoreItem) Descriptor
deprecated
func (*SnapshotStoreItem) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotStoreItem.ProtoReflect.Descriptor instead.
func (*SnapshotStoreItem) GetName ¶
func (x *SnapshotStoreItem) GetName() string
func (*SnapshotStoreItem) ProtoMessage ¶
func (*SnapshotStoreItem) ProtoMessage()
func (*SnapshotStoreItem) ProtoReflect ¶
func (x *SnapshotStoreItem) ProtoReflect() protoreflect.Message
func (*SnapshotStoreItem) Reset ¶
func (x *SnapshotStoreItem) Reset()
func (*SnapshotStoreItem) String ¶
func (x *SnapshotStoreItem) String() string
type StoreInfo ¶
type StoreInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CommitId *CommitID `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
StoreInfo defines store-specific commit information. It contains a reference between a store name and the commit ID.
func (*StoreInfo) Descriptor
deprecated
func (*StoreInfo) GetCommitId ¶
func (*StoreInfo) ProtoMessage ¶
func (*StoreInfo) ProtoMessage()
func (*StoreInfo) ProtoReflect ¶
func (x *StoreInfo) ProtoReflect() protoreflect.Message
type StoreKVPair ¶
type StoreKVPair struct { StoreKey string `protobuf:"bytes,1,opt,name=store_key,json=storeKey,proto3" json:"store_key,omitempty"` // the store key for the KVStore this pair originates from Delete bool `protobuf:"varint,2,opt,name=delete,proto3" json:"delete,omitempty"` // true indicates a delete operation, false indicates a set operation Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and Deletes
Since: cosmos-sdk 0.43
func (*StoreKVPair) Descriptor
deprecated
func (*StoreKVPair) Descriptor() ([]byte, []int)
Deprecated: Use StoreKVPair.ProtoReflect.Descriptor instead.
func (*StoreKVPair) GetDelete ¶
func (x *StoreKVPair) GetDelete() bool
func (*StoreKVPair) GetKey ¶
func (x *StoreKVPair) GetKey() []byte
func (*StoreKVPair) GetStoreKey ¶
func (x *StoreKVPair) GetStoreKey() string
func (*StoreKVPair) GetValue ¶
func (x *StoreKVPair) GetValue() []byte
func (*StoreKVPair) ProtoMessage ¶
func (*StoreKVPair) ProtoMessage()
func (*StoreKVPair) ProtoReflect ¶
func (x *StoreKVPair) ProtoReflect() protoreflect.Message
func (*StoreKVPair) Reset ¶
func (x *StoreKVPair) Reset()
func (*StoreKVPair) String ¶
func (x *StoreKVPair) String() string