consensus

package
v0.2601.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package consensus implements the consensus sub-commands.

Index

Constants

View Source
const (
	// CmdConsensus is the consensus subcommand.
	CmdConsensus = "consensus"
	// CmdSubmitTx is the submit_tx subcommand.
	CmdSubmitTx = "submit_tx"
	// CmdShowTx is the show_tx subcommand.
	CmdShowTx = "show_tx"
	// CmdEstimateGas is the estimate_gas subcommand.
	CmdEstimateGas = "estimate_gas"
	// CmdNextBlockState is the next_block_state subcommand.
	CmdNextBlockState = "next_block_state"

	// CfgSignerPub is the public key of the account that will sign an unsigned transaction in estimate gas.
	CfgSignerPub = "consensus.signer_pub"
)

Variables

This section is empty.

Functions

func Register

func Register(parentCmd *cobra.Command)

Register registers the consensus sub-command and all of it's children.

Types

This section is empty.

Jump to

Keyboard shortcuts

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