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
As a user I want the chain sync for potentially missing tipsets to be as efficient as possible when checkpointing a tipset. This is because:
we cannot checkpoint a tipset unless it is synced, and
tipset sync is usually a blocking operation, in that the chances are the normal flow of whatever the sync is used for cannot progress until the missing tipsets are synced and the faster more efficient the sync the better the UX.
The following use the chain index via GetTipsetByHeight instead of chainstore IsAncestorOf to lookup and fill missing tipsets:
As a user I want the chain sync for potentially missing tipsets to be as efficient as possible when checkpointing a tipset. This is because:
The following use the chain index via
GetTipsetByHeight
instead of chainstoreIsAncestorOf
to lookup and fill missing tipsets:Syncer.SyncCheckpoint
ChainStore.SetCheckpoint
Context: pointed out in this PR review.
The text was updated successfully, but these errors were encountered: