You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
💡 Use "Flooding with Random Walk" impl (if beneficial for) in GetCandidate message flow.
Context: GetCandidate P2P message is currently used in creating the winner block in consensus task on Quorum message arrival. It sends request to 7 random (alive) peers and waits for a response 2s. Together with that, GetCandidate search for block only in Candidates Column Family but it could also check the Ledger CF too.
Possible solution design or implementation
Deprecate GetCandidate message flow.
Extend GetResource msg flow to support CandidateFromHash Inventory type
Extend handle_get_candidate to search for a missing candidate in Ledger Column family
Additional context
GetResource (BlockFromHash) (called in Chain component on arrival of Quorum msg) overlaps with GetCandidate request.
Summary
Context:
GetCandidate
P2P message is currently used in creating the winner block in consensus task on Quorum message arrival. It sends request to 7 random (alive) peers and waits for a response 2s. Together with that, GetCandidate search for block only inCandidates
Column Family but it could also check theLedger
CF too.Possible solution design or implementation
CandidateFromHash
Inventory typehandle_get_candidate
to search for a missing candidate in Ledger Column familyAdditional context
GetResource (
BlockFromHash
) (called inChain
component on arrival of Quorum msg) overlaps withGetCandidate
request.depends on #1711
The text was updated successfully, but these errors were encountered: