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

Adding MinoWS module #292

Closed
wants to merge 9 commits into from
Closed

Adding MinoWS module #292

wants to merge 9 commits into from

Conversation

ineiti
Copy link
Member

@ineiti ineiti commented Oct 10, 2024

Adding minows module to simplify the network stack and avoid locking issues.

This also opens the way to use other protocols supported by libp2p.

ineiti and others added 7 commits July 5, 2024 10:07
Co-authored-by: Zach Xion XioZ@users.noreply.github.com

This commit implements a new Mino handler using libp2p with websockets.
Contrary to MinoGRPC it doesn't use any locks and uses a 1-level tree to handle messages.
It is at least as performant as the MinoGRPC implementation, and works with d-voting.
Co-authored-by: Zach Xion XioZ@users.noreply.github.com
- Adding new version of libp2p
- Re-enabling failing test and remove goverall
- Use peer.ID.Validate
- Don't export Packet and Forward
- Merging participant and orchestrator
- There was a race-condition in the echoHandler which made it fail on
fast machines.
- Changed the tests to wait for the accurate number of messages, instead
of waiting for 2 seconds.
- Also fixed an incompatibility in the Makefile wrt the github runners.
- Added a test to the fuzzy tests in the Makefile
Fixing race condition and adding fuzzy test
@ineiti ineiti self-assigned this Oct 10, 2024
Check the source repo of the PR and not the destination repo
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