cli

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: GPL-3.0 Imports: 22 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"
	FlagZenaChainID        = "zena-chain-id"
	FlagHeaderNumber       = "header"
	FlagCheckpointTxHash   = "txhash"
	FlagCheckpointLogIndex = "log-index"
	FlagAutoConfigure      = "auto-configure"
	FlagLimit              = "limit"
	FlagPage               = "page"
)

Variables

This section is empty.

Functions

func GetCheckpointBuffer

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

GetCheckpointBuffer get checkpoint present in buffer

func GetCheckpointByNumber

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

GetHeaderFromIndex get checkpoint given header index

func GetCheckpointCount

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

GetCheckpointCount get number of checkpoint received count

func GetCheckpointLatest

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

GetCheckpointLatest get the latest checkpoint

func GetCheckpointList

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

GetLastNoACK get last no ack time

func GetLastNoACK

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

GetLastNoACK get last no ack time

func GetOverview

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

GetOverview gives the complete state dump of iris

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

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

type CheckpointWithID

type CheckpointWithID struct {
	ID          uint64              `json:"id"`
	Proposer    hmTypes.IrisAddress `json:"proposer"`
	StartBlock  uint64              `json:"start_block"`
	EndBlock    uint64              `json:"end_block"`
	RootHash    hmTypes.IrisHash    `json:"root_hash"`
	ZenaChainID string              `json:"zena_chain_id"`
	TimeStamp   uint64              `json:"timestamp"`
}

Temporary Checkpoint struct to store the Checkpoint ID

Jump to

Keyboard shortcuts

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