block

package
v0.0.0-...-cadc63e Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryBlock

func QueryBlock(cdc *amino.Codec, ip string, height int64) (*ctypes.ResultBlock, error)

func QueryStatus

func QueryStatus(cdc *amino.Codec, ip string) (*ctypes.SyncInfo, error)

func QueryTx

func QueryTx(cdc *amino.Codec, ip string, tx string) (result types.TxResponseResult, err error)

func QueryTxInner

func QueryTxInner(cliCtx context.CLIContext, hashHexStr string) (btypes.TxResponse, error)

QueryTx queries for a single transaction by a hash string in hex format. An error is returned if the transaction does not exist or cannot be queried.

func Register

func Register(engine *gin.Engine)

Types

type LatestHeight

type LatestHeight struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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