1
0

add regtest support (#4242)

* add regtest support

* set default regtest ssl and tcp ports to 51002 and 51002

* regtest inherits parameters from testnet
This commit is contained in:
fivepiece
2018-04-11 20:10:14 +03:00
committed by ghost43
parent b68f5645cb
commit b4d71e651b
6 changed files with 28 additions and 0 deletions

View File

@@ -817,6 +817,7 @@ def add_global_options(parser):
group.add_argument("-P", "--portable", action="store_true", dest="portable", default=False, help="Use local 'electrum_data' directory")
group.add_argument("-w", "--wallet", dest="wallet_path", help="wallet path")
group.add_argument("--testnet", action="store_true", dest="testnet", default=False, help="Use Testnet")
group.add_argument("--regtest", action="store_true", dest="regtest", default=False, help="Use Regtest")
def get_parser():
# create main parser