Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestDecodeBlockRequestHandlerFn ¶
func LatestDecodeBlockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func QueryDecodeBlockRequestHandlerFn ¶
func QueryDecodeBlockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func RegisterBlockRoutes ¶
func RegisterBlockRoutes(cliCtx context.CLIContext, r *mux.Router)
Types ¶
type DecodeBlock ¶
type DecodeBlock struct { sdk.Header `json:"header"` DecodeData `json:"data"` Evidence sdk.EvidenceData `json:"evidence"` LastCommit *sdk.Commit `json:"last_commit"` // contains filtered or unexported fields }
type DecodeData ¶
type DecodeResultBlock ¶
type DecodeResultBlock struct { BlockID sdk.BlockID `json:"block_id"` DecodeBlock *DecodeBlock `json:"block"` }
Click to show internal directories.
Click to hide internal directories.