Skip to content

Commit

Permalink
Merge pull request dashpay#3028 from PastaPastaPasta/backport-12588
Browse files Browse the repository at this point in the history
Backport a couple of ZMQ fixes
  • Loading branch information
UdjinM6 authored and codablock committed Aug 7, 2019
1 parent 5af6ce9 commit 781b165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contrib/zmq/zmq_sub.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
Dash should be started with the command line arguments:
dashd-testnet -daemon \
-zmqpubhashblock=tcp://127.0.0.1:28332 \
-zmqpubrawtx=tcp://127.0.0.1:28332 \
-zmqpubrawblock=tcp://127.0.0.1:28332 \
-zmqpubhashtx=tcp://127.0.0.1:28332 \
-zmqpubhashblock=tcp://127.0.0.1:28332
Expand Down Expand Up @@ -38,7 +38,7 @@

class ZMQHandler():
def __init__(self):
self.loop = zmq.asyncio.install()
self.loop = asyncio.get_event_loop()
self.zmqContext = zmq.asyncio.Context()

self.zmqSubSocket = self.zmqContext.socket(zmq.SUB)
Expand Down
4 changes: 2 additions & 2 deletions contrib/zmq/zmq_sub3.4.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
Dash should be started with the command line arguments:
dashd -testnet -daemon \
-zmqpubhashblock=tcp://127.0.0.1:28332 \
-zmqpubrawtx=tcp://127.0.0.1:28332 \
-zmqpubrawblock=tcp://127.0.0.1:28332 \
-zmqpubhashtx=tcp://127.0.0.1:28332 \
-zmqpubhashblock=tcp://127.0.0.1:28332
Expand Down Expand Up @@ -42,7 +42,7 @@

class ZMQHandler():
def __init__(self):
self.loop = zmq.asyncio.install()
self.loop = asyncio.get_event_loop()
self.zmqContext = zmq.asyncio.Context()

self.zmqSubSocket = self.zmqContext.socket(zmq.SUB)
Expand Down

0 comments on commit 781b165

Please sign in to comment.