Difference between revisions of "NodeCore CommandLine"

From Veriblock Wiki
Jump to: navigation, search
Line 17: Line 17:
 
=== connect ===
 
=== connect ===
  
Connects to an instance of nodecore
+
Connects to an instance of nodecore via gRPC, on port 10500.
 +
 
 +
If connected to a node, then many other commands are available.
  
 
Syntax:
 
Syntax:
Line 29: Line 31:
 
<pre>
 
<pre>
 
#connect to an instance
 
#connect to an instance
help
+
connect 78.46.106.162:10500
  
 
</pre>
 
</pre>

Revision as of 18:40, 20 January 2018

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