Skip to content

Commit db74bfd

Browse files
committed
zmq: serve block hashes by default
1 parent aeacf34 commit db74bfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ EXPOSE 8333 18333 18444 38333
106106
# RPC interface (mainnet, testnet, regtest & signet respectively)
107107
EXPOSE 8332 18332 18443 38332
108108

109-
# ZMQ ports (for blocks & transactions respectively)
110-
EXPOSE 28332 28333
109+
# ZMQ ports (for block hashes, raw blocks & raw transactions respectively)
110+
EXPOSE 8443 28332 28333
111111

112-
ENTRYPOINT ["/usr/local/bin/bitcoind", "-nodebuglogfile", "-zmqpubrawblock=tcp://0.0.0.0:28332", "-zmqpubrawtx=tcp://0.0.0.0:28333"]
112+
ENTRYPOINT ["/usr/local/bin/bitcoind", "-nodebuglogfile", "-zmqpubhashblock=tcp://0.0.0.0:8443", "-zmqpubrawblock=tcp://0.0.0.0:28332", "-zmqpubrawtx=tcp://0.0.0.0:28333"]

0 commit comments

Comments
 (0)