add node refresher for periodic scraping of bonded nym-node details#6626
Merged
jstuczyn merged 7 commits intofeat/mix-stress-testingfrom Apr 23, 2026
Merged
Conversation
aa5a686 to
2fa96d0
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
27588c4 to
7e99255
Compare
3a953cd to
588b4ed
Compare
06595ba to
546b807
Compare
simonwicky
reviewed
Apr 23, 2026
| } | ||
|
|
||
| pub(crate) async fn run(&self) { | ||
| let mut interval = interval(self.node_refresh_rate); |
Contributor
There was a problem hiding this comment.
How about setting the missed tick behavior to Delay?
Just te be safe if by any chance an update is long or the delay too short
588b4ed to
b7be858
Compare
simonwicky
approved these changes
Apr 23, 2026
Base automatically changed from
feat/nmv3-orchestrator-queue
to
feat/mix-stress-testing
April 23, 2026 15:50
- NodeRefresher periodically queries the mixnet contract for all bonded nodes and probes each node's HTTP API for host information, sphinx keys, noise keys, and key rotation IDs - Extract NymNodeApiClientRetriever into nym-node-requests with port probing, identity verification, and host information signature checking - Add clone_query_client on NyxdClient so the refresher can hold its own query client without locking the signing client - Batch upsert for nym_node rows (single transaction instead of per-row) - Reuse the new helpers in nym-api's node_describe_cache
546b807 to
f97ae1d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NYM-914
This change is