Update zmq port
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m36s

This commit is contained in:
SikkieNL 2025-01-06 21:10:32 +01:00
parent 5faadaf26e
commit 660800d306
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import binascii
import zmq import zmq
import struct import struct
port = 21427 port = 28332
zmqContext = zmq.Context() zmqContext = zmq.Context()
zmqSubSocket = zmqContext.socket(zmq.SUB) zmqSubSocket = zmqContext.socket(zmq.SUB)

View File

@ -405,9 +405,9 @@ arbitrary TCP connections inside SSL. On e.g. Ubuntu it can be installed with:
sudo apt-get install stunnel4 sudo apt-get install stunnel4
Then, to tunnel a SSL connection on 21427 to a RPC server bound on localhost on port 11427 do: Then, to tunnel a SSL connection on 28332 to a RPC server bound on localhost on port 11427 do:
stunnel -d 21427 -r 127.0.0.1:11427 -p stunnel.pem -P '' stunnel -d 28332 -r 127.0.0.1:11427 -p stunnel.pem -P ''
It can also be set up system-wide in inetd style. It can also be set up system-wide in inetd style.

View File

@ -68,7 +68,7 @@ address. The same address can be used in more than one notification.
For instance: For instance:
$ neobytesd -zmqpubhashtx=tcp://127.0.0.1:21427 \ $ neobytesd -zmqpubhashtx=tcp://127.0.0.1:28332 \
-zmqpubrawtx=ipc:///tmp/neobytesd.tx.raw -zmqpubrawtx=ipc:///tmp/neobytesd.tx.raw
Each PUB notification has a topic and body, where the header Each PUB notification has a topic and body, where the header

View File

@ -23,7 +23,7 @@ except ImportError:
class ZMQTest (BitcoinTestFramework): class ZMQTest (BitcoinTestFramework):
port = 21427 port = 28332
def setup_nodes(self): def setup_nodes(self):
self.zmqContext = zmq.Context() self.zmqContext = zmq.Context()