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

@@ -401,6 +401,8 @@ if __name__ == '__main__':
if config.get('testnet'):
constants.set_testnet()
elif config.get('regtest'):
constants.set_regtest()
# run non-RPC commands separately
if cmdname in ['create', 'restore']: