• Joshua Gutow's avatar
    txmgr: Don't enforce price bump if new price is not larger · 551aaee4
    Joshua Gutow authored
    This handles the case that a transaction is being resubmitted while
    the L1 Basefee & Tip have not increased. In this case we reuse the
    previous values. If the new values are between the old values & the
    threshold, we then increase that value to the threshold. If it is
    larger than the threshold, we then use the suggested value.
    
    We need to not always bump the transaction price to ensure that we
    don't go exponential when resubmitting transactions.
    551aaee4
Name
Last commit
Last update
..
send_state.go Loading commit data...
send_state_test.go Loading commit data...
txmgr.go Loading commit data...
txmgr_test.go Loading commit data...