clarification on adding to bitcoin.conf file

This commit is contained in:
Shannon Appelcline 2021-01-05 08:46:04 -10:00 committed by GitHub
parent 9aafcb04d6
commit de28f0c6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,8 +121,9 @@ $ BITCOINRPC_PASS=$(cat ~standup/.bitcoin/bitcoin.conf | grep rpcpassword | awk
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). 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).
This requires adding the following to your `~/.bitcoin/bitcoin.conf` file: This requires adding the following to your `~/.bitcoin/bitcoin.conf` file if it's not already there:
``` ```
$ cat >> ~/.bitcoin/bitcoin.conf
zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333 zmqpubrawtx=tcp://127.0.0.1:28333
``` ```