ship other workaround, 2 sets of daemons

This commit is contained in:
lza_menace 2020-09-25 02:12:53 -07:00
parent adc44d6e03
commit cb71927ed3
2 changed files with 10 additions and 4 deletions

View file

@ -8,6 +8,12 @@ DAEMON_PORT = 34568
DAEMON_USER = '' DAEMON_USER = ''
DAEMON_PASS = '' DAEMON_PASS = ''
INT_DAEMON_PROTO = 'http'
INT_DAEMON_HOST = 'node.suchwow.xyz'
INT_DAEMON_PORT = 34568
INT_DAEMON_USER = ''
INT_DAEMON_PASS = ''
# Wallets # Wallets
WALLET_DIR = './data/wallets' WALLET_DIR = './data/wallets'
WOWNERO_IMAGE = 'lalanza808/wownero:v0.9.0.0' WOWNERO_IMAGE = 'lalanza808/wownero:v0.9.0.0'

View file

@ -27,8 +27,8 @@ class Docker(object):
--restore-height {daemon.info()['height']} \ --restore-height {daemon.info()['height']} \
--password {u.wallet_password} \ --password {u.wallet_password} \
--mnemonic-language English \ --mnemonic-language English \
--daemon-address {config.DAEMON_PROTO}://{config.DAEMON_HOST}:{config.DAEMON_PORT} \ --daemon-address {config.INT_DAEMON_PROTO}://{config.INT_DAEMON_HOST}:{config.INT_DAEMON_PORT} \
--daemon-login {config.DAEMON_USER}:{config.DAEMON_PASS} \ --daemon-login {config.INT_DAEMON_USER}:{config.INT_DAEMON_PASS} \
--log-file /wallet/{u.id}-create.log --log-file /wallet/{u.id}-create.log
--command version --command version
""" """
@ -60,8 +60,8 @@ class Docker(object):
--wallet-file /wallet/{u.id}.wallet \ --wallet-file /wallet/{u.id}.wallet \
--rpc-login {u.id}:{u.wallet_password} \ --rpc-login {u.id}:{u.wallet_password} \
--password {u.wallet_password} \ --password {u.wallet_password} \
--daemon-address {config.DAEMON_PROTO}://{config.DAEMON_HOST}:{config.DAEMON_PORT} \ --daemon-address {config.INT_DAEMON_PROTO}://{config.INT_DAEMON_HOST}:{config.INT_DAEMON_PORT} \
--daemon-login {config.DAEMON_USER}:{config.DAEMON_PASS} \ --daemon-login {config.INT_DAEMON_USER}:{config.INT_DAEMON_PASS} \
--log-file /wallet/{u.id}-rpc.log --log-file /wallet/{u.id}-rpc.log
""" """
try: try: