ChainSafe / ChainSafe/gossamer

Implement `PeerData`

Open
#4,204 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary
- Tracks informations of current connected Collators
- Since a collator is also a polkadot full node we should update its view any time we receive a `PeerUpdateView` message
- Collator also produces advertisements that we should track and prune when needed.

### Details

- The struct seems to match, but would be better to align with the pattern in the polkadot sdk, that should take less than 1h.
- Should update the functions that uses ProspectiveParachainsMode (removed).
- Update functions due to depracate logic.

## Other information and links

- https://github.com/paritytech/polkadot-sdk/blob/e000a5c42c7aee5ce08bb9f5f40bf17ac4005a0e/polkadot/node/network/collator-protocol/src/validator_side/mod.rs#L159

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.