-
Notifications
You must be signed in to change notification settings - Fork 66
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
chore(node): Further P2P Fixes #1280
base: main
Are you sure you want to change the base?
Conversation
📚
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
59deb1f
to
4b42963
Compare
756d68a
to
e595d1d
Compare
#[error("gossip address not set")] | ||
GossipAddrNotSet, | ||
/// An error when building the gossip behaviour. | ||
#[error("error building gossip behaviour")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably want to include the wrapped error in the error message here
let (sender, recv) = channel(); | ||
unsafe_recv: Receiver<Address>, | ||
) -> (Self, tokio::sync::mpsc::Receiver<OpNetworkPayloadEnvelope>) { | ||
let (sender, recv) = channel(256); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's avoid magic numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gossip isn't even working rn so trying to fix that first before small improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aka don't want to spend too much time refactoring these parameters before it works
d773a12
to
93efeb0
Compare
Description
More p2p fixes and restructuring to make the interface cleaner.