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

Reduce size of RoundChange messages #98

Closed
wants to merge 4 commits into from
Closed

Conversation

Stefan-Ethernal
Copy link
Collaborator

@Stefan-Ethernal Stefan-Ethernal commented Jun 28, 2024

Description

This PR reduces the size of RoundChange consensus messages, by setting the latest prepared proposal and latest prepared certificates fields to nil (meaning that the proposal is going to be built each time, instead of transmitting it over the network), because this resulted in messages that are even a couple of MBs in size, that has significant impact on the network.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have added sufficient documentation in code

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review June 28, 2024 07:31
Copy link

sonarcloud bot commented Jun 28, 2024

@Stefan-Ethernal Stefan-Ethernal deleted the consensus-msg-fix branch August 20, 2024 11:50
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