ChainSafe / ChainSafe/gossamer

feat(statement-distribution): Implement `dispatch_requests`

Open
#4,396 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

### Description

After handling some peer message, other subsystem message or even if the request manager sends `Retry` message we should call `dispatch_requests`, that method drain all requests in the queue sending them to `Network Bridge Subsystems` also we keep a reference for each one of those requests in the `Response Manager`

### Links

- Method we should [implement](https://github.com/paritytech/polkadot-sdk/blob/41a5d8ec5f3d3d0ff82899be66113b223395ade5/polkadot/node/network/statement-distribution/src/v2/mod.rs#L2976-L2977)

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.