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
just one note here, the easiest way to trim forks is for our light client to store only main chain and remove headers when doing reorg, this way main schema does not need to change at all.
Algorithm becomes:
receive newfork
travel from current tip to common ancestor of newfork and current fork. While traveling to common ancestor register hashes and height of seen headers
Check that newfork have better total difficulty than current fork
@SebastianElvis cloned issue babylonchain/babylon-contract#14 on 2023-04-12:
The text was updated successfully, but these errors were encountered: