diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-06-21 10:05:05 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-06-21 18:05:48 -0700 |
commit | 1d8193e2a2950fd957654b601e85ab888899c394 (patch) | |
tree | 45acd9b68be0a44cfe8c01e533b2b704fa8cf172 /test | |
parent | ef2f149bf2d12e2d14e441fdf701808f0f1dfb8e (diff) |
[test] Remove GetAddrStore class
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/p2p_addr_relay.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/functional/p2p_addr_relay.py b/test/functional/p2p_addr_relay.py index 1ffb2c774b..7c144af2e2 100755 --- a/test/functional/p2p_addr_relay.py +++ b/test/functional/p2p_addr_relay.py @@ -47,21 +47,6 @@ class AddrReceiver(P2PInterface): return self.message_count['getaddr'] > 0 -class GetAddrStore(P2PInterface): - getaddr_received = False - num_ipv4_received = 0 - - def on_getaddr(self, message): - self.getaddr_received = True - - def on_addr(self, message): - for addr in message.addrs: - self.num_ipv4_received += 1 - - def addr_received(self): - return self.num_ipv4_received != 0 - - class AddrTest(BitcoinTestFramework): counter = 0 mocktime = int(time.time()) |