test: Reduce unneeded whitelist permissions in tests

This commit is contained in:
MarcoFalke committed 2020-02-26 00:00:29 +07:00
1 parent 31c0006a6c
commit fa45d60646
12 files changed
+31 -22

No files matched your search

+4 -4
View File
@@ -128,11 +128,11 @@ class EstimateFeeTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 3
# mine non-standard txs (e.g. txs with "dust" outputs)
# Force fSendTrickle to true (via whitelist)
# Force fSendTrickle to true (via whitelist.noban)
self.extra_args = [
["-acceptnonstdtxn", "-whitelist=127.0.0.1"],
["-acceptnonstdtxn", "-whitelist=127.0.0.1", "-blockmaxweight=68000"],
["-acceptnonstdtxn", "-whitelist=127.0.0.1", "-blockmaxweight=32000"],
["-acceptnonstdtxn", "-whitelist=noban@127.0.0.1"],
["-acceptnonstdtxn", "-whitelist=noban@127.0.0.1", "-blockmaxweight=68000"],
["-acceptnonstdtxn", "-whitelist=noban@127.0.0.1", "-blockmaxweight=32000"],
]
def skip_test_if_missing_module(self):