The mininode module includes code to support p2p versions below
60001. However, the test_framework does not support versions
of Bitcoin Core before V0.13.0. Remove code supporting
p2p versions before 60001 (which has never been run).
MY_RELAY=1# from version 70001 onwards, fRelay should be appended to version messages (BIP37)
@ -1423,11 +1424,8 @@ class NodeConnCB():
self.verack_received=True
defon_version(self,conn,message):
if message.nVersion>=209:
assert message.nVersion>=MIN_VERSION_SUPPORTED,"Version {} received. Test framework only supports versions greater than {}".format(message.nVersion,MIN_VERSION_SUPPORTED)
conn.send_message(msg_verack())
conn.ver_send=min(MY_VERSION,message.nVersion)
ifmessage.nVersion<209:
conn.ver_recv=conn.ver_send
conn.nServices=message.nServices
# Connection helper methods
@ -1609,17 +1607,6 @@ class NodeConn(asyncore.dispatcher):