test: Reduce unneeded whitelist permissions in tests

This commit is contained in:
MarcoFalke
2020-02-25 23:38:56 +07:00
parent 31c0006a6c
commit fa45d60646
12 changed files with 31 additions and 22 deletions

View File

@ -40,7 +40,10 @@ def unDERify(tx):
class BIP66Test(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.extra_args = [['-whitelist=127.0.0.1', '-par=1']] # Use only one script thread to get the exact log msg for testing
self.extra_args = [[
'-whitelist=noban@127.0.0.1',
'-par=1', # Use only one script thread to get the exact log msg for testing
]]
self.setup_clean_chain = True
self.rpc_timeout = 120