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
// fetchAndWrite fetches a block, checks the cert, and writes it to the ledger. Cert checking and ledger writing both wait for the ledger to advance if necessary.
235
235
// Returns false if we should stop trying to catch up. This may occur for several reasons:
236
-
// - If the context is canceled (e.g. if the node is shutting down)
237
-
// - If we couldn't fetch the block (e.g. if there are no peers available or we've reached the catchupRetryLimit)
238
-
// - If the block is already in the ledger (e.g. if agreement service has already written it)
239
-
// - If the retrieval of the previous block was unsuccessful
236
+
// - If the context is canceled (e.g. if the node is shutting down)
237
+
// - If we couldn't fetch the block (e.g. if there are no peers available, or we've reached the catchupRetryLimit)
238
+
// - If the block is already in the ledger (e.g. if agreement service has already written it)
239
+
// - If the retrieval of the previous block was unsuccessful
0 commit comments