Documentation ¶
Index ¶
- Variables
- func CalculateCommitmentSlot(path []byte) string
- func ChannelStateCommitmentSlot(portID, channelID string) string
- func ClientStateCommitmentSlot(clientID string) string
- func ConnectionStateCommitmentSlot(connectionID string) string
- func ConsensusStateCommitmentSlot(clientID string, height exported.Height) string
- func PacketAcknowledgementCommitmentSlot(portID, channelID string, sequence uint64) string
- func PacketCommitmentSlot(portID, channelID string, sequence uint64) string
- type MerklePrefix
- func (*MerklePrefix) Descriptor() ([]byte, []int)
- func (m *MerklePrefix) GetKeyPrefix() []byte
- func (m *MerklePrefix) Marshal() (dAtA []byte, err error)
- func (m *MerklePrefix) MarshalTo(dAtA []byte) (int, error)
- func (m *MerklePrefix) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerklePrefix) ProtoMessage()
- func (m *MerklePrefix) Reset()
- func (m *MerklePrefix) Size() (n int)
- func (m *MerklePrefix) String() string
- func (m *MerklePrefix) Unmarshal(dAtA []byte) error
- func (m *MerklePrefix) XXX_DiscardUnknown()
- func (m *MerklePrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerklePrefix) XXX_Merge(src proto.Message)
- func (m *MerklePrefix) XXX_Size() int
- func (m *MerklePrefix) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CalculateCommitmentSlot ¶
func PacketCommitmentSlot ¶
Types ¶
type MerklePrefix ¶
type MerklePrefix struct {
KeyPrefix []byte `protobuf:"bytes,1,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty" yaml:"key_prefix"`
}
MerklePrefix is merkle path prefixed to the key. The constructed key from the Path and the key will be append(Path.KeyPath, append(Path.KeyPrefix, key...))
func (*MerklePrefix) Descriptor ¶
func (*MerklePrefix) Descriptor() ([]byte, []int)
func (*MerklePrefix) GetKeyPrefix ¶
func (m *MerklePrefix) GetKeyPrefix() []byte
func (*MerklePrefix) Marshal ¶
func (m *MerklePrefix) Marshal() (dAtA []byte, err error)
func (*MerklePrefix) MarshalToSizedBuffer ¶
func (m *MerklePrefix) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerklePrefix) ProtoMessage ¶
func (*MerklePrefix) ProtoMessage()
func (*MerklePrefix) Reset ¶
func (m *MerklePrefix) Reset()
func (*MerklePrefix) Size ¶
func (m *MerklePrefix) Size() (n int)
func (*MerklePrefix) String ¶
func (m *MerklePrefix) String() string
func (*MerklePrefix) Unmarshal ¶
func (m *MerklePrefix) Unmarshal(dAtA []byte) error
func (*MerklePrefix) XXX_DiscardUnknown ¶
func (m *MerklePrefix) XXX_DiscardUnknown()
func (*MerklePrefix) XXX_Marshal ¶
func (m *MerklePrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerklePrefix) XXX_Merge ¶
func (m *MerklePrefix) XXX_Merge(src proto.Message)
func (*MerklePrefix) XXX_Size ¶
func (m *MerklePrefix) XXX_Size() int
func (*MerklePrefix) XXX_Unmarshal ¶
func (m *MerklePrefix) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.