decred / dcrticketbuyer

An automated smart ticket purchaser.
0 stars 7 forks source link

do not buy if exceeds your max fee #71

Closed raedah closed 7 years ago

raedah commented 7 years ago

Currently dcrticketbuyer will (try to) buy ticket even when there is no chance of the tickets getting mined. This happens when the ticket price is low with lots of buying competition which has driven the fees up. If your maxfee is set low, dcrticketbuyer will waste money creating transactions/purchase attempts that will never go through. The correct behavior would be to not create transactions/purchases if the blocks are full (20 purchases already being mined) and the lowest mined purchase fee is higher then your maxfee.