- Fixed the unloadwallet bug. If a wallet is unloaded and removed the thread for staking will be die gracefully. Created new fStopMining bool. Could be used as an rpccommand to halt all mining.
- Added some missing rpccommands. walletpassphrase, walletlock, walletpassphrasechange and encryptwallet(although that caused a crash with usewallets(not sure why yet), but it did encrypt the wallet).
- loadwallet bug to start staking on an offline wallet almost complete.
Included in 1.2.1.2
- Fixed the loadwallet bug. You can now copy any wallet into the %appdata% directory and it will start running stake with just a few simple commands.
{
"" : {
"balance" : 900.00000000,
"encrypted" : false,
"walletversion" : 60000,
"keypoolsize" : 103,
"keypoololdest" : 1382915576,
"newmint" : 0.00000000,
"stake" : 0.00000000
},
"4kHBN" : {
"balance" : 4570.67711200,
"encrypted" : false,
"walletversion" : 60000,
"keypoolsize" : 102,
"keypoololdest" : 1380315365,
"newmint" : 0.00000000,
"stake" : 5.02299800
},
"offlineWallet1" : {
"balance" : 15.00000000,
"encrypted" : true,
"unlocked_until" : 1384996515,
"unlocked_until_pretty" : "2013-11-21 01:15:15 (UTC)",
"walletversion" : 60000,
"keypoolsize" : 101,
"keypoololdest" : 1382924536,
"newmint" : 0.00000000,
"stake" : 0.00000000
}
}
After is stake to your satisfaction you can simply unload the wallet and remove it from the directory.
Setting to work on the GUI now, unless someone knows something else the is broken.