Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Update candidate-backing for asynchronous backing #5057

Closed
rphmeier opened this issue Mar 7, 2022 · 3 comments
Closed

Update candidate-backing for asynchronous backing #5057

rphmeier opened this issue Mar 7, 2022 · 3 comments
Labels
I8-refactor Code needs refactoring.

Comments

@rphmeier
Copy link
Contributor

rphmeier commented Mar 7, 2022

For asynchronous backing, the candidate-backing subsystem will have a few key changes.

We need to notify the prospective-parachains subsystem about all new seconded candidates and backed candidates. We'll probably remove the concept of seconding two candidates under the same relay-parent being misbehavior (spam should be prevented on the network level - #5055).

And we'll need to keep around statement tables until relay-parents go obsolete, not just inactive. More specifically, we should continue accepting candidates for relay-parents as long as any of the active leaves could consider that relay-parent to be relevant. See #4963

@rphmeier rphmeier added the I8-refactor Code needs refactoring. label Mar 7, 2022
@rphmeier
Copy link
Contributor Author

And we'll need to keep around statement tables until relay-parents go obsolete, not just inactive. More specifically, we should continue accepting candidates for relay-parents as long as any of the active leaves could consider that relay-parent to be relevant.

This is addressed in #4963 now with a GetMinimumRelayParent message.

@rphmeier
Copy link
Contributor Author

We'll also want #4259 at least partially done as a pre-requisite.

@slumber
Copy link
Contributor

slumber commented Sep 12, 2022

Closed by #5557

@slumber slumber closed this as completed Sep 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I8-refactor Code needs refactoring.
Projects
None yet
Development

No branches or pull requests

2 participants