package
0.10.0-rc.3
Repository: https://github.com/odin-protocol/odin-core.git
Documentation: pkg.go.dev
# Functions
GetBlockHeaderMerkleParts converts Tendermint block header struct into BlockHeaderMerkleParts for gas-optimized proof verification.
GetMerklePaths returns the list of MerklePath elements from the given iAVL proof.
GetMultiStoreProof compacts Multi store proof from Tendermint to MultiStoreProof version.
No description provided by the author
GetSignaturesAndPrefix returns a list of TMSignature from Tendermint signed header.
NewProofServer returns new proofServer from provided client.Context.
No description provided by the author
RegisterGRPCGatewayRoutes mounts the node gRPC service's GRPC-gateway routes on the given mux object.
RegisterProofService registers the node gRPC service on the provided gRPC router.
RegisterServiceHandler registers the http handlers for service Service to "mux".
RegisterServiceHandlerClient registers the http handlers for service Service to "mux".
RegisterServiceHandlerFromEndpoint is same as RegisterServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterServiceHandlerServer registers the http handlers for service Service to "mux".
No description provided by the author
# Constants
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BlockHeaderMerkleParts stores a group of hashes using for computing Tendermint's block header hash from app hash, and height.
BlockHeaderMerklePartsEthereum is an Ethereum version of BlockHeaderMerkleParts for solidity ABI-encoding.
BlockRelayProof contains multi store proof, block header merkle parts, common encoded part and signatures.
CommonEncodedVotePart represents the common part of encoded vote.
No description provided by the author
CountProof contains block height, count proof and block relay proof.
CountProofResponse is the data structure for response of count proof.
IAVLMerklePath represents a Merkle step to a leaf data node in an iAVL tree.
IAVLMerklePathEthereum is an Ethereum version of IAVLMerklePath for solidity ABI-encoding.
MultiProof contains block height, list of oracle data proof and block relay proof.
MultiProofResponse is the data structure for response of multi proof.
MultiStoreProof stores a compact of other Cosmos-SDK modules' storage hash in multistore to compute (in combination with oracle store hash) Tendermint's application state hash at a given block.
MultiStoreProofEthereum is an Ethereum version of MultiStoreProof for solidity ABI-encoding.
OracleDataProof contains result, version and merkle paths.
QueryMultiProofRequest is request type for the Service/MultiProof RPC method.
QueryProofRequest is request type for the Service/Proof RPC method.
QueryRequestCountProofRequest is request type for the Service/RequestCountProof RPC method.
RequestsCountProof contains count, version and merkle paths.
ResultEthereum is an Ethereum version of Result for solidity ABI-encoding.
QueryMultiProofResponse is response type for the Service/MultiProof RPC method.
QueryChainIDResponse is response type for the Service/Proof RPC method.
QueryRequestCountProofResponse is response type for the Service/RequestCountProof RPC method.
SingleProof contains block height, oracle data proof and block relay proof.
SingleProofResponse is the data structure for response of single proof.
TMSignature contains all details of validator signature for performing signer recovery for ECDSA secp256k1 signature.
TMSignatureEthereum is an Ethereum version of TMSignature for solidity ABI-encoding.
UnimplementedServiceServer can be embedded to have forward compatible implementations.
# Interfaces
ServiceClient is the client API for Service service.
ServiceServer is the server API for Service service.