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

[DO NOT MERGE] addrmgr: Properly scale up. #1132

Closed
wants to merge 1 commit into from

Conversation

markusrichter
Copy link
Contributor

Commit c80c8e7 was supposed to mimic
Bitcoin Core commit bitcoin/bitcoin@1d21ba2 in order to implement the suggested Countermeasure 6 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan
Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive
Report 2015/263. March 2015.

However, erroneously the triedBucketSize was increased instead of the triedBucketCount.

This commit fixes this error in order to properly mimic the Bitcoin Core
commit referenced above.

This change in isolation is problematic, because after applying it old
peers.json files will still load, but with many empty new tried buckets and
potentially overfull old tried buckets.

See issue #1131 for discussion.

Commit c80c8e7
was supposed to mimic
Bitcoin Core commit 1d21ba2f5ecbf03086d0b65c4c4c80a39a94c2ee
in order to implement the suggested Countermeasure 6 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan
Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive
Report 2015/263. March 2015.

However, erroneously the triedBucketSize was increased instead of the
triedBucketCount.

This commit fixes this error in order to properly mimic the Bitcoin Core
commit referenced above.

This change in isolation is problematic, because after applying it old
peers.json files will still load, but with many empty new tried buckets and
potentially overfull old tried buckets.

See issue decred#1131 for discussion.
@davecgh
Copy link
Member

davecgh commented Oct 10, 2018

Any status updates on this? It's been a while and I'd either like to get it finalized or close it.

@davecgh davecgh closed this Mar 17, 2019
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.

None yet

2 participants