diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-07 00:10:35 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-08-13 14:13:39 +0200 |
commit | 68400d8b9675d00ea7126b432e208c1e52658c2e (patch) | |
tree | 12ad631a45a068b40d63cbf6fd933a57f94dc971 /test/functional/p2p_leak.py | |
parent | 2115cba9c60504ed1c0af8a56c5d90b5fd415497 (diff) |
tests: Use explicit imports
Diffstat (limited to 'test/functional/p2p_leak.py')
-rwxr-xr-x | test/functional/p2p_leak.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/p2p_leak.py b/test/functional/p2p_leak.py index 058d0025c2..dcbf833e7c 100755 --- a/test/functional/p2p_leak.py +++ b/test/functional/p2p_leak.py @@ -10,9 +10,12 @@ received a VERACK. This test connects to a node and sends it a few messages, trying to entice it into sending us something it shouldn't.""" -from test_framework.mininode import * +import time + +from test_framework.messages import msg_getaddr, msg_ping, msg_verack +from test_framework.mininode import mininode_lock, P2PInterface from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import * +from test_framework.util import wait_until banscore = 10 |