tezos snapshot export to stdout / import from stdin
import from stdin
tezos-k8s has an init container that downloads a snapshot, puts it in a file, then imports it.
Instead, I want to curl
the snapshot and pipe it to tezos-node snapshot import
.
export from stdout
Similarly, tezos-snapshot-generator, the codebase backing xtz-shots.io needs to store the snapshot into a file before it can be uploaded to cloud storage. It is possible to upload to cloud storage with a pipe, but this requires ability for the snapshot export to print to stdout.