Skip to content

Commit de28f0c

Browse files
authored
clarification on adding to bitcoin.conf file
1 parent 9aafcb0 commit de28f0c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

18_2__Interlude_Accessing_a_Second_Lightning_Node.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ $ BITCOINRPC_PASS=$(cat ~standup/.bitcoin/bitcoin.conf | grep rpcpassword | awk
121121
122122
Second, you need to enable ZMQ on your Bitcoind, if you didn't already in [§15.3](15_3_Receiving_Bitcoind_Notifications_with_C.md).
123123

124-
This requires adding the following to your `~/.bitcoin/bitcoin.conf` file:
124+
This requires adding the following to your `~/.bitcoin/bitcoin.conf` file if it's not already there:
125125
```
126+
$ cat >> ~/.bitcoin/bitcoin.conf
126127
zmqpubrawblock=tcp://127.0.0.1:28332
127128
zmqpubrawtx=tcp://127.0.0.1:28333
128129
```

0 commit comments

Comments
 (0)