Skip to content

[NO FULL NODE CODE] add two templates that allow people to easily use the python test framework to access mainnet

Andrew Stone requested to merge gandrewstone/nexa:mainnetPythonTemplates into dev

This MR adds add two templates that allow people to easily use the python test framework to access mainnet (or testnet). Its is really useful to be able to quickly write a python script to gather info about mainnet/testnet.

These programs aren't tests, so putting them in the rpc-tests directory is not great. However, until we isolate the python code into its own library, "rpc-tests" is the ONLY place this code can be run from, because test_framework must be a subdirectory of the location of these files.

I think its better that they be in rpc-tests, and be available to anyone to use, rather than remain in my personal stash of useful tools.

Merge request reports