hirosystems / ordhook

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

Incomplete transaction records from ordhook to ordinals-api #336

Open saltict opened 2 weeks ago

saltict commented 2 weeks ago

Hi ordhook team,

Thank you for your awesome work!

I tried to implement my own ordhook and ordinals-api on my server. I used ordhook version 2.2.4 and ordinals-api version 4.0.4 on docker with data restored from the snapshot on archive.hiro.so with all snapshot files from xxx-20240630.yyy. After completion, I checked the data in the inscription table, and it was correct, matching the data from ordinals.com. However, after debugging, I found that the number of transaction records ordhook sent to ordinals-api is incomplete. For example, for block 350357, I only received 229 transactions from ordhook.

I need a version that provides data consistent with https://api.hiro.so/ordinals. Which version should I use, and which backup date should I choose?

Thank you!

saltict commented 2 weeks ago

This is data of the block 850357 I got from ordhook: 850357.json and data from ordinals.com (https://ordinals.com/block/850357)

saltict commented 1 week ago

After checked I found that my problems may be related to that issue (https://github.com/hirosystems/ordhook/issues/329#issuecomment-2201339135)

But I still not sure about the ordhook version running for official API off Hiro Official API