I don't think set fee is working. It was inserted last minute to make copay function. Both wallet and daemon need settxfee support, the former for creating transactions and the latter for the mempool. There are issues right now with the mempool and fees. Too low fees should be rejected by the mempool, but it appears they are not always. The priority queue should sort according to fees when mining, but this too appears to be an issue. https://github.com/decred/dcrd/issues/15 We hope we can push fixes for this soon.
@ceejep @jy-p Current tickets poolsize: 10300 But in source code TicketPoolSize value set to 8192: https://github.com/decred/dcrd/blob/master/chaincfg/params.go#L326 Is this another bug or I miss something?
someone can do an example of how to use this parameters for ticket purchase ? purchaseticket "fromaccount" spendlimit (minconf=1 "ticketaddress" "comment")
It's intentional and is an integral part of the dynamic ticket price adjustment. The TicketPoolSize is the target ticket pool size and it works very similar to the target difficulty for PoW. The fact the current ticket pool size is larger than the target is what causes the ticket price to rise which will in turn will eventually cause less tickets to be purchased and result in the number of tickets in the pool reducing back towards the target. If it falls under, the price will fall to encourage more ticket sales in order to increase the number of tickets in the pool towards the target, etc.
in this way you spread them on different addresses this cost 0,05 of fee when you buy a ticket and 0,05 when you reunite on a single address. instead in this way you can control which account purchase and which store tickets and how many you want buy in a sigle transaction, so less fee and addresses. purchaseticket "fromaccount" spendlimit (minconf=1 "ticketaddress" "comment") but i don't know minconf=1 what is or what is required for this parameter i'm actually use win 386 client.
No bug, keep in mind that TicketPoolSize is the multiplier. To get the target, multiply TicketPoolSize by TicketsPerBlock, which gives you 40960 tickets for mainnet. From extensive simulation, the average time in block to redeem your ticket is the multiplier. For example, here is a histogram showing the time to redeem when TicketPoolSize=16384 and TicketsPerBlock=5. The x axis is time from maturity in blocks, while the y axis is the number of tickets. It approximates a Poisson function with lambda=1. The results are not entirely intuitive. If you fail to get win in the first lottery, your likelihood of winning in the remaining lotteries is slightly lower because you have less total tries left. This causes the exponential decay observed. The expiration time of 40960 blocks was chose because >99% of tickets were determined to be selected within this time frame.
Today @Dyrk have learned me how to build a VPS linux server for pos mining from zero. I am a windows user and i i have used linux few times, but with his help everything works so perfect on Linux !! My wallet is stake mining and the system is another type of securyty compared to windows.Yesterday i have setuped and runned a pos wallet on a VPS with win 7....compared to linux..shit! I would like to write a noob guide from the impressive tutorial messages that Dyrk have sended to me today,it will be very helpful for a lot of users! Also i would like to thanks him in pubblic! Thanks Dyrk!
Welcome to the dark side! The water is warm here. (It is from all the hate directed at us... It warms the water.)
Wow! Are these tutorial messages publicly available?? I am a windows user, having used linux a few times as well, and would love to learn how to do this.
Haha Most of my coins and mining pools were setup on Ubuntu until Decred came and made me use my GPU to mine since my sha256 ASIC's are useless for DCR. See my blog: Code: http://www.reynoldtech.com/ http://www.reynoldtech.com/dcr-decred-the-new-crypto-currency/ http://www.reynoldtech.com/myriadcoin-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/namecoin-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/zetacoin-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/titcoin-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/mazacoin-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/universalcurrency-compile-from-source-on-ubuntu/ http://www.reynoldtech.com/bitcoin-core-compile-from-source-on-ubuntu/ Since I started Decred with Windows, I've continued with Windows for this coin... so far.
Yes, you can use this: Code: dcrctl --wallet gettickets 1 The last argument can be 1 (include immature tickets) or 0 (show only mature tickets, which participate in voting)
thx for the info, of course it works. Another questions if ican! for how long dcr are locked after a successful purchase?
Coins for each ticket locked until this ticket will cast a vote or expire. If I remeber well, expected expiry time is ~ 145 days ( 40960 blocks ). Please see this answer of @ceejep above in this thread if you want to better understand (I mean become totally lost) how poolsize and ticket expiration works: https://forum.decred.org/threads/is-pos-working.531/page-2#post-8980
What happens with the tickets if the wallet is closed and then reopened? Do I just run it or is there anything more I need to do?
You can restart the wallet no issues. You *might* miss a vote in the time it takes to restart but not likely. Just make sure you unlock it again after you restart.