net: Add -natpmp command line option

This commit is contained in:
Hennadii Stepanov
2020-02-23 02:12:19 +02:00
parent 28acffd9d5
commit a39f7336a3
9 changed files with 49 additions and 14 deletions

View File

@@ -362,6 +362,7 @@ def initialize_datadir(dirname, n, chain):
f.write("listenonion=0\n")
f.write("printtoconsole=0\n")
f.write("upnp=0\n")
f.write("natpmp=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)