From fa25f43ac5692082dba3f90456c501eb08f1b75c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 10 Sep 2018 13:59:20 -0400 Subject: p2p: Remove BIP61 reject messages --- test/functional/test_framework/messages.py | 32 ------------------------------ test/functional/test_framework/mininode.py | 2 -- 2 files changed, 34 deletions(-) (limited to 'test/functional/test_framework') diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 3cb5f56bee..25520a2151 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -1317,38 +1317,6 @@ class msg_headers: return "msg_headers(headers=%s)" % repr(self.headers) -class msg_reject: - __slots__ = ("code", "data", "message", "reason") - command = b"reject" - REJECT_MALFORMED = 1 - - def __init__(self): - self.message = b"" - self.code = 0 - self.reason = b"" - self.data = 0 - - def deserialize(self, f): - self.message = deser_string(f) - self.code = struct.unpack("