hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
189 stars 56 forks source link

ordhook does not recover predicate upon restart #338

Closed rafaelcr closed 3 months ago

rafaelcr commented 3 months ago

when there's an active predicate (with brc20 enabled?) and a restart happens, ordhook is not able to recover it so the API stops receiving new blocks

Unable to evaluate predicate on Bitcoin chainstate: Block start / end block spec invalid
rafaelcr commented 3 months ago

This was fixed by #340 If there was an error retrieving the current block height from bitcoind, the predicate end_block evaluation failed. That PR fixes that issue.