BitShares Forum
Main => General Discussion => Topic started by: smith7800 on December 02, 2014, 01:29:27 am
-
Can anybody help me get started mining on ubuntu? i was able to compile the binary, but not sure how to get the wallet to start mining or get a list of rpc commands. Is there documentation somewhere?
-
Once you've compiled it:
cd programs/client
./sparkle_client
wallet_create name password
wallet_unlock 99999999 password
wallet_account_create name
wallet_enable_mining name true
"help" gives you a list of commands, getinfo gives you info including current difficulty and time since last block, wallet_account_balance shows how much you've mined, and blockchain_list_blocks lists the recent blocks.
If all the recent blocks are signed by the same key, you're very likely on your own private fork. To resolve that, "quit", delete "~/.Sparkle-Test65/chain", and restart the client and start mining again.
-
Excellent info. Thanks. Is there a command to display mining speed?
-
No, I don't believe there is yet. It's still early alpha, they're just honoring mined blocks to motivate the creation of a legitimate test network.
Good thing too, with the initial difficulty adjustment algorithm causing all this forking and near halting.