ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.81k stars 1.35k forks source link

Ordinal Index Snapshot Link #3890

Open CryptoSnowPrince opened 1 month ago

CryptoSnowPrince commented 1 month ago

We need Ordinal Index File Snapshot to reduce the indexing process. We can download the snapshot file. There may be several snapshot files as along the index flag. It is very similar to the several blockchain node sync mode.

so7ow commented 1 month ago

Doubt if you'll see an official team-provided snapshot but there is a community-provided index file for download.

https://ordstuff.info

CryptoSnowPrince commented 1 month ago

But I think it should be verify officially such as official GitHub or any other social. For example, they can add snapshot checksum on the GitHub release as along the Ord version.

raphjaph commented 1 month ago

We've thought about this and unfortunately the database is not built deterministically. So there is no way to provide a checksum/hash that will be the same across systems. There have been proposals to create a consensus hash https://github.com/ordinals/ord/issues/2574 and https://github.com/hirosystems/ordhook/issues/223, I've commented on both but the proposer has never answered. If you would like to champion this proposal and formalize it more, I'm happy to help and review PRs though!