Skip to content

Conversation

@Elfoniok
Copy link

@Elfoniok Elfoniok commented Mar 14, 2017

Simple local estimation base on k-buckets, as described here:
https://gnunet.org/sites/default/files/Polot2010.pdf Chapter 5.3

Signed-off-by: Lukasz Foniok [email protected]

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.8%) to 85.777% when pulling 7a83a4e on Radagast-red:NetworkSizeEstimation2 into bc0691c on ethereum:develop.

self.buckets[index] = a
self.buckets.insert(index + 1, b)

def getCurrentNetSizeEst(self):

Choose a reason for hiding this comment

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

This project is using snake_case names for functions instead of camelCase names.

Choose a reason for hiding this comment

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

Please also add a test for this functionality.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 81.894% when pulling 54d2827 on Radagast-red:NetworkSizeEstimation2 into ce219ba on ethereum:develop.

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.

3 participants