Skip to content

feat(p2p): preconfirmed p2p network scaffolding - part 1#3369

Merged
CHr15F0x merged 1 commit intomainfrom
chris/preconfirmed-p2p-network-scaffolding
Apr 30, 2026
Merged

feat(p2p): preconfirmed p2p network scaffolding - part 1#3369
CHr15F0x merged 1 commit intomainfrom
chris/preconfirmed-p2p-network-scaffolding

Conversation

@CHr15F0x
Copy link
Copy Markdown
Contributor

@CHr15F0x CHr15F0x commented Apr 28, 2026

Preconfirmed P2P network tracking issue: #3349

Fixes: #3376

This PR adds a submodule to the p2p crate. The network behavior contrains plain gossipsub and no message encoding scheme is used. Just a null byte is sent for sanity testing.


I'd like to add 2 more follow up PRs (so far):

  • part 2, extend cli with the new network config
  • part 3, wire up the network creation code in main

@CHr15F0x CHr15F0x changed the base branch from main to chris/p2p-sync-test-improvements April 28, 2026 10:26
@CHr15F0x CHr15F0x force-pushed the chris/p2p-sync-test-improvements branch from 754fedb to 6950607 Compare April 28, 2026 10:26
@CHr15F0x CHr15F0x force-pushed the chris/preconfirmed-p2p-network-scaffolding branch 2 times, most recently from d75fbbb to ecc0e8a Compare April 28, 2026 10:52
@CHr15F0x CHr15F0x marked this pull request as ready for review April 28, 2026 11:25
@CHr15F0x CHr15F0x requested a review from a team as a code owner April 28, 2026 11:25
Base automatically changed from chris/p2p-sync-test-improvements to main April 28, 2026 13:43
@CHr15F0x CHr15F0x force-pushed the chris/preconfirmed-p2p-network-scaffolding branch from 5edfb02 to ea24acb Compare April 29, 2026 08:28
Copy link
Copy Markdown
Contributor

@zvolin zvolin left a comment

Choose a reason for hiding this comment

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

hard to say anything at this stage 😅 ship it I guess? (p.s. I'd squash)

@CHr15F0x CHr15F0x force-pushed the chris/preconfirmed-p2p-network-scaffolding branch from ea24acb to 99f572c Compare April 29, 2026 09:13
@CHr15F0x
Copy link
Copy Markdown
Contributor Author

hard to say anything at this stage 😅 ship it I guess? (p.s. I'd squash)

Squashed.

@CHr15F0x CHr15F0x force-pushed the chris/preconfirmed-p2p-network-scaffolding branch from 99f572c to 5b85250 Compare April 29, 2026 09:17
@CHr15F0x CHr15F0x merged commit dcd00a3 into main Apr 30, 2026
11 checks passed
@CHr15F0x CHr15F0x deleted the chris/preconfirmed-p2p-network-scaffolding branch April 30, 2026 12:05
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.

Preconfirmed P2P network: add scaffolding in the p2p crate

2 participants