bitcoin-etl
bitcoin-etl copied to clipboard
Implement GCSExporter
GCSExporter outputs blocks with transactions to a file (one per block) and uploads it to a GCS bucket. It should have the same interface as https://github.com/blockchain-etl/bitcoin-etl/blob/master/blockchainetl/jobs/exporters/google_pubsub_item_exporter.py.
It will be used for streaming e.g.
bitcoinetl stream -p http://user:pass@localhost:8332 --start-block 500000 --output gs://bucket_name/folder
The bucket can then be configured to trigger events to Cloud Functions or Pub/Sub.