Documentation ¶
Index ¶
- func PostProcessQueryResponse(w http.ResponseWriter, cliCtx context.CLIContext, bz []byte)
- func QuerySearchLatestRequest(route string, cliCtx context.CLIContext, ...) ([]byte, int64, error)
- func VerifyRequest(route string, cliCtx context.CLIContext, chainID string, ...) ([]byte, int64, error)
- type VerificationMessage
- type VerificationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostProcessQueryResponse ¶
func PostProcessQueryResponse(w http.ResponseWriter, cliCtx context.CLIContext, bz []byte)
func VerifyRequest ¶
Types ¶
type VerificationMessage ¶
type VerificationMessage struct { ChainID string `json:"chain_id"` Validator sdk.ValAddress `json:"validator"` RequestID types.RequestID `json:"request_id"` ExternalID types.ExternalID `json:"external_id"` }
TODO: Refactor this code with yoda
func NewVerificationMessage ¶
func NewVerificationMessage( chainID string, validator sdk.ValAddress, requestID types.RequestID, externalID types.ExternalID, ) VerificationMessage
func (VerificationMessage) GetSignBytes ¶
func (msg VerificationMessage) GetSignBytes() []byte
type VerificationResult ¶
type VerificationResult struct { ChainID string `json:"chain_id"` Validator sdk.ValAddress `json:"validator"` RequestID types.RequestID `json:"request_id,string"` ExternalID types.ExternalID `json:"external_id,string"` DataSourceID types.DataSourceID `json:"data_source_id,string"` }
Click to show internal directories.
Click to hide internal directories.