This makes updating best chain chainparams trivial, given that you have access to up-to-date mainnet and testnet nodes via bitcoin-cli.
In the near future, this pipeline becomes possible (all TODO):
* A bot with up-to-date nodes runs this script.
* Smoke tests are run on the result and landed on master automatically.
For now, this script can be used manually.