- Change rpc `--skip-blocks` option to `--start-time` which specifies time initial sync will start scanning from.
- Add new `bdk-cli node <command> [<args>]` to control the backend node deployed by `regtest-*` features.
- Add an integration testing framework in `src/tests/integration.rs`. This framework uses the `regtest-*` feature to run automated testing with bdk-cli.
+- Add possible values for `network` option to improve help message, and fix typo in doc.
## [0.5.0]
name = "NETWORK",
short = "n",
long = "network",
- default_value = "testnet"
+ default_value = "testnet",
+ possible_values = &["bitcoin", "testnet", "signet", "regtest"]
)]
pub network: Network,
/// Sets the wallet data directory.
///
/// These commands can be used to control the backend bitcoin-core node
/// launched automatically with the `regtest-*` feature sets. The commands issues
- /// bitcoin-cli rpc calls on the demon, in the background.
+ /// bitcoin-cli rpc calls on the daemon, in the background.
///
/// Feel free to open feature-request in <https://github.com/bitcoindevkit/bdk-cli>
/// if you need extra rpc calls not covered in the command list.