aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/util.py
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2019-10-31 13:54:07 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2019-10-31 13:54:07 -0400
commitc5377ffbbbdbc74f50bbabd1e6efd57b3cf34899 (patch)
tree4f35fb3243ec5d224b926b5d7c54e2251f2a7b30 /test/functional/test_framework/util.py
parent1c5e0ccabae10eaab21960aece3c6f70cb204e58 (diff)
downloadbitcoin-c5377ffbbbdbc74f50bbabd1e6efd57b3cf34899.tar.xz
[qa] Add shrinkdebugfile=0 to regtest bitcoin.conf
This helps avoid accidentally truncating the debug.log while manually debugging.
Diffstat (limited to 'test/functional/test_framework/util.py')
-rw-r--r--test/functional/test_framework/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
index cde99a2219..4d7967273a 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -316,6 +316,7 @@ def initialize_datadir(dirname, n, chain):
f.write("listenonion=0\n")
f.write("printtoconsole=0\n")
f.write("upnp=0\n")
+ f.write("shrinkdebugfile=0\n")
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
return datadir