People are probably sick of this question. I've tried following guides to recover my coins, but I'm no further forward. I'd appreciate some help. I was stake mining for a while, but have had the computer off for quite some time now. When I open my wallet, I see only 26.xx decred with a "getbalance". I see the expected full amount 295.xx with a "getbalance "default" 0 all". My missed and revoked count did not match, so I followed info in the POS Mining FAQ's, with a rebroadcastmissed. I then restarted the daemon and wallet with --prunetickets --reuseaddresses. Gettickets 1 now shows me that I have no live tickets, which I think is what I should expect. However, getbalance still only showed 26 decred. I then tried to consolidate (rightly or wrongly?!) with --wallet consolidate 99999 default, but my getbalance still shows 26. If I run "getbalance "default" 0 all" I get the expected total of 295. Can anyone tell me what is going on? Getstakeinfo gives me: "poolsize": 42294, "difficulty": 38.24542168, "allmempooltix": 0, "ownmempooltix": 0, "immature": 0, "live": 0, "proportionlive": 0, "voted": 8, "totalsubsidy": 13.69183157, "missed": 9, "proportionmissed": 0.5294117647058824, "revoked": 9 I'd appreciate any advise.
Thanks for the help Ayush. I get the same figure of 295 when I use "*" and "default". That is fine and is what I expect. I'm just curious why a plain getbalance command only shows 26. The getbalance command used to show the full balance, up until recently. It's not really important to me, if I am able to transfer all of my funds (295) to another address. I might try this. Would you foresee any problems with doing so?
When you issue the 'getbalance' command you are querying the 'default' account. BUT when you stake.mine, your balance moves over to the 'imported' account. You can use the 'listaccounts' command to see the available accounts.
thanks for the info folks. after trying the stuff in my first post, then waiting 24 hours, I now appear to have my full balance back in the default account. a plain getbalance shows the full amount. sorted
Hey folks. I tried pos mining again, and again had a situation where my computer missed votes. I'm in a similar situation, where balances don't seem correct, my missed and revoked don't match, and I don't seem to have access to my funds (I think). getstakeinfo: "blockheight": 106178, "poolsize": 43800, "difficulty": 127.0116176, "allmempooltix": 0, "ownmempooltix": 0, "immature": 0, "live": 1, "proportionlive": 2.2831050228310503e-05, "voted": 8, "totalsubsidy": 13.69183157, "missed": 15, "proportionmissed": 0.6521739130434783, "revoked": 9, "expired": 0 listaccounts: "default": 31.73348261, "imported": 0 getbalance "*" 0 all: 295.37411581 As in the OP, I tried rebroadcastmissed and --prunetickets --reuseaddresses to no avail. Maybe I'm still staking, given the live: 1 in getstakeinfo? I'm not sure. Hope someone can help - I'd like to quit staking and consolidate my funds to one account. Ta.
First of all, what version are you running? If it's below 0.7.0, upgrade first. If it's below 0.5.0, you'll need to delete the block chain and download it again. %APPDATA%\Local\Dcrd on windows, I think. If that doesn't fix it, or you're already on 0.7.0, recreate your wallet from seed. If you do both of those, it should work.
Thanks for trying to help, but I am already on 0.7.0 and have tried recreating the wallet too. I created the wallet from seed again anyway just in case, but as I suspected, this doesn't change the staking status of my coins. getstakeinfo has moved along a little, where I now show zero live tickets and missed has incremented by one: "blockheight": 107080, "poolsize": 43433, "difficulty": 34.37657635, "allmempooltix": 217, "ownmempooltix": 0, "immature": 0, "live": 0, "proportionlive": 0, "voted": 8, "totalsubsidy": 13.69183157, "missed": 16, "proportionmissed": 0.6666666666666666, "revoked": 9, "expired": 0 A getbalance still gives me 31.73348261 getbalance "*" 0 all gives me 295.37411581, which is the correct total. I just don't think they are all available to me to spend because they are stuck staking somehow. Is there a timeout when these staked coins will fall back into a state where I can spend them? I'm obviously missing something...
Helped in Slack, posting here for completeness: At this point it's the only thing (a corrupt chain) i can think would be causing it. Delete the chain and wallet. Download the chain again. Don't start the wallet until the chain is finished. Then start the wallet and see how you go.
Thanks for the advice in slack Shadowlance. Unfortunately a fresh install and creating the wallet from seed did not help. I still have missed/revoked not matching, as in my previous post. I won't care so much, if in fact I am able to send all of my funds to a new address. Perhaps someone can help me do that. I've a feeling they are locked in PoS somehow though.
Still the same problem folks. Brand new sync on a new VM, created wallet from seed with latest 0.8.2 version. getbalance: { "balances": [ { "accountname": "default", "immaturecoinbaserewards": 0, "immaturestakegeneration": 0, "lockedbytickets": 263.6406332, "spendable": 31.73348261, "total": 295.37411581, "votingauthority": 0 }, { "accountname": "imported", "immaturecoinbaserewards": 0, "immaturestakegeneration": 0, "lockedbytickets": 0, "spendable": 0, "total": 0, "votingauthority": 0 } ], "blockhash": "00000000000002ab07c20f818fbcac7ca604ee29a79a00618362a08528b34362" } getstakeinfo: { "blockheight": 114092, "poolsize": 41133, "difficulty": 62.38606523, "allmempooltix": 1, "ownmempooltix": 0, "immature": 0, "live": 0, "proportionlive": 0, "voted": 8, "totalsubsidy": 13.69183157, "missed": 16, "proportionmissed": 0.6666666666666666, "revoked": 9, "expired": 0 } ^^ lockedbytickets appears to be the culprit. Help would be greatly appreciated. I haven't tried rebroadcastmissed, prunetickets or reuseaddresses since this last sync, but have done them several times on version 0.7.0. If I should try them again please let me know.
Alright, so with the latest output, the fact it's showing the coins in lockedbytickets is good news. It means that the wallet does in fact see them. I'm assuming based on information earlier in the thread that the tickets have expired by now, so they can be revoked. In order to get them revoked, please do the following: Start the wallet process with the --enablevoting flag. It will not issue revocations without it. Unlock the wallet with dcrctl --wallet walletpassphrase "yourpassphrase" 0. The wallet must be unlocked for it to be able to create the revocations and sign them. Instruct dcrd to notify the wallet about missed tickets again so it will issue the revocations with dcrctl rebroadcastmissed. At that point, you should see the wallet log some details about the revocation transactions. Once those revocation transactions are mined into a block (which should be the next block), you will see the funds move to the immaturestakegeneration category in the dcrctl --wallet getbalance output. Finally, after 256 blocks, they will move to spendable category and thus be available to spend. NOTE: You could also just wait for a new block to show up for the final step since the wallet will automatically issue revocations given the first two conditions are true, but I suggested you manually issue the notification so you can more easily verify it issues the revocations.
Awesome davecgh! My coins are now spendable again. I'm fairly sure I had not used the --enablevoting flag when launching the wallet process previously, which would explain why the revocations were not working. Thanks for your help folks