hirosystems / ordhook

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

mark payloads as "not streamed" during `ordhook scan` #308

Closed rafaelcr closed 5 months ago

rafaelcr commented 5 months ago

Ordhook currently sets is_streaming_blocks to true during ordhook service start when block start streaming once chaintip is reached. The API uses this to check if it should refresh caches, etc. However, this value is also true during ordhook scan which makes it difficult for API ingester instances to work quickly for replays. We should set it to false in this case.