I started the wallet as follows: dcrwallet -u xxx -P xxx --walletpass xxx --dcrdusername=xxx --dcrdpassword=xxx --enablestakemining --balancetomaintain=200 --ticketmaxprice=200 This immediately used all my coins. It seems to work as it's buying tickets, but it used everything in the wallet. At the same time, I transferred some coins from bleutrade I bought (~1000) and they disappeared too. The coins transferred ok, I can see them in the transaction log, so that's all good. Just wondering is there a bug here or did I do something wrong? I'm not particularly fussed about them going to tickets as that's where I wanted them anyway, just wondering what happened. I'm thinking for the future it might be a good idea to keep one address just for PoS and send coins there when I want. A couple of related questions: 1) Is there a way to check how much I have in tickets and how many tickets I have? 2) When PoS starts where will the funds go? The address specified in drcd? 3) How do you tell how much a ticket actually costs? Thanks.
I keep a PoS and PoW addy. The coins will disappear it seems. Not positive on how it works but there is a mechanism where you will get a changeticket that will return funds down to your purchase price. If you take your maintainbalance higher for a few blocks you will see it balance out. You can use all, locked, spendable to check your balances.
You can check all your tickets using command below. "1" if you want to include immature, "0" if you want to see only mature tickets list (those which participate in voting): Code: dcrctl --wallet gettickets 1 Call "dcrctl" as you usually do it. If you didn't save into config file your username, passwords etc - of course you need to specify them too. If you want to check specific transaction from your tickets list, use this comand (you'll see fee you've paid, amount and some more details, but this info looks not correct enough to me, maybe it's a known bug). Replace *txid* with transaction id you want to check. Code: dcrctl --wallet gettransaction *txid* I don't know answer for this question, but I think it will not be address from "dcrd". On the testnet I didn't specify any and still received my coins. Probably reward for the vote will go to address, which bought this ticket. Code: > dcrctl --wallet getbestblock { "hash": "0000000000002ef593310ea46557d26db92245118ea6486a2841a256f5e55b26", "height": 754 } > dcrctl --wallet getblock *hash* In the last command you need replace *hash* with the hash of the latest block (previous output). In results you can find "sbits": 2 - it's ticket price. Or you can see it here on the charts: http://188.213.166.128/ (PoS Difficulty = Ticket price). As you can see now it 2 DCR per one ticket, and it will not change until the block 4096. It's also the minimum possible ticket price in the network, you can find it harcoded to "2" in the source code. So when you specify "--ticketmaxprice=200" it means, that you're ready to buy ticket for any price not higher than 200. If the ticket price will be 2, like now, you will by tickets for 2 + transaction fee (minimum 0.05 by default), if the price will be 199DCR - you will buy for that crazy price.
That depends on how many Decred you are willing to spend per ticket. For a single ticket, are you willing to pay 200 Decred? It doesn't mean that a ticket worth 2 Decred will be bought for 200 Decred, though, it's only how much you are willing to spend on a single ticket, should the ticket price rise that high. For now, as Dyrk said, the price is fixed until later ( I think someone estimated a week?) at 2, so it doesn't make a difference yet.
You can track the ticket price using charts. And find the best moment to get into PoS. Of course you don't want to take very expensive tickets and want to wait at least daily low.
Thanks for reply 1 So for today a week the price is fixed until later at 2 so the best is to set it to 2 ? 2 after 256 bloks my ballance will be back ?
You can also go to the block explorer (https://mainnet.decred.org) and click the block number in "height" column (right now its 781) and check the sbits field on page that opens. That is the no of coins needed to buy a ticket.
u can check ur balance with flag getbalance "default" 0 all all - this will give spendable and locked fund spendable - will give fund available locked - will give u fund used for tickets
1000 DCRs as an example . What results after 4 months? anyone have any % calculated ? based in testnet of course (only to annotations) . thanks
i have 1000 dcr use the command enablestakemining --balancetomaintain 10 --ticketmaxprice 5 now use wallet getbalance default 0 all it show 224.9 use wallet getbalance "default" 0 locked it shows 212 and i find it get changed after a while now it shows 222 and wallet getbalance default 0 it shows 2.91 why it is less than 10,because of fee? what's the problem?
yes there will be fee's which reduce your total balance also when you enable stake mining it will lock all your coins and show 0 balance for a couple of days. try again tomorrow with getbalance "default" 0 all and you should see your total balance minus the fee.