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

Netp2p refactor #105

Merged
merged 14 commits into from
Apr 27, 2024
Merged

Netp2p refactor #105

merged 14 commits into from
Apr 27, 2024

Conversation

itamarcps
Copy link
Contributor

No description provided.

Jean-Lessa and others added 14 commits March 16, 2024 11:42
- NodeConns is now a component of ManagerNormal
- Finished BroadcastInfo (but it will probably will be removed/useless)
- Added Notify/Notification as a new P2P message type
- Added NotifyInfo
- Added NodeConns worker thread (100ms info refresh, 10s timeout)
- NodeConns worker thread lifetime tied to ManagerNormal start()/stop()
- Old code is now NodeConns::forceRefresh() (synchronous NodeInfo refresh)

NOTE: There are test failures.
- Implemented simple syncer loop that will run on boot
- Added a simple 2-node P2P unit test for the Syncer

TODO:

- Need to ensure connectivity is sufficient before Syncer::sync()
is called by the main thread on node boot; this was not tested.
@itamarcps itamarcps merged commit 3ba3ec5 into evm-statedump-integration Apr 27, 2024
@itamarcps itamarcps deleted the netp2p_refactor branch May 21, 2024 18: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.

3 participants