Only fetch one collation at a time per relay parent (#3333)
* Only fetch one collation at a time per relay parent Before a validator would fetch all collations that were advertised to him. This pr changes the behavior to always just fetch one collation at a time. If fetching fails, the validator will start fetching one of the other collations. * Use enum to be more explicit * Review comments
Showing
- polkadot/node/network/collator-protocol/src/validator_side/mod.rs 132 additions, 74 deletions.../node/network/collator-protocol/src/validator_side/mod.rs
- polkadot/node/network/collator-protocol/src/validator_side/tests.rs 259 additions, 605 deletions...ode/network/collator-protocol/src/validator_side/tests.rs
- polkadot/node/network/protocol/src/request_response/mod.rs 1 addition, 1 deletionpolkadot/node/network/protocol/src/request_response/mod.rs
- polkadot/node/network/protocol/src/request_response/request.rs 4 additions, 1 deletion...dot/node/network/protocol/src/request_response/request.rs
Please register or sign in to comment