Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Use buckets for peers.  #392

@kushti

Description

@kushti

Currently we're choosing peer to connect at random, which is likely vulnerable to eclipsing. Bitcoin is trying to get connections randomly across IP address space, there were some vulnerabilities found there as well back in 2015: https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-heilman.pdf .

So the goal is about implementing buckets-based strategy with fixes proposed and made in Bitcoin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions