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

Dz nym node stats #5418

Merged
merged 15 commits into from
Feb 11, 2025
Merged

Dz nym node stats #5418

merged 15 commits into from
Feb 11, 2025

Conversation

dynco-nym
Copy link
Contributor

@dynco-nym dynco-nym commented Feb 3, 2025

Removed obsolete fields from stats

  • blacklisted mixnodes
  • blacklisted gateways
  • bonded mixnodes
  • bonded gateways

Introduced nym-node scraping, beside just mixnodes

/mixnodes/stats now returns data for nym-nodes as well, which results in much more accurate "packets mixed" stats


This change is Reviewable

@dynco-nym dynco-nym requested a review from jstuczyn February 3, 2025 12:29
Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Feb 10, 2025 5:55pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Feb 10, 2025 5:55pm

@dynco-nym dynco-nym added this to the Dorina milestone Feb 10, 2025
@dynco-nym dynco-nym marked this pull request as ready for review February 11, 2025 09:14
@dynco-nym dynco-nym merged commit b7e3687 into develop Feb 11, 2025
20 of 21 checks passed
@dynco-nym dynco-nym deleted the dz-nym-node-stats branch February 11, 2025 11:07
dainius-nym pushed a commit that referenced this pull request Feb 12, 2025
* Remove blacklisted, inactive, reserve fields

* Remove gw.blacklisted

* Remove blacklisted and bonded count

* DB operations

* Improve logging

* Remove unused functions

* get_nym_nodes for scraping WIP

* Separate nym_nodes from mixnode stats
- fixes FOREIGN_KEY_CONSTRAINT error when storing
  stats for nym_nodes which aren't in mixnodes table

* Daily aggregation works

* mixnodes/stats exposes correct info

* Undo unnecessary tidbits

* Replace obsolete stats

* Add total_stake

* Bump cargo.toml version

* Rename MixingNodeKind for better clarity
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.

2 participants