Skip to content

Commit

Permalink
[qa] Add shrinkdebugfile=0 to regtest bitcoin.conf
Browse files Browse the repository at this point in the history
This helps avoid accidentally truncating the debug.log while manually
debugging.
  • Loading branch information
sdaftuar committed Oct 31, 2019
1 parent 1c5e0cc commit c5377ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/test_framework/util.py
Expand Up @@ -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
Expand Down

0 comments on commit c5377ff

Please sign in to comment.