rename struct from GetBackedCandidatesMessage to GetBackableCandidatesMessage.
rename function from handleGetBackedCandidatesMessage to handleGetBackableCandidatesMessage.
Tests
go test -tags integration github.com/ChainSafe/gossamer
Issues
closes #4062
Other information
As GetBackedCandidatesMessage returns a list of backable candidates, I've renamed it to GetBackableCandidatesMessage.
Backable Candidate: If a candidate receives enough supporting Statements from the Parachain Validators currently assigned, that candidate is considered backable.
Legacy backing: we need 2(pre-defined) supporting votes to consider the candidate a backable.
Async backing: Call the runtime method to get the minimum number of backing votes required.
Backed Candidate: A Backable Candidate noted in a relay-chain block
Changes
GetBackedCandidatesMessage
toGetBackableCandidatesMessage
.handleGetBackedCandidatesMessage
tohandleGetBackableCandidatesMessage
.Tests
Issues
closes #4062
Other information
As
GetBackedCandidatesMessage
returns a list of backable candidates, I've renamed it toGetBackableCandidatesMessage
.Backable Candidate: If a candidate receives enough supporting Statements from the Parachain Validators currently assigned, that candidate is considered backable.
Backed Candidate: A Backable Candidate noted in a relay-chain block