implement candidate selection subsystem (#1645)
* choose the straightforward candidate selection algorithm for now
* add draft implementation of candidate selection
* fix typo in summary
* more properly report misbehaving collators
* describe how CandidateSelection subsystem becomes aware of candidates
* revise candidate selection / collator protocol interaction pattern
* implement rest of candidate selection per the guide
* review: resolve nits
* start writing test suite, harness
* implement first test
* add second test
* implement third test
Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io>
Showing
- polkadot/Cargo.lock 14 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 1 addition, 0 deletionspolkadot/Cargo.toml
- polkadot/node/core/candidate-selection/Cargo.toml 17 additions, 0 deletionspolkadot/node/core/candidate-selection/Cargo.toml
- polkadot/node/core/candidate-selection/src/lib.rs 669 additions, 0 deletionspolkadot/node/core/candidate-selection/src/lib.rs
- polkadot/node/subsystem/src/messages.rs 3 additions, 0 deletionspolkadot/node/subsystem/src/messages.rs
- polkadot/roadmap/implementers-guide/src/node/backing/candidate-selection.md 10 additions, 8 deletions...mplementers-guide/src/node/backing/candidate-selection.md
- polkadot/roadmap/implementers-guide/src/node/collators/collator-protocol.md 23 additions, 9 deletions...mplementers-guide/src/node/collators/collator-protocol.md
- polkadot/roadmap/implementers-guide/src/types/overseer-protocol.md 2 additions, 0 deletions...roadmap/implementers-guide/src/types/overseer-protocol.md
Please register or sign in to comment