Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1347: Don't disallow the stallMonitor in RPC tumbler

823d8fd834 Don't disallow the stallMonitor in RPC tumbler (Adam Gibson)

Pull request description:

  Prior to this commit, the 'testflag' was set for the Taker object that was created in running the tumbler via the RPC API. This flag prevents the function client_protocol.JMTakerClientProtocol.stallMonitor from running (which is useful in certain cases), which was not intended. After this commit, this flag is not set, so that when a transaction fails to go through, the stallMonitor will wake up after some time and retry the transaction, as should occur.

ACKs for top commit:
  kristapsk:
    cr utACK 823d8fd834 (did `grep -R testflag` and checked each occurance)

Tree-SHA512: de89d5c12e3595b96d9d579980ac59f81e40500fe98d97e5ea415c545a938b7f7e3d3621036f82953ab9fee657a44d847b95a33fea1d7cac629e1aeb88fe598f
master
Kristaps Kaupe 3 years ago
parent
commit
0f702fa2f7
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmclient/jmclient/wallet_rpc.py

2
jmclient/jmclient/wallet_rpc.py

@ -1247,8 +1247,6 @@ class JMWalletDaemon(Service):
tdestaddrs=destaddrs)
self.clientfactory = self.get_client_factory()
self.taker.testflag = True
dhost, dport = self.check_daemon_ready()
_, self.coinjoin_connection = start_reactor(dhost,

Loading…
Cancel
Save