aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/getchaintips.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/getchaintips.py')
-rwxr-xr-xqa/rpc-tests/getchaintips.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/qa/rpc-tests/getchaintips.py b/qa/rpc-tests/getchaintips.py
index 1c66b8c289..14222334a6 100755
--- a/qa/rpc-tests/getchaintips.py
+++ b/qa/rpc-tests/getchaintips.py
@@ -2,10 +2,13 @@
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+"""Test the getchaintips RPC.
-# Exercise the getchaintips API. We introduce a network split, work
-# on chains of different lengths, and join the network together again.
-# This gives us two tips, verify that it works.
+- introduce a network split
+- work on chains of different lengths
+- join the network together again
+- verify that getchaintips now returns two chain tips.
+"""
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal