-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Light-client Authority Set Handoffs #269
Comments
This is desired for light-client-friendly tracking of authority set changes. When the authority set changes from When an authority imports such a block and believes the change to be the result of a valid block execution, he generates a signature on a When a full or light node imports a block with this kind of digest event, it waits to fetch a justification for the change before continuing to sync on top of that chain. Full nodes will save the justification permanently in the database. Optimization: automatically provide the justification with any relevant blocks. This can also be used for a fast warp sync with the caveat that it is vulnerable to long range attacks. |
Might be a good one for @svyatonik ? |
Done in #687 |
Not actually - we only have a |
Current state: TODO : generate && broadcast justification by authorities. Since (as @rphmeier said) this is required for non-instant finality, I'll put this away for now |
@rphmeier @svyatonik is there still anything to do here for a functional & secure MVP of AfG/GRANDPA/SHAFT? |
I'm not convinced we can get a light-client running for beta but perhaps for 1.0. @svyatonik The last thing we need is a handoff-proof generating protocol. And a way to sync the handoff-proofs. The hard part (similar to #1069) is having a heuristic for syncing clients to decide if the handoff-proof has been produced already and we need to request it from a peer or if the proof has not been generated and we should be watching for it). |
* new image, show rust version * show rust version, fix metadata
* Update extrinsic to the latest * Update tests accordingly * Update wasm
No description provided.
The text was updated successfully, but these errors were encountered: