Difference between revisions of "NodeCore CommandLine"

From Veriblock Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
=== connect ===
 
=== connect ===
 +
 +
Connects to an instance of nodecore
 +
 +
Syntax:
 +
 +
<pre>
 +
connect <peer>
 +
</pre>
 +
 +
Examples:
 +
 +
<pre>
 +
#connect to an instance
 +
help
 +
 +
</pre>
  
 
=== help ===
 
=== help ===
Line 28: Line 44:
  
 
Examples:
 
Examples:
 
 
<pre>
 
<pre>
 
#returns list of available commands
 
#returns list of available commands
Line 38: Line 53:
 
</pre>
 
</pre>
  
 +
=== quit ===
 +
 +
Standard quit command, exits the console
  
 
== Commands: Connected ==
 
== Commands: Connected ==

Revision as of 18:39, 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

Syntax:

connect <peer>

Examples:

#connect to an instance
help

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