This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Refactoring: prepare Peerset
for moving connection establishment logic to protocol handlers
#13531
Labels
Description
This is a preparation task for coming
Notifications
refactoring outlined in paritytech/polkadot-sdk#556 and split into many tasks.The main idea is to split peer data storage and connection establishment logic (connect/drop & accept/reject), so that the latter can easily be moved to protocol handlers later.
The connection establishment logic should contain basic heartbeat functionality for establishing new connections that can later be moved to and reused by protocols.
Further steps
The next logical step after this task is researching if (and how) it's possible to move peer addresses from
Discovery
behavior to the newPeerset
data store paritytech/polkadot-sdk#518.The text was updated successfully, but these errors were encountered: