serokell / tezos-packaging

Various forms of Tezos software distribution for Linux and macOS.
MIT License
60 stars 21 forks source link

Replace xtz-shots snapshot provider with tzinit #782

Closed DMozhevitin closed 5 months ago

DMozhevitin commented 6 months ago

Clarification and motivation

xtz-shots snapshot provider is down for some time, and it's unlikely that it will continue working. At the same time, the new snapshot provider tzinit launched recently, it would be nice to replace xtz-shots with it in tezos-setup.

This provider has different API than Marigold and xtz-shots, namely it doesn't provide the snapshot metadata JSON file, but their API is designed in such a way as to download the needed snapshot without metadata JSON.

Also note that they have several servers located in different regions (EU, US and Asia) and it's represented by the part of URL to download the snapshot. We should take it into account and give users a possibility to choose the appropriate region to download the snapshot faster.

Acceptance criteria