-
Notifications
You must be signed in to change notification settings - Fork 660
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
Feat: trigger stackerdb refresh when .signers is written #4330
Conversation
6d8a952
to
fb9c54d
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## next #4330 +/- ##
===========================================
+ Coverage 61.25% 76.99% +15.74%
===========================================
Files 445 445
Lines 317161 317217 +56
===========================================
+ Hits 194276 244247 +49971
+ Misses 122885 72970 -49915 ☔ View full report in Codecov by Sentry. |
3587e2b
to
fb9c54d
Compare
@@ -202,6 +202,21 @@ impl PeerThread { | |||
} | |||
} | |||
|
|||
fn check_stackerdb_reload(&mut self) { |
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.
Minor nit: This is doing a check and then maybe doing some work based on that check. Maybe this should be called stackerdb_refresh()
or something?
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.
LGTM; just one minor nit
Thank you for doing this! |
Having a really hard time rebasing on this XD (couldn't cherry pick it out) |
40be4b6
to
1f9b184
Compare
fb9c54d
to
645a931
Compare
Description
This implements #4328 by adding a signaling bool to the coordinator channels structs. It's a bit cludgier than I would otherwise want, but I think it's the best we can do without majorly refactoring the coordinator's signatures (which is probably a good idea, but one best left to the future).
This is a draft for now, because it depends on
feat/larger-stackerdb
, but it could be cherry-picked/rebased tonext
instead.