Skip to content

Conversation

@OlegGirko
Copy link

This PR contains changes that enable per-command byte counters in CNode that can be accessed using getpeerinfo RPC call.

This is backport of 3 Bitcoin PRs:

Note that third commit partially cancel first one, so I'd recommend reviewing total change, not per-commit ones.

This is the first in series of PRs for big networking refactoring. Although it's not strictly necessary, it makes further refactoring easier because some subsequent changes touch parts of code affected by these changes.

jonasschnelli and others added 3 commits June 26, 2017 22:49
Most of this PR is already merged, but a small part remaining
that makes per-command byte counts in CNode working.

Signed-off-by: Oleg Girko <[email protected]>
Copy link

@tgflynn tgflynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Aside from making subsequent commits easier to merge this PR looks very useful on its own. Could definitely help with debugging/better understanding network issues.

utACK

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
utACK

@UdjinM6 UdjinM6 added this to the 12.2 milestone Jun 29, 2017
@UdjinM6 UdjinM6 merged commit a443d4e into dashpay:v0.12.2.x Jun 29, 2017
@OlegGirko OlegGirko deleted the bc-pr-6589-7180-7181 branch June 29, 2017 14:32
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.

5 participants