Start on network.

This commit is contained in:
tecnovert
2020-12-15 20:00:44 +02:00
parent 325a846f47
commit 5cd8286aa3
8 changed files with 626 additions and 31 deletions

View File

@@ -215,18 +215,18 @@ def signal_handler(sig, frame):
def run_coins_loop(cls):
while not stop_test:
try:
time.sleep(1.0)
ltcRpc('generatetoaddress 1 {}'.format(cls.ltc_addr))
btcRpc('generatetoaddress 1 {}'.format(cls.btc_addr))
except Exception as e:
logging.warning('run_coins_loop ' + str(e))
time.sleep(1.0)
def run_loop(cls):
while not stop_test:
time.sleep(1)
for c in cls.swap_clients:
c.update()
time.sleep(1)
def make_part_cli_rpc_func(node_id):