See example_esplora, example_electrum and example_bitcoind_rpc_polling
- for some reasons each of these independently apply the initial changeset to the graph (why can't it just be done inside
example_cli::init).
- The initialization is a bit of a mess where the examples insert the descriptors but don't persist them. Are we doing this intentionally? It's an interesting feature that you can actually change the descriptors in the example and not have to delete the database. If we are doing this intentionally then we should explain this.
I think with the example cli we should have an init command which takes in the descriptor assignments and persists them. It would be great if it could also generate a random bip86 descriptor too. Then future calls should require the db has been initialized -- no more environment variables.
- can we run the cli examples in CI against a regtest node somehow?
See example_esplora, example_electrum and example_bitcoind_rpc_polling
example_cli::init).I think with the example cli we should have an init command which takes in the descriptor assignments and persists them. It would be great if it could also generate a random bip86 descriptor too. Then future calls should require the db has been initialized -- no more environment variables.