ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
427 stars 110 forks source link

Investigate on how to decide if it is a backable candidate in candidate backing subsystem. #4030

Closed axaysagathiya closed 1 week ago

axaysagathiya commented 3 weeks ago

Issue summary

Other information and links

Backable Candidate: If a candidate receives a majority of supporting Statements from the Parachain Validators currently assigned, then that candidate is considered backable. Backed Candidate: A Backable Candidate noted in a relay-chain block

Acceptance criteria's or Outcomes

axaysagathiya commented 1 week ago

I found this documentation about accepting and rejecting the candidate based on the approval of a quorum.

axaysagathiya commented 1 week ago

it seems we don't need majority validity votes in the legacy candidate backing(before the support of async backing).

There is a predefined number of minimum backing votes required for legacy backing.

axaysagathiya commented 1 week ago

We store all the validity votes in the statement table in the candidate backing subsystem. The Provisioner subsystem sends a message to the candidate backing subsystem to get backable candidates.

Conclusion: