forked from bitcoindevkit/bdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(rpc): add README and print ext address for FilterIter example
- Loading branch information
1 parent
8fc03ee
commit a6364e2
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Example bitcoind RPC sync | ||
|
||
### Simple Signet Test with FilterIter | ||
|
||
1. Start local signet bitcoind. (~8 GB space required) | ||
``` | ||
mkdir -p /tmp/signet/bitcoind | ||
bitcoind -signet -server -fallbackfee=0.0002 -blockfilterindex -datadir=/tmp/signet/bitcoind -daemon | ||
tail -f /tmp/signet/bitcoind/signet/debug.log | ||
``` | ||
Watch debug.log and wait for bitcoind to finish syncing. | ||
|
||
2. Set bitcoind env variables. | ||
``` | ||
export RPC_URL=127.0.0.1:38332 | ||
export RPC_COOKIE=/tmp/signet/bitcoind/signet/.cookie | ||
``` | ||
3. Run `filter_iter` example. | ||
``` | ||
cargo run -p bdk_bitcoind_rpc --example filter_iter | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters