Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-0046: Atomic Transaction Chains in Mempool #101

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

aslesarenko
Copy link
Member

No description provided.

Copy link
Contributor

@anon-real anon-real left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature would be great! There has been a few instances in my dApps that I needed this. To increase the probability of txs being mined together, I set the fee for all txs except the last one to the minimum possible ERG amount.

Expanding on that, one other way to achieve this effect would be to:

  • have an api for batch submission of txs (instead of one by one)
  • in batch submission, allow txs with zero fees, as long as the zero-fee tx is a parent of a non-zero fee tx.

With this approach, there is no incentive for miners to mine zero-fee txs unless the average fee per byte of the whole batch is meaningful for them (so they will have to include all txs to get the fee)

@aslesarenko aslesarenko marked this pull request as ready for review July 8, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants