Skip to content

Commit d8b3f7c

Browse files
committed
p2qrh: bitcoin core build instructions in end-to-end docs
1 parent 5ef52b6 commit d8b3f7c

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

bip-0360/ref-impl/rust/docs/p2qrh-end-to-end.adoc

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,29 @@ Execute in Bitcoin Core `regtest` mode.
1717

1818
=== Bitcoin Core
1919

20-
TO-DO
20+
The link:https://github.com/jbride/bitcoin/tree/p2qrh[p2qrh branch] of bitcoin core is needed.
21+
22+
Build instructions for the `p2qrh` branch are the same as `master` and is documented link:https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md[here].
23+
24+
As such, the following is an example series of steps (on a Fedora 42 host) to compile and run the `p2qrh` branch of bitcoin core:
25+
26+
. build
27+
+
28+
-----
29+
$ cmake -B build \
30+
-DWITH_ZMQ=ON \
31+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
32+
-DBUILD_BENCH=ON \
33+
-DSANITIZERS=address,undefined
34+
35+
$ cmake --build build -j$(nproc)
36+
-----
37+
38+
. run in `regtest` mode
39+
+
40+
-----
41+
$ ./build/bin/bitcoind -daemon=0 -regtest=1
42+
-----
2143

2244
=== Shell Environment
2345

bip-0360/ref-impl/rust/docs/p2tr-end-to-end.adoc

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,29 @@ Execute in Bitcoin Core `regtest` mode.
1717

1818
=== Bitcoin Core
1919

20-
TO-DO
20+
The link:https://github.com/jbride/bitcoin/tree/p2qrh[p2qrh branch] of bitcoin core is needed.
21+
22+
Build instructions for the `p2qrh` branch are the same as `master` and is documented link:https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md[here].
23+
24+
As such, the following is an example series of steps (on a Fedora 42 host) to compile and run the `p2qrh` branch of bitcoin core:
25+
26+
. build
27+
+
28+
-----
29+
$ cmake -B build \
30+
-DWITH_ZMQ=ON \
31+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
32+
-DBUILD_BENCH=ON \
33+
-DSANITIZERS=address,undefined
34+
35+
$ cmake --build build -j$(nproc)
36+
-----
37+
38+
. run in `regtest` mode
39+
+
40+
-----
41+
$ ./build/bin/bitcoind -daemon=0 -regtest=1
42+
-----
2143

2244
=== Shell Environment
2345

0 commit comments

Comments
 (0)