Merge #10859: RPC: gettxout: Slightly improve doc and tests
[bitcoinplatinum.git] / test / functional / create_cache.py
blob39c4c0f47edcd79d912e5b380393cec613060366
1 #!/usr/bin/env python3
2 # Copyright (c) 2016 The Bitcoin Core developers
3 # Distributed under the MIT software license, see the accompanying
4 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 """Create a blockchain cache.
7 Creating a cache of the blockchain speeds up test execution when running
8 multiple functional tests. This helper script is executed by test_runner when multiple
9 tests are being run in parallel.
10 """
12 from test_framework.test_framework import BitcoinTestFramework
14 class CreateCache(BitcoinTestFramework):
16 def __init__(self):
17 super().__init__()
19 # Test network and test nodes are not required:
20 self.num_nodes = 0
21 self.nodes = []
23 def setup_network(self):
24 pass
26 def run_test(self):
27 pass
29 if __name__ == '__main__':
30 CreateCache().main()