Until now I've been manually buying tickets at default fees. Unless the price was too low, I usually succeeded.
But lately, even with the latest reasonable price yesterday of 35 I still couldn't get any. I guess it's time to increase the fee a little.
There is a setticketfee in dcrctl which I could not get to work. Can someone help me?
Here is the command I normally use
dcrctl -u %USER% -P %PASSWORD% --wallet purchaseticket "default" %MAX_SPEND% 1 %ADDRESS%
What should I add to control the fee?
How much is the default fee btw?
Thanks
"setticketfee" is the command you need. Default fee is 0.01
"walletinfo" shows you the current settings, including ticketfee
"getticketfee" shows only ticketfee
"ticketfeeinfo" shows useful info
When setting ticketfee it goes per kb.
When staking solo, transaction is about 296bytes and pool is about 538bytes. So if you example in solo, setticketfee 0.4 then the fee is 0.296*0.4=0,1184
And so when you buy with pool it goes setticketfee 0.4 then fee is: 0.538*0.4=0,2152.
Someone has made very nice calculation about fees and interests:
https://docs.google.com/spreadsheets/d/1IE1gXeYoJHU_NDw-9YMfS-nihg0D4NBpK98ecRKe1Pk/edit#gid=0I suggest you and also the others to join Decred slack.