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

Multiple pending transactions with the same nonce should be allowed and properly prioritized #244

Closed
davidmurdoch opened this issue Dec 4, 2018 · 1 comment

Comments

@davidmurdoch
Copy link
Member

When interval mining it is possible two send multiple transactions with the same nonce value to be mined in a future block. Only the transaction with the greater gasPrice should actually be mined. The other transactions with lower gasPrice values should return error responses. When both the gasPrice and nonce are identical for transactions to be mined in a future block the transaction that arrived in the queue first should be mined and other transactions should be rejected.

geth's error response for this is {code:-32000,message:"replacement transaction underpriced"}.

@davidmurdoch
Copy link
Member Author

done in [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant