This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
BEEFY - justifications sync protocol #12093
Copy link
Copy link
Closed
Labels
J0-enhancementAn additional feature request.An additional feature request.U1-asapNo need to stop dead in your tracks, however issue should be addressed as soon as possible.No need to stop dead in your tracks, however issue should be addressed as soon as possible.Z4-involvedCan be fixed by an expert coder with good knowledge of the codebase.Can be fixed by an expert coder with good knowledge of the codebase.
Description
This issue replaces paritytech/grandpa-bridge-gadget#20 and tracks implementing #3 below:
A node running BEEFY worker/gadget, generates/imports and stores BEEFY justifications as follows:
- when synced, it participates in voting gossip and builds BEEFY justifications itself from gossiped votes,
- when behind, it imports BEEFY justifications alongside imported blocks (as part of block import - added in Lean BEEFY to Full BEEFY - don't skip (older) mandatory blocks and import justifications #11821 and beefy: initialize voter from genesis and fix initial sync #11959),
- runs dedicated BEEFY justifications sync protocol as a libp2p
RequestResponseprotocol - where node can request BEEFY justifications for certain blocks from connected peers, and also answer any requests it gets.
#3 above is required when syncing from a peer that might be missing some/all BEEFY justifications.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
J0-enhancementAn additional feature request.An additional feature request.U1-asapNo need to stop dead in your tracks, however issue should be addressed as soon as possible.No need to stop dead in your tracks, however issue should be addressed as soon as possible.Z4-involvedCan be fixed by an expert coder with good knowledge of the codebase.Can be fixed by an expert coder with good knowledge of the codebase.