mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Raise version.
This commit is contained in:
@@ -292,7 +292,7 @@ def main():
|
||||
json.dump(settings, fp, indent=4)
|
||||
|
||||
cores = [
|
||||
('particl', '0.18.0.12'),
|
||||
('particl', '0.18.1.0'),
|
||||
('litecoin', '0.17.1')
|
||||
]
|
||||
for c in cores:
|
||||
@@ -332,7 +332,7 @@ def main():
|
||||
|
||||
particl_settings = settings['chainclients']['particl']
|
||||
partRpc = make_rpc_func(particl_settings['bindir'], particl_settings['datadir'], chain)
|
||||
d = startDaemon(particl_settings['datadir'], particl_settings['bindir'], cfg.PARTICLD)
|
||||
d = startDaemon(particl_settings['datadir'], particl_settings['bindir'], cfg.PARTICLD, ['-noconnect', '-nofindpeers', '-nostaking', '-nodnsseed', '-nolisten'])
|
||||
try:
|
||||
waitForRPC(partRpc)
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@ def signal_handler(sig, frame):
|
||||
swap_client.stopRunning()
|
||||
|
||||
|
||||
def startDaemon(node_dir, bin_dir, daemon_bin):
|
||||
def startDaemon(node_dir, bin_dir, daemon_bin, opts=[]):
|
||||
daemon_bin = os.path.join(bin_dir, daemon_bin)
|
||||
|
||||
args = [daemon_bin, '-datadir=' + node_dir]
|
||||
args = [daemon_bin, '-datadir=' + node_dir] + opts
|
||||
logger.info('Starting node ' + daemon_bin + ' ' + '-datadir=' + node_dir)
|
||||
return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user