hirosystems / chainhook

Extract transactions from Stacks and Bitcoin and build event driven re-org resistant indexers and databases.
GNU General Public License v3.0
155 stars 63 forks source link

Missing 1 bitcoin block download causes subsequent blocks to fail #572

Closed MicaiahReid closed 6 months ago

MicaiahReid commented 6 months ago

Sometimes when the Chainhook service receives a new_burn_block, it then fails to download the block.

I'm not entirely sure why this happens, as the same block will be downloaded (at pretty much the exact same time) by Ordhook.

But, when this does happen, because we have a gap in our fork pool, we fail to append all future bitcoin blocks. We should:

  1. increase the number of retries when downloading a block
  2. auto-restart chainhook if we fail to download a block
github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: