From: codeShark149 Date: Sun, 16 May 2021 10:56:04 +0000 (+0530) Subject: Update Changelog and Readme file X-Git-Tag: v0.3.0~47 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/struct.ReadRng.html?a=commitdiff_plain;h=6f223cec7b3c3740eb5b9fc5792b46eee10d4145;p=bdk-cli Update Changelog and Readme file --- diff --git a/CHANGELOG.md b/CHANGELOG.md index f54bfe4..a359105 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 #### Added - New top level command "Compile" which compiles a miniscript policy to an output descriptor +- `CompactFilterOpts` to `WalletOpts` to enable compact-filter blockchain configuration ## [0.2.0] @@ -42,7 +43,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - "key" sub-commands to "generate" and "restore" a master private key - "key" sub-command to "derive" an extended public key from a master private key - "repl" command now has an "exit" sub-command -- `CompactFilterOpts` to `WalletOpts` to enable compact-filter blockchain configuration #### Changed - "wallet" sub-commands and options must be proceeded by "wallet" command diff --git a/README.md b/README.md index 81263ed..75e71b9 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,12 @@ cargo run -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN ``` To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18444) serving compact filters: +Note: +- This will increase build time by few minutes for the binaries because of `librocksdb`. +- Bitcoin Core v0.21.0 or higher is required to serve compact filters. -Update `Cargo.toml` -``` -[features] -default = ["repl", "electrum", "compact_filters"] -``` -Then run: ```shell -cargo run -- --network regtest wallet --node 127.0.0.1:18444 --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync +cargo run --features compact_filters -- --network regtest wallet --node 127.0.0.1:18444 --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync ``` To get a wallet balance with customized logging: