cmd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagMinBlockHeight       = "min-block-height"
	ExceedBlockGasLimitError = "out of gas in location: block gas meter; gasWanted:"
	FlagPrintBlockNumbers    = "print-block-numbers"
)
View Source
const (
	FlagPrintTxs    = "print-txs"
	FlagBlocksFile  = "blocks-file"
	FlagStartBlock  = "start-block"
	FlagEndBlock    = "end-block"
	FlagConcurrency = "concurrency"
)
View Source
const EnvPrefix = "CRONOS"

Variables

View Source
var ChainID string

Functions

func AddGenesisAccountCmd

func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command

AddGenesisAccountCmd returns add-genesis-account cobra Command.

func FixUnluckyTxCmd added in v0.6.10

func FixUnluckyTxCmd() *cobra.Command

FixUnluckyTxCmd update the tx execution result of false-failed tx in tendermint db

func NewRootCmd

func NewRootCmd() (*cobra.Command, params.EncodingConfig)

NewRootCmd creates a new root command for simd. It is called once in the main function.

func ReindexDuplicatedTx added in v0.7.1

func ReindexDuplicatedTx() *cobra.Command

ReindexDuplicatedTx update the tx execution result of false-failed tx in tendermint db

func TxExceedsBlockGasLimit added in v0.7.1

func TxExceedsBlockGasLimit(result *abci.ResponseDeliverTx) bool

TxExceedsBlockGasLimit returns true if tx's execution exceeds block gas limit

Types

This section is empty.

Jump to

Keyboard shortcuts

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