hirosystems / ordhook

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

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

Closed rafaelcr closed 1 month ago

rafaelcr commented 1 month 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.