Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_timeouts.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2016 The Bitcoin Core developers | # Copyright (c) 2016 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. | ||||
""" TimeoutsTest -- test various net timeouts (only in extended tests) | """Test various net timeouts. | ||||
- Create three bitcoind nodes: | - Create three bitcoind nodes: | ||||
no_verack_node - we never send a verack in response to their version | no_verack_node - we never send a verack in response to their version | ||||
no_version_node - we never send a version (only a ping) | no_version_node - we never send a version (only a ping) | ||||
no_send_node - we never send any P2P message. | no_send_node - we never send any P2P message. | ||||
- Start all three nodes | - Start all three nodes | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |