so, yesterday i set my ticketbuyer and consolidate my money the next i start ticketbuyer and see how ticket buy! after i see that i buy less ticket than i can and see... the last address has this and another address maybe have else so, then i checking my address and see that... Code: e:\temp\Decred\wallets>dcrctl.exe --wallet getaccount <address> default e:\temp\Decred\wallets>dcrctl.exe --wallet getaccount <address> -4: address not found in wallet e:\temp\Decred\wallets>dcrctl.exe --wallet getaccount <address> -4: address not found in wallet and ALL next ADDRESSES How I can buy tickets without private keys? and now i lost my all decred? why? is it bug of ticketbuyer?
Does validateaddress for these addresses return "isMine: true"? It's also possible the wallet was close incorrectly in Windows (clicked on the X in the top right instead of closing with 'stop' over RPC or Ctrl-C). To recover the wallet, restore it from the seed words and connect the recovered wallet to a synced dcrd. You can also check if the addresses appear in any of these lists: Code: accountfetchaddresses "default" 0 0 10000 accountfetchaddresses "default" 1 0 10000 If they do, your wallet is just out of sync and needs to be restored from seed. Make sure you're using a suitable firewall on the dedicated server you have that is voting 24/7.
so, i see this addresses in this lists, but when i recovery wallet from seed, i see the same history... how is possible? how i can dump my priv key? or how i can be sure that i don't lost my money anyway?
How i can restore my wallet else? why the wallet can't see my addresses? and then i see incorrect balance
So there are tx that you don't recognize after you restored? try: dcrctl --wallet validateaddress <address> and dcrctl --wallet validateaddress <address> Those should tell you if you own those addresses.
You can restore the private keys deterministically with: Code: accountsyncaddressindex "default" 0 idx Code: accountsyncaddressindex "default" 1 idx Index should be the number of the last address you recognize that was used in the response to accountfetchaddresses. Then you can dump the private keys with dumpprivkey. The other option is to start the wallet, connect it to a daemon with just the genesis block (move the folder contain the blockchain and then run dcrd with --connect=127.0.0.1:12345 or any bogus port), run accountsyncaddressindex to sync to your intended address index, then close wallet, restore the blockchain to the daemon, restart and connect to network, and restart wallet. You can also send me the extended public key by running the command: Code: getmasterpubkey "default" And send the key to cjepson@decred.org. That lets me locally resync the default account of the wallet to see if there are issues.
Code: dcrctl --wallet validateaddress <address> { "isvalid": true, "address": "<address>" } dcrctl --wallet validateaddress <address> { "isvalid": true, "address": "<address>" } THANKS a lot! this is resolve my problem and now i see correct balance!!! yes, i send to you my master key you can see that i have this problem, but i don't understand why bug?
Code: $ dcrwallet -h 2>&1 | grep addr ... /reuseaddresses Reuse addresses for ticket purchase to cut down on address overuse /ticketaddress: Send all ticket outputs to this address (P2PKH ... EDIT: So basically ticketaddress is the one you probably want. Do realize however that the split transaction will still use a new address and there is no option to prevent that currently.
How I can set my wallet does not use new addresses? it's bad, because my wallet can't sync automatic, i send my masterpukey to develop with my problem, but i don't receive an answer, now i must sync my wallet manually
Sorry, I was busy with some other unrelated issues until the end of last week. The wallet seems to sync okay if you use the following argument on start up directly after restoring from seed: Code: dcrwallet --addridxscanlen=50000 Your wallet has many gaps, probably caused by an old version of wallet that was buggy or by generating new ticket addresses each time, as specified by davecgh. To restore in the future, use the command line argument I gave above when regenerating from seed. To diminish the number of new addresses created, set the --ticketaddress to the wallet you want to give voting rights too and turn on --reuseaddresses.