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

Query missing broadcast messages from peers #428

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

contrun
Copy link
Collaborator

@contrun contrun commented Dec 30, 2024

No description provided.

@quake
Copy link
Member

quake commented Jan 2, 2025

please rebase to resolve the conflicting

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 89.37198% with 22 lines in your changes missing coverage. Please review.

Project coverage is 50.16%. Comparing base (15bb2c1) to head (91ec5d9).
Report is 13 commits behind head on develop.

Files with missing lines Patch % Lines
src/fiber/gossip.rs 93.04% 13 Missing ⚠️
src/fiber/network.rs 55.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #428      +/-   ##
===========================================
- Coverage    50.32%   50.16%   -0.17%     
===========================================
  Files           48       48              
  Lines        31806    31844      +38     
===========================================
- Hits         16006    15974      -32     
- Misses       15800    15870      +70     
Flag Coverage Δ
unittests 50.16% <89.37%> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Only used to save our NodeAnnouncement to the graph.
We don't really need to have our own NodeAnnouncement in the graph.
@contrun contrun force-pushed the retriable-gossip-querying branch from 3900f23 to 2c587a0 Compare January 15, 2025 11:45
@contrun contrun force-pushed the retriable-gossip-querying branch from aa34394 to a1f2473 Compare January 15, 2025 11:52
@contrun contrun requested a review from quake January 15, 2025 11:55
store: S,
chain_actor: ActorRef<CkbChainMessage>,
supervisor: ActorCell,
) -> Self {
Copy link
Member

Choose a reason for hiding this comment

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

suggest to return (Self, GossipProtocolHandle), then we can remove the network_control_sender field and create_protocol_handle fn

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