-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To implement rollups we need a way to store block's validity fact. To prove the validity of the block we use signature aggregated during voting phase is is exactly what we are going to use as block's validity fact. We can go further and prune all transaction signatures as they become obsolete when majority of nodes voted for this block and validated it.
To implement this change we need:
- Add signature aggregate to block
- Prune signatures
- Update block's signature every time we add new block, since added block can contain QC, we can simply put this signature to local QC.block and prune it's transactions
- When validating block, first we check it's signature aggregate and if absent validate transaction signatures as usual, if signature is correct we prune transaction's signatures.
- When synchronizing blockchain, we must do the same operation
Metadata
Metadata
Assignees
Labels
No labels