cli

package
v0.2.3-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagProposerAddress    = "proposer"
	FlagFromAddress        = "from"
	FlagStartBlock         = "start-block"
	FlagEndBlock           = "end-block"
	FlagRootHash           = "root-hash"
	FlagAccountRootHash    = "account-root-hash"
	FlagBorChainID         = "bor-chain-id"
	FlagHeaderNumber       = "header"
	FlagCheckpointTxHash   = "txhash"
	FlagCheckpointLogIndex = "log-index"
	FlagAutoConfigure      = "auto-configure"
)

Variables

This section is empty.

Functions

func GetCheckpointBuffer

func GetCheckpointBuffer(cdc *codec.Codec) *cobra.Command

GetCheckpointBuffer get checkpoint present in buffer

func GetCheckpointCount

func GetCheckpointCount(cdc *codec.Codec) *cobra.Command

GetCheckpointCount get number of checkpoint received count

func GetHeaderFromIndex

func GetHeaderFromIndex(cdc *codec.Codec) *cobra.Command

GetHeaderFromIndex get checkpoint given header index

func GetLastNoACK

func GetLastNoACK(cdc *codec.Codec) *cobra.Command

GetLastNoACK get last no ack time

func GetQueryCmd

func GetQueryCmd(cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetQueryParams

func GetQueryParams(cdc *codec.Codec) *cobra.Command

GetQueryParams implements the params query command.

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd returns the transaction commands for this module

func SendCheckpointACKTx

func SendCheckpointACKTx(cdc *codec.Codec) *cobra.Command

SendCheckpointACKTx send checkpoint ack transaction

func SendCheckpointAdjust added in v0.2.3

func SendCheckpointAdjust(cdc *codec.Codec) *cobra.Command

SendCheckpointAdjust adjusts previous checkpoint transaction

func SendCheckpointNoACKTx

func SendCheckpointNoACKTx(cdc *codec.Codec) *cobra.Command

SendCheckpointNoACKTx send no-ack transaction

func SendCheckpointTx

func SendCheckpointTx(cdc *codec.Codec) *cobra.Command

SendCheckpointTx send checkpoint transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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