Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_getchaintips.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2014-2016 The Bitcoin Core developers | # Copyright (c) 2014-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 the getchaintips RPC. | """Test the getchaintips RPC. | ||||
- introduce a network split | - introduce a network split | ||||
- work on chains of different lengths | - work on chains of different lengths | ||||
- join the network together again | - join the network together again | ||||
- verify that getchaintips now returns two chain tips. | - verify that getchaintips now returns two chain tips. | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |