net: Add -natpmp command line option

This commit is contained in:
Hennadii Stepanov committed 2021-01-07 18:07:09 +02:00
1 parent 28acffd9d5
commit a39f7336a3
9 files changed
+49 -14

No files matched your search

+1
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)