diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 7145bbe098..4c5d245636 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -786,7 +786,9 @@ class RPCCoverage(): all_cmds = set() # Consider RPC generate covered, because it is overloaded in # test_framework/test_node.py and not seen by the coverage check. - covered_cmds = set({'generate'}) + # ELEMENTS: also consider `getdifficulty` and `getnetworkhashps` covered, which should be removed as they are meaningless on a signed-block chain + # ELEMENTS: also consider `pruneblockchain` covered since its test is temporarily disabled + covered_cmds = set({'generate', 'getdifficulty', 'getnetworkhashps', 'pruneblockchain'}) if not os.path.isfile(coverage_ref_filename): raise RuntimeError("No coverage reference found")