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

cuprated: P2P protocol request handler #303

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

Conversation

Boog900
Copy link
Member

@Boog900 Boog900 commented Oct 4, 2024

What

Implements the P2P protocol handler

@github-actions github-actions bot removed the A-consensus Related to consensus. label Oct 14, 2024
@github-actions github-actions bot added the A-consensus Related to consensus. label Oct 27, 2024
@github-actions github-actions bot removed the A-consensus Related to consensus. label Oct 31, 2024
@Boog900 Boog900 marked this pull request as ready for review November 18, 2024 16:42

/// The P2P protocol request handler [`MakeService`](tower::MakeService).
#[derive(Clone)]
pub struct P2pProtocolRequestHandlerMaker {
Copy link
Member Author

Choose a reason for hiding this comment

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

Here's that maker that produces P2pProtocolRequestHandler


/// The P2P protocol request handler.
#[derive(Clone)]
pub struct P2pProtocolRequestHandler<N: NetZoneAddress> {
Copy link
Member Author

Choose a reason for hiding this comment

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

Here's the actual P2P protocol request handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-binaries Related to binaries. A-dependency Related to dependencies, or changes to a Cargo.{toml,lock} file. A-net Related to networking. A-p2p Related to P2P. A-storage Related to storage. A-types Related to types. A-workspace Changes to a root workspace file or general repo file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant