Dash Core  0.12.2.1
P2P Digital Currency
zmq_sub.py File Reference

Go to the source code of this file.

Namespaces

 zmq_sub
 

Variables

int zmq_sub.port = 28332
 
 zmq_sub.zmqContext = zmq.Context()
 
 zmq_sub.zmqSubSocket = zmqContext.socket(zmq.SUB)
 
 zmq_sub.msg = zmqSubSocket.recv_multipart()
 
 zmq_sub.topic = str(msg[0].decode("utf-8"))
 
 zmq_sub.body = msg[1]
 
string zmq_sub.sequence = "Unknown";
 
 zmq_sub.msgSequence = struct.unpack('<I', msg[-1])[-1]