This is a collection of common commands often used when working with a QT wallet, to create, start and manage master nodes.
The purpose of this cheat sheet is to act as a go-to for QT wallet commands in general, it does not serve to be specific to any particular master node type. You should always refer to the node guide for specific commands which may be required.
The following commands are executed in debug console which is normally accessed > Tools > Debug Console
|The command can be run within debug to provide the address to send collateral to
Masternode Registration & Management
|This command will provide you with the collateral hash and the collateral index
|Will generate a new masternodepriv key
|Provides information regarding the configured master node from masternode.conf provides alias, address, privateKey, txHash, outputIndex and status
Wallet Sync Status
|Displays the block height
|Displays various information regarding the chain including chain, blocks headers etc
General Wallet Commands
|Provides a balance of the wallet
|Overview of wallet info including version, balance and transmit counts etc
|Further information on the complete commands available and how to execute them for the given wallet
addnode "node" "add|remove|onetry"
|To add or remove a node from the add node list.
Onetry will attempt connection to a node once.
|To clear all banned IP’s
|Will immediately close connection with the detailed node
getaddednodeinfo dns "node"
|Returns information about the given added node,
or all added nodes (note that onetry addnodes are not listed here)
If DNS is false, only a list of added nodes will be
provided, otherwise, connected information
will also be available
|Returns the number of connections to other nodes
|Returns information about network traffic, including
bytes in, bytes out, and current time
|Returns an object containing various state info
regarding P2P networking
|Returns data about each connected network node as a
JSON array of objects
|List all banned IPs/Subnets
|Requests that ping is sent to all nodes
setban "ip(/netmask)" "add|remove" (bantime) (absolute)
|Attempts add or remove a IP/Subnet from the