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

Put mining fee inputs into multiple transactions when too many of them #2185

Open
kushti opened this issue Sep 13, 2024 · 0 comments · Fixed by #2186
Open

Put mining fee inputs into multiple transactions when too many of them #2185

kushti opened this issue Sep 13, 2024 · 0 comments · Fixed by #2186

Comments

@kushti
Copy link
Member

kushti commented Sep 13, 2024

In the block candidate generation logic (collectRewards function in CandidateGenerator class) all the fee inputs are collected with one transaction only just, however, if there are too many inputs, the transaction may be invalid. Break fee inputs up in chunks. Write a test for that.

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

Successfully merging a pull request may close this issue.

1 participant