conduit icon indicating copy to clipboard operation
conduit copied to clipboard

algod importer: More resilient node swapping.

Open winder opened this issue 2 years ago • 0 comments

Problem

If algod is swapped out while Conduit is running, it might be slightly out of date and need to have the sync round updated (or run fast catchup.

Solution

Check if node needs to catchup during GetBlock.

If a retry is detected, run the catchupNode function. This should not be run unless absolutely necessary to avoid introducing additional latency.

winder avatar May 31 '23 16:05 winder