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

mempool: Fix tx accumulator block size calculation #1276

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

iljakuklic
Copy link
Contributor

The encoded sequence of transactions starts with the number of transactions. However, the transaction accumulator failed to take that into account, only considering the space taken up by raw transaction data without the transaction count annotation. This is a fix.

The encoded sequence of transactions starts with the number of
transactions. However, the transaction accumulator failed to take that
into account, only considering the space taken up by raw transaction
data without the transaction count annotation. This is a fix.
@iljakuklic iljakuklic added bug Something isn't working mempool Mempool-related issues block-production Block-production related issues labels Oct 16, 2023
@iljakuklic iljakuklic added this to the Mainnet milestone Oct 16, 2023
Copy link
Collaborator

@TheQuantumPhysicist TheQuantumPhysicist left a comment

Choose a reason for hiding this comment

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

Besides the little comment, looking good.

@iljakuklic iljakuklic merged commit f6bde9c into master Oct 17, 2023
31 checks passed
@iljakuklic iljakuklic deleted the tx-accum-size-fix branch October 17, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block-production Block-production related issues bug Something isn't working mempool Mempool-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants