Open CryptoFewka opened 2 days ago
To be explicit, it will also cut the free disk space required in half, because it won't need to download first, and then unpack.
Note: this change would cause the download to be unable to resume if interrupted. I do not believe that the current process will use an already downloaded, or partially downloaded snapshot currently though.
We would need to decide which is better:
Rather than downloading the archive snapshot in one step, and then unpacking it in another step, we should consider streaming the download in to tar through the pipeline so that the overall process completes more quickly.
https://github.com/zeta-chain/node/blob/3eba70102a12be9ab55f0939b1a5260251ef2d5c/contrib/docker-scripts/start.sh#L140-L144