@CarpeDecred, @Ayush, @raphaelsoares: Did you all restore your wallet from seed in the upgrade from v0.0.7 to v0.0.8?
Not, since the 0.0.1 version just change the files (dcrd, dcrwallet, dcrctl). I never restored the seed.
Back up old wallet and follow guide here, there was a corruption bug in 0.0.7. https://forum.decred.org/threads/how-to-rebuild-resync-wallet-successfully.1338/#post-14802
@ceejep I've done this: dcrwallet --username [walletuser] --password [walletpass] --dcrdusername=[rpcuser] --dcrdpassword=[rpcpass] --walletpass [publicpass] -d debug Still no fix for my balance displays.
Confirm you allowed the RPC client to fully sync first? Let it catch up to the current block before you create wallet.
I've found out since at least v0.0.6 that there is a problem with this. So yes in all my tries I first let RPC client to fully synced first and then start everything with dcrwallet. In windows in stucks about 15 blocks to the end until a new found block appears and then it get to latest / correct height but I re-run it at that point and wait until another block is found so as to be completely sure and I also get the same results.
@ceejep --wallet getbalance "default" 0 all -> keep not to return total balance. Also I think: dcrctl --wallet getbalance imported 0 all returns the total amount I stake on pool (live tickets, immature but also voted and missed/revoked). I think what gives is very optimistic for balance. It's more than 20 DCR I can calculate adding totalsubsidy and some DCR from PoW pools to the latest correct amount I can remember. Anyway I start losing track of my total balance with this display problem. I just hope when all tickets bought before re-creating my dcrwallet get voted, missed or expired I'll get my wallet fixed, I just hope for a possible fix sooner than that cause it will take some months maybe. I won't re-create my wallet again or re-download blockchain for updating except if I'll instructed from release notes to or for testing a real possible fix.
Redid the above process and then run the command --wallet consolidate 99999 default. Done it all balances were reorganized and used one fee 0.35. Now I could make the transaction. Thank you
This is the correct result. The only command that will return the full balance of the entire wallet is not specifying an account (getbalance) or using the account "*". Your default account (account #0) is created on start up and is used generally. Imported refers to all funds stored in imported private keys or scripts. Displaying the full wallet balance without using account '*' was a bug that existed pre-0.0.8.
OK in windows cmd: dcrctl --wallet getbalance * 0 all or dcrctl --wallet getbalance "*" 0 "all" works. It's a sum up of getbalance "default" 0 all + getbalance imported 0 all So this give me the total ammount of everything?: If hypothetically every ticket will expires and matures + every other immature transactions matures + my current spendable balance? Is the above includes live + immature ticket values with vote rewards included so that's why it's more than I can calculate I have?
Yes. It's all the outputs you own either jointly (multisig) or yourself. It does not include future theoretical rewards, as those are difficult to accurately predict. It does include rewards you have already received. What you're seeing is coins that you own.
So if I stop my wallet now and leave it inactive (including not sending any amounts to its addresses) the return I get now with: dcrctl --wallet getbalance * 0 all will become the spendable one (dcrctl --wallet getbalance) when all tickets voted/missed/revoked/expired? Or should I subtract anything from it? I have to miscalculated something. I should be happy though that I have more than I expected. So instead of using --wallet getbalance "default" 0 all I should use dcrctl --wallet getbalance * 0 all from now on. Sorry for bothering but the only commands I used for balance before my "problem" appeared was: dcrctl --wallet getbalance dcrctl --wallet getbalance "default" 0 all dcrctl --wallet getbalance "default" 0 spendable (= --wallet getbalance) dcrctl --wallet getbalance "default" 0 locked (= --wallet getbalance "default" 0 - minus --wallet getbalance) And they were working fine. So now there is no reason for them. I better use: dcrctl --wallet getbalance dcrctl --wallet getbalance * 0 all dcrctl --wallet getbalance * 0 spendable dcrctl --wallet getbalance * 0 locked @ceejep What this message from dcrwallet means?: "Cannot handle chain server voting notification WinningTickets: Error encountered attempting to create vote using ticket xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: failed to generate correct signature script for ssgen or ssrtx: stack underflow" Is my wallet messed up again? I checked getstakeinfo and one of my tickets voted anyway.
Well, I was successfully able to get rid of my "dust" problem (I think), after 4 attempts with v800: This is what happened: Recreate my wallet from seed. Wait for the dcrd to completely load the blocks. This is very important!!! First I started my wallet and found I had 72 spendable, but didn't enable staking yet. I ran the consolidate command Then I enabled staking My spendable showed now as 0 Then my wallet started immediately purchasing tickets.
https://wiki.decred.org/Quick_Reference This and many other pages need to be updated. I am willing to provide help. @davecgh @_ingsoc
Documentation is currently being worked on by @David, @Shadowlance, and @zkott, as per RFP-4. The idea is to focus on content and transfer to a dedicated system that could live at a place like https://docs.decred.org. If you're curious about it, you can look at a system like MkDocs, which is what I'll be working on with the content they create. It's quite a nice and modern system, as it produces dead easy static pages in markdown. This can in turn be hosted anywhere or be portable (and responsive) - it's about time we get away from the difficulties imposed on us by the wiki's markup for technical writing.
Just for information, SmallWall used the old m0n0wall documentation to start, and it was based on DocBook, http://www.docbook.org which is not at all bad. But even better is that Oxygen XML Editor has a program to provide free access to Foss projects! http://www.oxygenxml.com/non_profit_program.html#open_source If you do not want a Wiki, this is a very solid and mature platform.