The goal is to write a script that we can run once and will run IBD on master every 24 hours or so. Breakdown of the script:
- Pull latest Bitcoin ABC master
- Build bitcoind
- Clear blockchain files (but not configs) in ~/.bitcoin/
- Spin up bitcoind node
- Wait for IBD to complete
This script should run be able to be run via chron and TeamCity.
Update: The above isn't quite necessary since contrib/teamcity/ibd.sh already exists. Rather than rewrite it, we can simply update it to allow different parameters for different runs. TeamCity should be able to call this script with -assumevalid=0 -checkpoints=0 so that we no longer need to do this manually during releases.
Another way this script can be improved is to only run if the previous run has a different HEAD commit than latest master, though this feature isn't strictly necessary for MVP.