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
Currently, sync domain block from other operator nodes is not supported yet, the operator node needs to sync the consensus block and derive the domain block from it locally.
After a domain is instantiated at consensus block #n, to run an operator node for the domain, the node usually need to first sync the consensus chain from the genesis block up to block #n, then the domain node will start and derive the genesis domain block from consensus block # and if there is a bundle in the coming consensus block it will derive a domain block.
While the operator node has to sync the consensus block #n to derive the genesis domain block and any consensus blocks after #n (which potentially contains bundle) to derive the domain block, there is no need for the operator node to sync the consensus block #0..#n-1, instead the operator node can sync the consensus state at block #n-1 without syncing and executing the block and start sync consensus block from #n.
After syncing domain block from other operator nodes is supported, the domain sync process can be further optimized, the operator node can sync the domain chain from other peers from the genesis domain block to the latest confirmed domain block, after that the operator node need to sync the consensus chain from there and derive domain block locally so it can generate and submit fraud proof if there is a bad ER exist.
The text was updated successfully, but these errors were encountered:
The consensus chain fast sync (WIP) could work here as well. It seems possible to change the fast sync from the "last archived block" to target block #n
Currently, sync domain block from other operator nodes is not supported yet, the operator node needs to sync the consensus block and derive the domain block from it locally.
After a domain is instantiated at consensus block
#n
, to run an operator node for the domain, the node usually need to first sync the consensus chain from the genesis block up to block#n
, then the domain node will start and derive the genesis domain block from consensus block#
and if there is a bundle in the coming consensus block it will derive a domain block.While the operator node has to sync the consensus block
#n
to derive the genesis domain block and any consensus blocks after#n
(which potentially contains bundle) to derive the domain block, there is no need for the operator node to sync the consensus block#0..#n-1
, instead the operator node can sync the consensus state at block#n-1
without syncing and executing the block and start sync consensus block from#n
.After syncing domain block from other operator nodes is supported, the domain sync process can be further optimized, the operator node can sync the domain chain from other peers from the genesis domain block to the latest confirmed domain block, after that the operator node need to sync the consensus chain from there and derive domain block locally so it can generate and submit fraud proof if there is a bad ER exist.
The text was updated successfully, but these errors were encountered: