OP node with finality gadget
This is a modified OP node that enforces BTC-voting quorum before finalizing L2 blocks.
- It connects to the finality gadget for querying consecutive BTC-voting quorums to determine the finalization status of the L2 blocks.
- It notifies OP-geth about the L2 blocks’ finalization status to move the L2 finalized block head.
Upon a new L2 block derived from L1 batch transactions, the OP node does the following:
- Process the block in its derivation pipeline and perform various validation checks.
- Before the last step to mark the block finalized, it queries the finality gadget to check if the block is BTC staking-finalized.
- If yes, mark this L2 block finalized and output it in the derivation pipeline.