Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Sparkle Mining Guide (Linux)?  (Read 385 times)

0 Members and 1 Guest are viewing this topic.

Offline smith7800

  • Newbie
  • *
  • Posts: 8
    • View Profile
Sparkle Mining Guide (Linux)?
« 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?

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 943
    • View Profile
Re: Sparkle Mining Guide (Linux)?
« Reply #1 on: December 02, 2014, 02:23:46 AM »
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.

Offline smith7800

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Sparkle Mining Guide (Linux)?
« Reply #2 on: December 02, 2014, 02:50:57 AM »
Excellent info.  Thanks.  Is there a command to display mining speed?

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 943
    • View Profile
Re: Sparkle Mining Guide (Linux)?
« Reply #3 on: December 02, 2014, 03:10:38 AM »
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.

 

Google+