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:
@@ -115,6 +115,9 @@ class SimpleConfig(PrintError):
|
||||
if self.get('testnet'):
|
||||
path = os.path.join(path, 'testnet')
|
||||
make_dir(path)
|
||||
elif self.get('regtest'):
|
||||
path = os.path.join(path, 'regtest')
|
||||
make_dir(path)
|
||||
|
||||
self.print_error("electrum directory", path)
|
||||
return path
|
||||
|
||||
Reference in New Issue
Block a user