Implement new transaction replacement mechanism when adding transactions to the pool. #906
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
We should implement a new transaction replacement mechanism, similar to other client implementations.
Currently a new transaction (same user and same nonce) replaces an old one if the new gas price is higher than the old one. Other client implementations require the delta to be higher than a minimum percentage.
For instance this option is called
pricebump
in Geth implementation, configurable using--txpool.pricebump
. This command line option is described asPrice bump percentage to replace an already existing transaction
and is defaulted to 10%.Acceptance criteria
P2P
eth_sendRawTransaction
Linked issues
The text was updated successfully, but these errors were encountered: