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

[Product Data] Add session type based on ecash ticket received #4974

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

simonwicky
Copy link
Contributor

@simonwicky simonwicky commented Oct 15, 2024

What it does

Fire an EcashTicket event for the GatewayStatisticsCollector, when an Ecash ticket is being accepted. This allows to mark an active session as being a mixnet session or a vpn session.

It also changes the format of the related self-described data, to accommodate that new session type.


This change is Reviewable

@simonwicky simonwicky added this to the Magura milestone Oct 15, 2024
Copy link

vercel bot commented Oct 16, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
nym-explorer ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 8:45am
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 8:45am

gateway/src/node/statistics/sessions.rs Outdated Show resolved Hide resolved
@simonwicky simonwicky merged commit 355991a into develop Oct 17, 2024
20 checks passed
@simonwicky simonwicky deleted the simon/ticket_data branch October 17, 2024 12:11
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