ordhook icon indicating copy to clipboard operation
ordhook copied to clipboard

New streamed Ordinals Activities are not POST to endpoint

Open tegaget opened this issue 1 year ago • 0 comments

I have been testing this extensively. If I manually scan blocks, it will post to end point: $ ordhook scan blocks --interval 767430:767753 --post-to=http://localhost:3000/api/events --config-path=./Ordhook.toml

This works as expected. My node js listens to endpoint and successfully processes. Great.

However, when I run ordhook as service to process realtime live ordinal data, the POST is never made and my node js never sees it to process.

$ ordhook service start --post-to=http://localhost:3000/api/events --config-path=./Ordhook.toml

My ordhook is fully synced and working well. It successfully detects ZMQ from my node and processes automatically new ordinal data. I see it in console. However, I believe ordhook service is never POST to HTTP endpoint /api/events like the "ordhook scan blocks" does.

Any ideas on what is going on here? I am almost tempted to make my own console listener and process new blocks by spawning a "ordhook scan blocks" process to get this processed to POST.

tegaget avatar Dec 08 '24 22:12 tegaget