Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_leak.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2017 The Bitcoin Core developers | # Copyright (c) 2017-2019 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
"""Test message sending before handshake completion. | """Test message sending before handshake completion. | ||||
A node should never send anything other than VERSION/VERACK/REJECT until it's | A node should never send anything other than VERSION/VERACK/REJECT until it's | ||||
received a VERACK. | received a VERACK. | ||||
This test connects to a node and sends it a few messages, trying to entice it | This test connects to a node and sends it a few messages, trying to entice it | ||||
▲ Show 20 Lines • Show All 161 Lines • Show Last 20 Lines |