rest

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RestLogger tmLog.Logger

RestLogger for staking module logger

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)

RegisterRoutes registers checkpoint-related REST handlers to a router

Types

type AddRecordReq

type AddRecordReq struct {
	BaseReq rest.BaseReq `json:"base_req"`

	TxHash     types.HeimdallHash `json:"tx_hash"`
	LogIndex   uint64             `json:"log_index"`
	ID         uint64             `json:"id"`
	BorChainID string             `json:"bor_chain_id"`
}

AddRecordReq add validator request object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL