If you purchase tickets manually, is there a way to speed things up? Now I purchase them 1 by 1, so to purchase 20 ticks, it takes me almost 1.5 hours.
Code: $ dcrctl --wallet purchaseticket purchaseticket "fromaccount" spendlimit (minconf=1 "ticketaddress" numtickets "pooladdress" poolfees expiry "comment") There is an optional parameter, numtickets, that will do what you are looking for, I think.
There's some more example usages on the new docs site: https://docs.decred.org/mining/proof-of-stake/#purchasing-tickets
Thx a lot for your reply. But every time I try to submit the whole command I receive an error: purchaseticket command: parameter #2 'spendlimit' must parse to a float64 (code: ErrInvalidType) Any Id what I can do about it? Next to that I'm also wondering why the command --enablestakemining is not working: unknown flag `enablestakemining' Use dcrctl -h to show options Edit: Problem solved, only the flag --enablestakemining doesn't work. But now I can generate multiple tickets in 1 time, which is a milestone for me. What I did wrong was spendlimit=20 instead of typing '20'
--enablestakemining is a flag on dcrwallet. You should turn it on because it allows your wallet to revoke missed tickets, but if you don't want it to autobuy tickets, then you'll want to set the maxticketprice to something very low.
I use manual command to buy tickets. At max I have bought 4 tickets in 1 block itself. Almost at rate of 1 ticket every 2 secs.