NodeCore CommandLine

From Veriblock Wiki
Jump to: navigation, search

See: Main_Page

Overview

The NodeCore CommandLine can access an instance of NodeCore

Commands: Not Connected

When first started, the command line is not connected.

clear

Standard command, clears the screen

connect

Connects to an instance of nodecore via gRPC, on port 10500.

If connected to a node, then many other commands are available.

Syntax:

connect <peer>

Examples:

#connect to an instance
connect 78.46.106.162:10500

help

Standard help command.

Syntax:

help [command]

Examples:

#returns list of available commands
help

#returns info for a specific command
help connect

quit

Standard quit command, exits the console

Commands: Connected

All commands:

Command Explanation Example
addNode ... ...
getBalance
getBlockchains
getBlocks
getBlockTemplate
getBlockTimes
getHistory
getInfo
getLastBitcoinBlock
getNewAddress
getPeerInfo
getPendingTransactions
getPop
getSignatureIndex
getTransactions
removeNode
sendCoins
setTransactionFee
signMessage
submitBlocks
submitPop
submitTransactions
validateAddress