ChainSafe / ChainSafe/gossamer

feat(statement-distribution): Implement `handle_incoming_statement`

Open
#4,392 0 comments 0 reactions 1 assignee Assigned to @P1sar View on GitHub
C-complex S-subsystems-backing
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

### Description

We should handle statements provided by our group peers, this method also does:
- This checks whether the sender is allowed to send the statement
- If the statement is fresh, this function guarantees that after completion the statement is re-circulated to all relevant peers in both the cluster and the grid

### Links

- Method we should implement: [`handle_incoming_statement`](https://github.com/paritytech/polkadot-sdk/blob/4198dc95b20e7a157fa0d1b8ef4a2e01a223af1b/polkadot/node/network/statement-distribution/src/v2/mod.rs#L1549)

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.