Open sbs2001 opened 11 months ago
Thanks for the issue!
This repo essentially uses this repo here to run the Stacks blockchain with an API: https://github.com/stacks-network/stacks-blockchain-docker
after this machine-image was created - Hiro added some public chainstate archives, which I've scripted as part of the docker repo: https://github.com/stacks-network/stacks-blockchain-docker/blob/master/scripts/seed-chainstate.sh
I think it would be trivial to trigger that script to run if and env var is added to the instance when it starts, i.e. SEED_CHAINSTATE=true
etc.
long term, i think we can use webhooks to trigger some builds (i.e. when there is a new version of the api or blockchain)
Do you think we should have a github action to build+publish the image to AWS ? We could start by manually triggering it and eventually have webhooks triggering it as you said.
Currently it takes significant time to sync the node.
@wileyj suggested to bootstrap the node from chainstate archive to speed up the process.