Skip to content

Commit e699883

Browse files
committed
doc: Add IPv6 address to zmq example
1 parent 8abe570 commit e699883

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/zmq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ For instance:
8484

8585
$ bitcoind -zmqpubhashtx=tcp://127.0.0.1:28332 \
8686
-zmqpubhashtx=tcp://192.168.1.2:28332 \
87+
-zmqpubhashblock="tcp://[::1]:28333" \
8788
-zmqpubrawtx=ipc:///tmp/bitcoind.tx.raw \
8889
-zmqpubhashtxhwm=10000
8990

@@ -125,6 +126,9 @@ Setting the keepalive values appropriately for your operating environment may
125126
improve connectivity in situations where long-lived connections are silently
126127
dropped by network middle boxes.
127128

129+
Also, the socket's ZMQ_IPV6 option is enabled to accept connections from IPv6
130+
hosts as well. If needed, this option has to be set on the client side too.
131+
128132
## Remarks
129133

130134
From the perspective of bitcoind, the ZeroMQ socket is write-only; PUB

0 commit comments

Comments
 (0)