Browse Source

Qt: Wallet() respects gaplimit, port setting is string

master
Adam Gibson 9 years ago
parent
commit
ad16bafb12
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 3
      scripts/joinmarket-qt.py
  2. 7
      scripts/qtsupport.py

3
scripts/joinmarket-qt.py

@ -1452,7 +1452,8 @@ class JMMainWindow(QMainWindow):
str(firstarg), str(firstarg),
pwd, pwd,
max_mix_depth=jm_single().config.getint( max_mix_depth=jm_single().config.getint(
"GUI", "max_mix_depth")) "GUI", "max_mix_depth"),
gaplimit=jm_single().config.getint("GUI", "gaplimit"))
except WalletError: except WalletError:
JMQtMessageBox(self, JMQtMessageBox(self,
"Wrong password", "Wrong password",

7
scripts/qtsupport.py

@ -48,7 +48,6 @@ query. This is bad for privacy - consider
using a Bitcoin Core node instead."""} using a Bitcoin Core node instead."""}
#configuration types #configuration types
config_types = {'rpc_port': int, config_types = {'rpc_port': int,
'port': int,
'usessl': bool, 'usessl': bool,
'socks5': bool, 'socks5': bool,
'network': bool, 'network': bool,
@ -71,9 +70,9 @@ config_tips = {
'rpc_port': 'port for connecting to bitcoind over rpc', 'rpc_port': 'port for connecting to bitcoind over rpc',
'rpc_user': 'user for connecting to bitcoind over rpc', 'rpc_user': 'user for connecting to bitcoind over rpc',
'rpc_password': 'password for connecting to bitcoind over rpc', 'rpc_password': 'password for connecting to bitcoind over rpc',
'host': 'hostname for IRC server', 'host': 'hostname for IRC server (or comma separated list)',
'channel': 'channel name on IRC server', 'channel': 'channel name on IRC server (or comma separated list)',
'port': 'port for connecting to IRC server', 'port': 'port for connecting to IRC server (or comma separated list)',
'usessl': 'check to use SSL for connection to IRC', 'usessl': 'check to use SSL for connection to IRC',
'socks5': 'check to use SOCKS5 proxy for IRC connection', 'socks5': 'check to use SOCKS5 proxy for IRC connection',
'socks5_host': 'host for SOCKS5 proxy', 'socks5_host': 'host for SOCKS5 proxy',

Loading…
Cancel
Save