File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88
99 Dash should be started with the command line arguments:
1010 dashd-testnet -daemon \
11- -zmqpubhashblock=tcp://127.0.0.1:28332 \
1211 -zmqpubrawtx=tcp://127.0.0.1:28332 \
12+ -zmqpubrawblock=tcp://127.0.0.1:28332 \
1313 -zmqpubhashtx=tcp://127.0.0.1:28332 \
1414 -zmqpubhashblock=tcp://127.0.0.1:28332
1515
3838
3939class ZMQHandler ():
4040 def __init__ (self ):
41- self .loop = zmq . asyncio .install ()
41+ self .loop = asyncio .get_event_loop ()
4242 self .zmqContext = zmq .asyncio .Context ()
4343
4444 self .zmqSubSocket = self .zmqContext .socket (zmq .SUB )
Original file line number Diff line number Diff line change 88
99 Dash should be started with the command line arguments:
1010 dashd -testnet -daemon \
11- -zmqpubhashblock=tcp://127.0.0.1:28332 \
1211 -zmqpubrawtx=tcp://127.0.0.1:28332 \
12+ -zmqpubrawblock=tcp://127.0.0.1:28332 \
1313 -zmqpubhashtx=tcp://127.0.0.1:28332 \
1414 -zmqpubhashblock=tcp://127.0.0.1:28332
1515
4242
4343class ZMQHandler ():
4444 def __init__ (self ):
45- self .loop = zmq . asyncio .install ()
45+ self .loop = asyncio .get_event_loop ()
4646 self .zmqContext = zmq .asyncio .Context ()
4747
4848 self .zmqSubSocket = self .zmqContext .socket (zmq .SUB )
You can’t perform that action at this time.
0 commit comments