You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Hello, I'd like to mine several unrelated transactions in the same block using the order I added them to the pool.
Currently ganache mines them in the same block by picking them using an heap with gasprice in mind. But if I send this in order:
tx1 gasPrice 1
tx2 gaSprice 3
tx3 gasPrice 2
I end up wiht a block mined with the tx in the following orger [tx2,tx3,tx1] (assuming the txs are not from the same account. Is it possible for me to pluck in my tx picking strategy?
The text was updated successfully, but these errors were encountered:
vekexasia
changed the title
Mine txs in same block as provided
Mine txs in same block with provided sorting
Apr 27, 2021
We could add a new option miner.order: "fifo" | "gasPrice", or something like that, so we can make room for other sorting plans in the future. Thoughts?
I'll add this to our roadmap!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I'd like to mine several unrelated transactions in the same block using the order I added them to the pool.
Currently ganache mines them in the same block by picking them using an heap with gasprice in mind. But if I send this in order:
I end up wiht a block mined with the tx in the following orger [tx2,tx3,tx1] (assuming the txs are not from the same account. Is it possible for me to pluck in my tx picking strategy?
The text was updated successfully, but these errors were encountered: