Versions in this module Expand all Collapse all v0 v0.0.2 Feb 4, 2023 v0.0.1 Feb 4, 2023 Changes in this version + const ProofOpMultiStore + func DefaultProofRuntime() (prt *merkle.ProofRuntime) + func MultiStoreProofOpDecoder(pop merkle.ProofOp) (merkle.ProofOperator, error) + func QueryKeyWithProof(node rpcclient.Client, key []byte, storeName string, height int64) ([]byte, []byte, []byte, error) + func RequireProof(subpath string) bool + type Codec = amino.Codec + var Cdc *Codec + type CommitID struct + Hash []byte + Version int64 + func (cid CommitID) IsZero() bool + func (cid CommitID) String() string + type CommitInfo struct + StoreInfos []StoreInfo + Version int64 + func (ci CommitInfo) CommitID() CommitID + func (ci CommitInfo) Hash() []byte + type ConsensusState struct + AppHash []byte + ChainID string + CurValidatorSetHash []byte + Height uint64 + NextValidatorSet *tmtypes.ValidatorSet + func DecodeConsensusState(input []byte) (ConsensusState, error) + func GetInitConsensusState(node rpcclient.Client, height int64) (*ConsensusState, error) + func (cs *ConsensusState) ApplyHeader(header *Header) (bool, error) + func (cs ConsensusState) EncodeConsensusState() ([]byte, error) + type Header struct + NextValidatorSet *tmtypes.ValidatorSet + ValidatorSet *tmtypes.ValidatorSet + func DecodeHeader(input []byte) (*Header, error) + func QueryTendermintHeader(node rpcclient.Client, height int64) (*Header, error) + func (h *Header) EncodeHeader() ([]byte, error) + func (h *Header) Validate(chainID string) error + type KeyValueMerkleProof struct + AppHash []byte + Key []byte + Proof *merkle.Proof + StoreName string + Value []byte + func DecodeKeyValueMerkleProof(input []byte) (*KeyValueMerkleProof, error) + func (kvmp *KeyValueMerkleProof) SetVerifiers(verifiers []merkle.ProofOpVerifier) + func (kvmp *KeyValueMerkleProof) Validate() bool + type MultiStoreProof struct + StoreInfos []StoreInfo + func NewMultiStoreProof(storeInfos []StoreInfo) *MultiStoreProof + func (proof *MultiStoreProof) ComputeRootHash() []byte + type MultiStoreProofOp struct + Proof *MultiStoreProof + func NewMultiStoreProofOp(key []byte, proof *MultiStoreProof) MultiStoreProofOp + func (op MultiStoreProofOp) GetKey() []byte + func (op MultiStoreProofOp) ProofOp() merkle.ProofOp + func (op MultiStoreProofOp) Run(args [][]byte) ([][]byte, error) + func (op MultiStoreProofOp) String() string + type StoreCore struct + CommitID CommitID + type StoreInfo struct + Core StoreCore + Name string + func (si StoreInfo) Hash() []byte