cli

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagPubKey       = "pubkey"
	FlagAmount       = "amount"
	FlagDepositDelta = "deposit-delta"
	FlagIncrDeposit  = "incr-deposit"
	FlagNodeType     = "node-type"

	FlagMoniker         = "moniker"
	FlagIdentity        = "identity"
	FlagWebsite         = "website"
	FlagSecurityContact = "security-contact"
	FlagDetails         = "details"

	FlagNetworkAddress          = "network-address"
	FlagCandidateOwnerAddress   = "candidate-owner-address"
	FlagCandidateNetworkAddress = "candidate-network-address"
	FlagOpinion                 = "opinion"
	FlagVoterNetworkAddress     = "voter-network-address"
)

Variables

This section is empty.

Functions

func CreateMetaNodeCmd added in v0.8.0

func CreateMetaNodeCmd() *cobra.Command

CreateMetaNodeCmd will create a file upload tx and sign it with the given key.

func CreateResourceNodeCmd

func CreateResourceNodeCmd() *cobra.Command

CreateResourceNodeCmd will create a file upload tx and sign it with the given key.

func GetCmdQueryMetaNode added in v0.8.0

func GetCmdQueryMetaNode() *cobra.Command

GetCmdQueryMetaNode implements the query meta nodes by network address command.

func GetCmdQueryMetaNodesCnt added in v0.8.0

func GetCmdQueryMetaNodesCnt() *cobra.Command

GetCmdQueryMetaNodesCnt implements the query total number of bonded meta nodes.

func GetCmdQueryParams added in v0.8.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the params query command.

func GetCmdQueryResourceNode added in v0.7.0

func GetCmdQueryResourceNode() *cobra.Command

GetCmdQueryResourceNode implements the query resource nodes by network address command.

func GetCmdQueryResourceNodesCnt added in v0.8.0

func GetCmdQueryResourceNodesCnt() *cobra.Command

GetCmdQueryResourceNodesCnt implements the query total number of bonded resource nodes.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for register module

func MetaNodeRegistrationVoteCmd added in v0.8.0

func MetaNodeRegistrationVoteCmd() *cobra.Command

MetaNodeRegistrationVoteCmd Meta node registration need to be approved by 2/3 of existing meta nodes

func NewTxCmd added in v0.8.0

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

func RemoveMetaNodeCmd added in v0.8.0

func RemoveMetaNodeCmd() *cobra.Command

func RemoveResourceNodeCmd

func RemoveResourceNodeCmd() *cobra.Command

func UpdateMetaNodeCmd added in v0.8.0

func UpdateMetaNodeCmd() *cobra.Command

func UpdateMetaNodeDepositCmd added in v0.10.0

func UpdateMetaNodeDepositCmd() *cobra.Command

UpdateMetaNodeDepositCmd will add/subtract meta node's deposit.

func UpdateResourceNodeCmd added in v0.4.0

func UpdateResourceNodeCmd() *cobra.Command

func UpdateResourceNodeDepositCmd added in v0.10.0

func UpdateResourceNodeDepositCmd() *cobra.Command

UpdateResourceNodeDepositCmd will add/subtract resource node's deposit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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