From 157dcd6505909d9740fa2f7921c6c940069d0fbe Mon Sep 17 00:00:00 2001 From: codeShark149 Date: Sat, 8 May 2021 17:46:56 +0530 Subject: [PATCH] Updated Readme.md Readme updated to include instruction to connect to Bitcoin Core node serving compact filters. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ae506bb..81263ed 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,18 @@ To sync a wallet to the default electrum server: cargo run -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync ``` +To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18444) serving 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 +``` + To get a wallet balance with customized logging: ```shell -- 2.49.0