From 4cebd1e25fea02c09eec74bf6507b3dec3943620 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 23 May 2018 22:50:31 +0300 Subject: [PATCH] Remove 0MQ Python client --- tools/zmq-client.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 tools/zmq-client.py diff --git a/tools/zmq-client.py b/tools/zmq-client.py deleted file mode 100644 index fbcbce2..0000000 --- a/tools/zmq-client.py +++ /dev/null @@ -1,19 +0,0 @@ -import struct -import zmq - -def main(): - ctx = zmq.Context() - sub = ctx.socket(zmq.SUB) - sub.setsockopt_string(zmq.SUBSCRIBE, 'hashblock') - sub.setsockopt_string(zmq.SUBSCRIBE, 'hashtx') - sub.connect('tcp://localhost:28332') - - while True: - topic, msg, count = sub.recv_multipart() - topic = topic.decode('ascii') - count, = struct.unpack('