#### 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]
- "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
```
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: