Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: Transaction Gas Price Escalator middleware #81

Merged
merged 10 commits into from
Oct 8, 2020
Merged

Conversation

gakonst
Copy link
Owner

@gakonst gakonst commented Oct 6, 2020

fixes #40

A new middleware is added which tracks all transactions and bumps their gas price according to an interface & strategy inspired by the pymaker strats gas escalation.

It either bumps txs every N seconds, or on a per block basis, depending on the value of Frequency when constructing the struct.

@gakonst gakonst marked this pull request as ready for review October 6, 2020 17:52
@gakonst gakonst merged commit 62b7ce4 into master Oct 8, 2020
@gakonst gakonst deleted the tx-escalator branch October 8, 2020 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot spawn futures Transaction Resubmit Policy
1 participant