Author Topic: Sparkle Mining Guide (Linux)?  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
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.

Offline smith7800

  • Newbie
  • *
  • Posts: 8
    • View Profile
Excellent info.  Thanks.  Is there a command to display mining speed?

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
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
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?