Skip to content

docs(p2p): Update network docs #2613

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mechanix97
Copy link

Motivation

The network example was outdated and it was not working

Description

Modified the commands to use diferents datadirs in order to generate distincts node_id

Closes #2608

Copy link

Lines of code report

Total lines added: 4
Total lines removed: 3
Total lines changed: 7

Detailed view
+----------------------------------------------------+-------+------+
| File                                               | Lines | Diff |
+----------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/sync_manager.rs       | 130   | +3   |
+----------------------------------------------------+-------+------+
| ethrex/crates/networking/rpc/engine/fork_choice.rs | 390   | -3   |
+----------------------------------------------------+-------+------+
| ethrex/crates/networking/rpc/engine/payload.rs     | 699   | +1   |
+----------------------------------------------------+-------+------+

@mechanix97 mechanix97 self-assigned this Apr 25, 2025
@mpaulucci mpaulucci changed the title Docs(p2p): Update network docs docs(p2p): Update network docs Apr 28, 2025
@mechanix97 mechanix97 marked this pull request as ready for review April 28, 2025 14:34
@mechanix97 mechanix97 requested a review from a team as a code owner April 28, 2025 14:34
Copy link
Contributor

@tomip01 tomip01 left a comment

Choose a reason for hiding this comment

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

Approved! Just two comments

@mechanix97 mechanix97 added docs Improvements or additions to documentation p2p Issues related to p2p network labels Apr 28, 2025
mechanix97 and others added 2 commits April 28, 2025 16:09
Co-authored-by: Tomás Paradelo <112426153+tomip01@users.noreply.github.com>
Co-authored-by: Tomás Paradelo <112426153+tomip01@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation p2p Issues related to p2p network
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2P discovery not working in localhost
2 participants