Documentation ¶
Index ¶
- Constants
- func CreateMetaNodeCmd() *cobra.Command
- func CreateResourceNodeCmd() *cobra.Command
- func GetCmdQueryMetaNode() *cobra.Command
- func GetCmdQueryMetaNodesCnt() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetCmdQueryResourceNode() *cobra.Command
- func GetCmdQueryResourceNodesCnt() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func MetaNodeRegistrationVoteCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func RemoveMetaNodeCmd() *cobra.Command
- func RemoveResourceNodeCmd() *cobra.Command
- func UpdateMetaNodeCmd() *cobra.Command
- func UpdateMetaNodeStakeCmd() *cobra.Command
- func UpdateResourceNodeCmd() *cobra.Command
- func UpdateResourceNodeStakeCmd() *cobra.Command
Constants ¶
const ( FlagPubKey = "pubkey" FlagAmount = "amount" FlagStakeDelta = "stake-delta" FlagIncrStake = "incr-stake" 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
CreateMetaNodeCmd will create a file upload tx and sign it with the given key.
func CreateResourceNodeCmd ¶
CreateResourceNodeCmd will create a file upload tx and sign it with the given key.
func GetCmdQueryMetaNode ¶ added in v0.8.0
GetCmdQueryMetaNode implements the query meta nodes by network address command.
func GetCmdQueryMetaNodesCnt ¶ added in v0.8.0
GetCmdQueryMetaNodesCnt implements the query total number of bonded meta nodes.
func GetCmdQueryParams ¶ added in v0.8.0
GetCmdQueryParams implements the params query command.
func GetCmdQueryResourceNode ¶ added in v0.7.0
GetCmdQueryResourceNode implements the query resource nodes by network address command.
func GetCmdQueryResourceNodesCnt ¶ added in v0.8.0
GetCmdQueryResourceNodesCnt implements the query total number of bonded resource nodes.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for register module
func MetaNodeRegistrationVoteCmd ¶ added in v0.8.0
MetaNodeRegistrationVoteCmd Meta node registration need to be approved by 2/3 of existing meta nodes
func RemoveMetaNodeCmd ¶ added in v0.8.0
func RemoveResourceNodeCmd ¶
func UpdateMetaNodeCmd ¶ added in v0.8.0
func UpdateMetaNodeStakeCmd ¶ added in v0.8.0
UpdateMetaNodeStakeCmd will add/subtract meta node's stake.
func UpdateResourceNodeCmd ¶ added in v0.4.0
func UpdateResourceNodeStakeCmd ¶ added in v0.6.0
UpdateResourceNodeStakeCmd will add/subtract resource node's stake.
Types ¶
This section is empty.