Skip to content

Conversation

@MuhamadJuwandi
Copy link

Implements traffic stats collection logic for RetroShare Issue #3088. This adds total in/out counters to RsConfigDataRates and the corresponding retrieval methods.

@defnax
Copy link
Contributor

defnax commented Dec 23, 2025

there is a "}" missed
but GXS Service & Turtle traffic calculation not yet done?

@MuhamadJuwandi
Copy link
Author

Thanks for the review. I've fixed the missing brace }.

I also fixed the traffic calculation logic:

  1. getTotalBandwidthRates now correctly sums up traffic from all connected peers.
  2. Added Turtle traffic statistics using rsTurtle->getTrafficStatistics.

Regarding GXS Service: I focused on the main synchronous traffic stats (Peers + Turtle) for now to fix the reported issues

@defnax
Copy link
Contributor

defnax commented Dec 24, 2025

But I tested it let’s freeze retroshare when get connected to a friend
pqipersongrp.cc‎ ->Line 410
Can you update your lib branch to latest master? GUI compile has conflicts lib part isn’t up to date

@csoler csoler changed the title feat: traffic stats collection (Issue #3088) [WIP] feat: traffic stats collection (Issue #3088) Dec 26, 2025
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