hexresearch/bitcoin-utxo

Failed to detect that sync is finished

Closed this issue · 1 comments

Bug is lurked in barrier design, if we have batch from 0 to 100 and height is 128 we should reset barrier at height 128.

That bug causes that sync is restarted only when node drops connection (every 20 minutes).

Test on deployed server failed, issue is still relevant.