-
Notifications
You must be signed in to change notification settings - Fork 4
chore: Reconcile shardeum to dev HEAD #15
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 71544ab.
This reverts commit dab758e.
This reverts commit d1d2ece.
This reverts commit be701d7.
This reverts commit cdf876c.
… of service (#16) * chore: Add buffer size limit The code changes introduce a buffer size limit for sender, tracker, header, and verification data in the shardus_net module. If any of these data exceed the limit of 2 KB, an error message will be logged. This ensures that the data being processed does not exceed the specified size limit, preventing potential issues with memory allocation and performance. * feat : multi_send_with_header test chore : rename file with extension * chore : formatting fix was left out for existing file * feat : refactor changes and add unit tests chore : fix variable input * refactor: improve variable size checks and enhance test structure * chore : add imports and fix test case * feat : add limit on sender_id
* feat: add payload size limit to SnOpts type and update Sn function to use the provided limit * Add additional network param as shardus config * Make sender id constant * Make sign params constant * Update tests * Update test files * Fix test_multi_send bug * Move payload and header sizes under same config * Update test file * Remove unnecessary clone for NetConfig
optimized sender fixed 2 bugs with socket errors
* SHARD-2019 - Prettier lib-net * Update prettier * Prettier'd
* upgraded node * fixed vulns
|
Failed to generate code suggestions for PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.