From 286ba79dd6d9c2e79ac006b2913256884e53bc88 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 4 Mar 2024 10:30:37 +0000 Subject: [PATCH] xmrwallet: `PROXY_HOST` -> `PROXY_IP` --- mmgen/help/xmrwallet.py | 4 ++-- mmgen/xmrwallet.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmgen/help/xmrwallet.py b/mmgen/help/xmrwallet.py index e5eb4c12..d4216c7b 100755 --- a/mmgen/help/xmrwallet.py +++ b/mmgen/help/xmrwallet.py @@ -26,8 +26,8 @@ Unless --daemon is specified, the daemon is assumed to be listening on localhost at the default RPC port. If --tx-relay-daemon is specified, the monerod at HOST:PORT will be used to -relay any created transactions. PROXY_HOST:PROXY_PORT, if specified, may -point to a SOCKS proxy, in which case HOST may be a Tor onion address. +relay any created transactions. PROXY_IP:PROXY_PORT, if specified, may point +to a SOCKS proxy, in which case HOST may be a Tor onion address. All communications use the RPC protocol via SSL (HTTPS) or Tor. RPC over plain HTTP is not supported. diff --git a/mmgen/xmrwallet.py b/mmgen/xmrwallet.py index 63d5ae80..7316c1e1 100755 --- a/mmgen/xmrwallet.py +++ b/mmgen/xmrwallet.py @@ -66,7 +66,7 @@ xmrwallet_uargs = namedtuple('xmrwallet_uargs',[ xmrwallet_uarg_info = ( lambda e,hp: { 'daemon': e('HOST:PORT', hp), - 'tx_relay_daemon': e('HOST:PORT[:PROXY_HOST:PROXY_PORT]', rf'({hp})(?::({hp}))?'), + 'tx_relay_daemon': e('HOST:PORT[:PROXY_IP:PROXY_PORT]', rf'({hp})(?::({hp}))?'), 'newaddr_spec': e('WALLET_NUM[:ACCOUNT][,"label text"]', r'(\d+)(?::(\d+))?(?:,(.*))?'), 'transfer_spec': e('SOURCE_WALLET_NUM:ACCOUNT:ADDRESS,AMOUNT', rf'(\d+):(\d+):([{b58a}]+),([0-9.]+)'), 'sweep_spec': e('SOURCE_WALLET_NUM:ACCOUNT[,DEST_WALLET_NUM]', r'(\d+):(\d+)(?:,(\d+))?'),