Skip to content

refactor: split p2p relay#456

Open
therustmonk wants to merge 1 commit into
mainfrom
kd-may28-split
Open

refactor: split p2p relay#456
therustmonk wants to merge 1 commit into
mainfrom
kd-may28-split

Conversation

@therustmonk
Copy link
Copy Markdown
Collaborator

Split crates/p2p/src/relay.rs into a relay/ directory module with focused submodules:

  • event — public event/error types: RelayManagerEvent, RelayDialError, RelayDialType
  • dial — dial-campaign machinery: exponential backoff and the per-target RelayDialState stream
  • manager — the RelayManager behaviour, its RelayConnectionState lifecycle, and the NetworkBehaviour impl

@emlautarom1 emlautarom1 changed the title refactor: split p2p replay refactor: split p2p relay May 29, 2026
@therustmonk therustmonk requested a review from Copilot June 1, 2026 09:59
@therustmonk therustmonk requested review from emlautarom1, iamquang95, mskrzypkows and varex83 and removed request for Copilot June 1, 2026 10:00
}
}

/// Reacts to a dial failure by logging and emitting a `DialFailed` event.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
/// Reacts to a dial failure by logging and emitting a `DialFailed` event.
/// Reacts to a dial failure by logging and emitting a [`RelayManagerEvent::DialFailed`] event.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There are a couple like this that are no longer reference links.

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