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

Remove bitmask from writeMsgLen #1342

Merged
merged 2 commits into from
Apr 25, 2023
Merged

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

This is a continuation of our switch to proto. All nodes in the network (after v1.10 activates) will ignore the most significant bit in the message length, so we can remove the explicit setting of it. We still need to ignore the most significant bit until everyone in the network no longer sets it (adopts this update) which will only be guaranteed after the following network upgrade (v1.11).

How this works

Stops setting the MSB in the message length.

How this was tested

CI

@StephenButtolph StephenButtolph self-assigned this Apr 13, 2023
@StephenButtolph StephenButtolph added the DO NOT MERGE This PR must not be merged in its current state label Apr 13, 2023
@StephenButtolph StephenButtolph marked this pull request as draft April 13, 2023 18:53
@StephenButtolph
Copy link
Contributor Author

This must not be merged until after Cortina activates.

@StephenButtolph StephenButtolph marked this pull request as ready for review April 13, 2023 19:00
@StephenButtolph StephenButtolph added cleanup Code quality improvement networking This involves networking labels Apr 13, 2023
@StephenButtolph StephenButtolph removed the DO NOT MERGE This PR must not be merged in its current state label Apr 25, 2023
Copy link
Contributor

@gyuho gyuho left a comment

Choose a reason for hiding this comment

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

🔥

@StephenButtolph StephenButtolph merged commit 8095dba into dev Apr 25, 2023
@StephenButtolph StephenButtolph deleted the remove-bit-write-msg-len branch April 25, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement networking This involves networking
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants