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

Basic confirm_req improvements #1229

Merged
merged 5 commits into from Sep 26, 2018
Merged

Basic confirm_req improvements #1229

merged 5 commits into from Sep 26, 2018

Conversation

rkeene
Copy link
Contributor

@rkeene rkeene commented Sep 25, 2018

Improves logging to indicate how many representatives it is broadcasting to in each batch, and delays the second group by 50ms from the first group (instead of 0ms).

@rkeene rkeene self-assigned this Sep 25, 2018
@rkeene rkeene added this to the V16.1 milestone Sep 25, 2018
@rkeene rkeene mentioned this pull request Sep 25, 2018
@SergiySW
Copy link
Contributor

Not sure if we want to log each cycle again

@rkeene
Copy link
Contributor Author

rkeene commented Sep 25, 2018

Why did we stop logging each batch ? I think it's helpful to know when those kick off

@SergiySW
Copy link
Contributor

What is reason to log each batch?
We stop it to not overload log files (especially with broadcasting to 200 peers = 20 lines in log for each block)

@rkeene
Copy link
Contributor Author

rkeene commented Sep 25, 2018

So that we can correlate the network activity to other things in the logs -- along with #1230 it should be much fewer than 20 lines in most cases

rkeene and others added 4 commits September 26, 2018 15:30
Add a 0ms to 50ms random delay when scheduling more nodes to broadcast to.

This should help stochastically balance this traffic.
@rkeene rkeene merged commit 5bc61a2 into nanocurrency:master Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants