Difference between revisions of "PoP Miner CommandLine"

From Veriblock Wiki
Jump to: navigation, search
Line 29: Line 29:
  
 
Resubmits an operation
 
Resubmits an operation
 +
 +
If you get an error like so, then try the resubmit command:
 +
 +
<pre>
 +
Mining operation action took longer than expected. Operation can be resubmitted.
 +
</pre>
  
 
== Config Commands ==
 
== Config Commands ==

Revision as of 12:54, 30 April 2018

See: Main_Page, HowTo_run_PoP_Miner#Status_Codes

Overview

Operation Commands

getoperation

getoperation <id>

Gets the details of the supplied operation

listoperations

Lists the current running operations

mine

Begins a proof of proof mining operation

This requires a NodeCore instance running and Bitcoin in the PoP Wallet address.

resubmit

resubmit <id>

Resubmits an operation

If you get an error like so, then try the resubmit command:

Mining operation action took longer than expected. Operation can be resubmitted.

Config Commands

listconfig

Lists the current configuration properties and values

setconfig

setconfig <key> <value>

Sets a new value for a config property

Bitcoin Wallet Commands

The PoP Miner has its own Bitcoin wallet for which it uses for PoP Transactions.

withdrawbitcointoaddress

withdrawbitcointoaddress <address> <amount>

Sends a Bitcoin amount to a given address. Withdraws bitcoin from the PoP BTC wallet.

showbitcoinaddress

Displays the current address for receiving Bitcoin

showbitcoinbalance

Displays the current balance for the Bitcoin wallet

Shell Commands

clear

Clears the terminal screen

help

Shows the various commands.

quit

Quit the application

Reward Commands

getpopendorsementinfo

Returns information regarding PoP endorsements for a given address

showmineraddress

Returns the NodeCore VeriBlock miner address. This is the address that will receive a reward once the PoP transaction is finalized in 250 blocks.