Skip to content

Multi-peer - Basic #204

@sandtreader

Description

@sandtreader

Fork UpstreamChainFetcher into PeerNetworkInterface, leaving UpstreamChainFetcher available for single trusted upstreams.

Allow connection to multiple upstream peers using a manual topology file. Follow the same ChainSync process to follow each peer, but select only one (e.g. the first) to define the fork to follow. Blocks can be fetched from any peer that has advertised it, and can be parallelised.

This is only a way-stage towards full consensus-driven fetching (see #205)

Initially, we'll connect to three well-known IOHK relays.

Future tickets could add the measurement of relays and adjust which relay we fetch from.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions