Documentation ¶
Index ¶
- Variables
- func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetChildrenHash() string
- func (m *Node) GetHash() string
- func (m *Node) GetKey() string
- func (m *Node) GetLeft() string
- func (m *Node) GetPriority() uint64
- func (m *Node) GetRight() string
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type StateInfo
- func (*StateInfo) Descriptor() ([]byte, []int)
- func (m *StateInfo) GetCreatedAtTimestamp() uint64
- func (m *StateInfo) GetHash() string
- func (m *StateInfo) GetIndex() string
- func (m *StateInfo) GetLastUpdateOperationIndex() string
- func (m *StateInfo) Marshal() (dAtA []byte, err error)
- func (m *StateInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *StateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateInfo) ProtoMessage()
- func (m *StateInfo) Reset()
- func (m *StateInfo) Size() (n int)
- func (m *StateInfo) String() string
- func (m *StateInfo) Unmarshal(dAtA []byte) error
- func (m *StateInfo) XXX_DiscardUnknown()
- func (m *StateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateInfo) XXX_Merge(src proto.Message)
- func (m *StateInfo) XXX_Size() int
- func (m *StateInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error
Types ¶
type Node ¶
type Node struct { // Node key (identity state hash) Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Node priority (should be random) Priority uint64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // Node left son key Left string `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"` // Node right son key Right string `protobuf:"bytes,5,opt,name=right,proto3" json:"right,omitempty"` // Merkle hash. H = Hash(Hash(left_key|right_key)|self_key) Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` // Hash(left_key|right_key) ChildrenHash string `protobuf:"bytes,7,opt,name=childrenHash,proto3" json:"childrenHash,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) GetChildrenHash ¶
func (*Node) GetPriority ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type StateInfo ¶
type StateInfo struct { // State info index (issuer id) Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // State hash in hex with 0x Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Creation timestamps CreatedAtTimestamp uint64 `protobuf:"varint,3,opt,name=createdAtTimestamp,proto3" json:"createdAtTimestamp,omitempty"` // Index of last update/create operation LastUpdateOperationIndex string `protobuf:"bytes,4,opt,name=lastUpdateOperationIndex,proto3" json:"lastUpdateOperationIndex,omitempty"` }
func (*StateInfo) Descriptor ¶
func (*StateInfo) GetCreatedAtTimestamp ¶
func (*StateInfo) GetLastUpdateOperationIndex ¶
func (*StateInfo) MarshalToSizedBuffer ¶
func (*StateInfo) ProtoMessage ¶
func (*StateInfo) ProtoMessage()
func (*StateInfo) XXX_DiscardUnknown ¶
func (m *StateInfo) XXX_DiscardUnknown()
func (*StateInfo) XXX_Marshal ¶
func (*StateInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.