Sorry guys and gals. Just started playing around with PoS today. I'm getting a strange issue which may or not be entirely up to me: dcrctl -u "" -P "" --wallet getstakeinfo (gets me a diff of 22.45...) ok... lets buy something dcrctl -u "" -P "" --wallet purchaseticket "" 22.45 (not enough to purchase sstx) ok... maybe a little higher, who knows. dcrctl -u "" -P "" --wallet purchaseticket "" 22.51 (not enough to purchase sstx) hmmm... dcrctl -u "" -P "" --wallet purchaseticket "" 23 (not enough to purchase sstx) just out of curiosity... dcrctl -u "" -P "" --wallet purchaseticket "" 22 (ticket price exceeds spend limit) i'm either doing something wrong, or these windows style error messages need to be reworded lol. Can anyone with a little more experience on this shine a light? Oh btw... have yet to manage a successful autobuy with maxprice of 25 and minimum balance of 1.0, with 180 dcr in the bank as of now. And I have managed rare manual buys, so wallet seems fine.
Did you take a look at this thread? I personally dont solo stake. I use the pool. However I believe the thread i linked for you has everything you might need if you are using windows.
It looks like you are doing everything correctly, and this issue has been reported already. Here is what has worked for myself and several others that have faced this problem. Make sure you are running the latest software (v0.0.8). Unlock your wallet. Run the consolidate command and wait for your transaction to be confirmed. Code: dcrctl -u xxxx -P xxxx --wallet consolidate 10000 Run getbalance to ensure your consolidate transaction went through and you have available funds. Try purchasing another ticket. Note: The consolidate command is a rather large transaction (the amount of bytes), so the fee for the transaction will probably be higher than the standard 0.05. Consider lowering your txfee for this transaction.
Lol bomber, you did help that's a great post. But unluckily for me, one I already have been through and am basically using same commands, just outside the script itself. Thanks david, will give it a shot.
And I thought I started to have things figured out lol. Ran consolidate, 1.** dcr available, 18*.** dcr locked. Ok, maybe the transaction has yet to confirm, I wait. I recheck, same, yet transaction has been confirmed. Why would I have 180 locked dcr? I have so far purchased 7 tickets to date, at about an average of 25dcr p/t. If the locked dcr are from tickets that makes sens (figures coincide), so what happened to the remaining of my airdrop, i lost track of 100 or so dcr! C:\Users\Administrator\Desktop\windows-amd64>dcrctl -u -P " --wallet getbalance "default" 0 all 182.52795424 C:\Users\Administrator\Desktop\windows-amd64>dcrctl -u -P " --wallet getstakeinfo { "poolsize": 42106, "difficulty": 12.38398852, "allmempooltix": 1, "ownmempooltix": 0, "immature": 2, "live": 5, "proportionlive": 0.00011874792191136655, "voted": 0, "totalsubsidy": 0, "missed": 0, "proportionmissed": 0, "revoked": 0 }
That's correct - when you purchase a ticket, the coins get locked. They are still visible through the "getbalance default 0 all" command, however, so yours adds up. As far as the missing 100 DCR, it doesn't appear to be in your wallet. the "getbalance default 0 all" part of the command returns everything that is in your wallet. You'd have to look at your transaction list to see your original balance and then try to follow it from there. To view all your transactions use: Code: dcrctl -u user -P password --wallet listtransactions * 100000 Additionally, you can redirect the output to a text file and send it to me in a PM if you want me to take a look: Code: dcrctl -u user -P password --wallet listtransactions * 100000 > listtrans.txt Your airdrop should be the very last entry at the bottom of the output, with the category of "generate".
Thanks dave, thats once again helps shine my ignorance lol { "fee": -20, }, it seems some idiot (no finger pointing please) has somehow set a txfee of 20. And the 5 tickets i bought cost me way more than I anticipated. That's going to take a while to recoup.
You can use dcrctl -l to list all the available commands.. so to set it back it should be: Code: dcrctl -u user -P password --wallet settxfee 0.05
--wallet settxfee amount where amount is the tx fee you want. I set it to 0.01 if you are asking for ticket buying or sstx fee then its --wallet setticketfee fee AFAIK you have to set it everytime you do a tx or restart the wallet, probably the later.
Yes . U can set fees whatever you want . But this will affect your transaction confirmation as PoW miner will include transaction with higher txfees first . Txfees are spend to maintain network . Means they are splited between PoW miners only . There is dissuction goin on why only PoW miners get all txfees https://forum.decred.org/threads/block-reward-and-fee-split.2609/#post-16975
Well I consolidated my wallet and got confirmation in dcrwallet. Next when I tried to purchase tickets I again got- Not enough to purchase ticket what to do??