Walletwasabi: Daemon mix into destination report

Created on 23 May 2020  路  15Comments  路  Source: zkSNACKs/WalletWasabi

I'm trouble shooting the weird things we currently have in the Daemon with mix into another wallet.

My setup is the following.

  • Qubes 4, two virtual machines Debian 10.4, Wasabi master branch 05a0429c5e1840181dd58708109311375d284cca
  • Each VM has two wallets, one originating wallet with 3 coins, all anonset 1, one destination wallet without coins.
  • ```
    "Network": "TestNet",

"MixUntilAnonymitySet": "PrivacyLevelSome",
"PrivacyLevelSome": 2,
"PrivacyLevelFine": 5,
"PrivacyLevelStrong": 10,

Then in both VMs I run the daemon dotnet run -- mix --wallet:Origin --destination:Destination, important to note, no --keepalive flag! Because these are independent VMs, with unique wallets, this should not affect the mixing at all.

I made two CoinJoins wihtin seconds, and already encounter the issue.

c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9
0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d

In the first VM, the coin stated in the original wallet, as they should, because they are below the anonset target.

However, in the second VM, two coins got coinjoined directly into the destination wallet!

Here the logs of the correct first VM...

$ dotnet run -- mix --wallet:Origin --destination:Destination
2020-05-23 15:26:55 INFO    WalletManager (30)  .ctor finished in 320 milliseconds.
2020-05-23 15:26:55 INFO    Global (82) .ctor finished in 628 milliseconds.
2020-05-23 15:26:55 INFO    Daemon (29) Wasabi Daemon started (4a7b187c-3d95-4485-820f-7d5ac877e3e7).
Password: 
2020-05-23 15:26:57 INFO    Daemon (71) Correct password.
2020-05-23 15:26:57 INFO    TorProcessManager (251) Starting Tor monitor...
2020-05-23 15:26:57 INFO    Global (177)    TorProcessManager is initialized.
2020-05-23 15:26:57 INFO    Global (404)    Loaded AddressManager from `/home/user/.walletwasabi/client/AddressManager/AddressManagerTestNet.dat`.
2020-05-23 15:26:57 INFO    TransactionStore (29)   MempoolStore.InitializeAsync finished in 75 milliseconds.
2020-05-23 15:26:57 INFO    TorProcessManager (75)  Tor is already running.
2020-05-23 15:26:57 INFO    TransactionStore (29)   ConfirmedStore.InitializeAsync finished in 139 milliseconds.
2020-05-23 15:26:57 INFO    AllTransactionStore (28)    InitializeAsync finished in 150 milliseconds.
2020-05-23 15:27:02 INFO    IndexStore (45) InitializeAsync finished in 4 seconds.
2020-05-23 15:27:02 INFO    BitcoinStore (39)   InitializeAsync finished in 4 seconds.
2020-05-23 15:27:02 INFO    HostedServices (51) Started Software Update Checker.
2020-05-23 15:27:02 INFO    Global (300)    Start connecting to nodes...
2020-05-23 15:27:02 INFO    Global (324)    Start synchronizing filters...
2020-05-23 15:27:02 INFO    WalletManager (192) Starting Wallet...
2020-05-23 15:27:02 INFO    CoinJoinClient (133)    CoinJoinClient is successfully initialized.
2020-05-23 15:27:03 INFO    ClientState (470)   Round (49363) added.
2020-05-23 15:27:03 INFO    ClientState (470)   Round (49364) added.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: a1108c9138f354a2f67f2182fcdc6ff8821f971e10512d05ea069ea4cd597e71.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 2eeae82b1ebf18be65aebea35d1f3f3dcebe4464983498d2b564aef8246f3951.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:27:47 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:27:47 INFO    Wallet (180)    StartAsync finished in 45 seconds.
2020-05-23 15:27:47 INFO    WalletManager (194) Wallet started.
2020-05-23 15:27:47 INFO    ClientState (470)   Round (49363) added.
2020-05-23 15:27:47 INFO    ClientState (470)   Round (49364) added.
2020-05-23 15:27:47 INFO    WalletManager (192) Starting Wallet...
2020-05-23 15:27:47 INFO    CoinJoinClient (133)    CoinJoinClient is successfully initialized.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: a1108c9138f354a2f67f2182fcdc6ff8821f971e10512d05ea069ea4cd597e71.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 2eeae82b1ebf18be65aebea35d1f3f3dcebe4464983498d2b564aef8246f3951.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:28:00 INFO    Wallet (482)    Transaction was successfully tested against the backend's mempool hashes: 2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:28:00 INFO    Wallet (180)    StartAsync finished in 13 seconds.
2020-05-23 15:28:00 INFO    WalletManager (194) Wallet started.
2020-05-23 15:28:01 INFO    ClientState (40)    Coin added to the waiting list: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:28:01 INFO    CoinJoinClient (799)    Coin queued: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:28:01 INFO    ClientState (40)    Coin added to the waiting list: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:28:01 INFO    CoinJoinClient (799)    Coin queued: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:28:01 INFO    Daemon (158)    Enqueued 0.00357 BTC, 2 coins with smallest anonset 1 and largest anonset 1.
2020-05-23 15:33:41 INFO    WasabiSynchronizer (257)    Downloaded filter for block 1746363.
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.00016764 BTC - a1108c9138f354a2f67f2182fcdc6ff8821f971e10512d05ea069ea4cd597e71
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.00015717 BTC - 5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.00018019 BTC - 4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.00123 BTC - 1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.00234 BTC - 2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Receive Confirmed - 0.01139285 BTC - 2eeae82b1ebf18be65aebea35d1f3f3dcebe4464983498d2b564aef8246f3951
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Send Confirmed - 0.00123277 BTC - 1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855
2020-05-23 15:33:41 INFO    Global (617)    Transaction Notification (Information): Send Confirmed - 0.00234617 BTC - 2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9
2020-05-23 15:33:43 INFO    AliceClient (100)   Round (49363), Alice (a90366a7-251d-499f-8587-d7cf1b4dbcbe): Registered 1 inputs.
2020-05-23 15:33:43 INFO    ClientState (60)    Coin removed from the waiting list: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:33:43 INFO    MempoolService (119)    Start cleaning out mempool...
2020-05-23 15:33:44 INFO    MempoolService (129)    44 transactions were cleaned from mempool.
2020-05-23 15:34:14 INFO    AliceClient (156)   Round (49363), Alice (a90366a7-251d-499f-8587-d7cf1b4dbcbe): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 15:34:18 INFO    AliceClient (100)   Round (49364), Alice (4c4b47e3-94e2-4b43-a537-336d49d64b58): Registered 1 inputs.
2020-05-23 15:34:18 INFO    ClientState (60)    Coin removed from the waiting list: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:34:40 INFO    CoinJoinClient (444)    Round (49363) Bob Posted outputs: 1.
2020-05-23 15:34:41 INFO    AliceClient (156)   Round (49364), Alice (4c4b47e3-94e2-4b43-a537-336d49d64b58): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 15:35:14 INFO    AliceClient (234)   Round (49363), Alice (a90366a7-251d-499f-8587-d7cf1b4dbcbe): Acquired unsigned CoinJoin: 0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:14 INFO    AliceClient (250)   Round (49363), Alice (a90366a7-251d-499f-8587-d7cf1b4dbcbe): Posted 1 signatures.
2020-05-23 15:35:15 INFO    CoinJoinClient (444)    Round (49364) Bob Posted outputs: 1.
2020-05-23 15:35:15 INFO    ClientState (429)   Coin added to the waiting list: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9, but its registration is not allowed till 60 seconds, because this coin might already be spent.
2020-05-23 15:35:15 INFO    ClientState (452)   Round (49363) removed. Reason: It's not running anymore.
2020-05-23 15:35:15 INFO    ClientState (470)   Round (49365) added.
2020-05-23 15:35:15 INFO    ClientState (452)   Round (49363) removed. Reason: It's not running anymore.
2020-05-23 15:35:15 INFO    ClientState (470)   Round (49365) added.
2020-05-23 15:35:16 INFO    ClientState (60)    Coin removed from the waiting list: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9.
2020-05-23 15:35:16 INFO    CoinJoinClient (965)    Coin dequeued: 0:2cd3eef7997a0bc60e2de4201374a9d74c1472265d13a19f30f148886aeb42f9. Reason: Spent.
2020-05-23 15:35:17 INFO    ClientState (40)    Coin added to the waiting list: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:17 INFO    CoinJoinClient (799)    Coin queued: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:17 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - 0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d
2020-05-23 15:35:20 INFO    AliceClient (234)   Round (49364), Alice (4c4b47e3-94e2-4b43-a537-336d49d64b58): Acquired unsigned CoinJoin: c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9.
2020-05-23 15:35:21 INFO    AliceClient (250)   Round (49364), Alice (4c4b47e3-94e2-4b43-a537-336d49d64b58): Posted 1 signatures.
2020-05-23 15:35:22 INFO    AliceClient (100)   Round (49365), Alice (ce79ba40-ca2b-477a-acf7-8f49265b0b80): Registered 1 inputs.
2020-05-23 15:35:22 INFO    ClientState (60)    Coin removed from the waiting list: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:23 INFO    ClientState (429)   Coin added to the waiting list: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855, but its registration is not allowed till 60 seconds, because this coin might already be spent.
2020-05-23 15:35:23 INFO    ClientState (452)   Round (49364) removed. Reason: It's not running anymore.
2020-05-23 15:35:23 INFO    ClientState (470)   Round (49366) added.
2020-05-23 15:35:23 INFO    ClientState (452)   Round (49364) removed. Reason: It's not running anymore.
2020-05-23 15:35:23 INFO    ClientState (470)   Round (49366) added.
2020-05-23 15:35:24 INFO    ClientState (60)    Coin removed from the waiting list: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855.
2020-05-23 15:35:24 INFO    CoinJoinClient (965)    Coin dequeued: 1:1514df497dfc12136d40e83fbebdd5999fc19e34fe6638b21191ac9b3b02c855. Reason: Spent.
2020-05-23 15:35:26 INFO    ClientState (40)    Coin added to the waiting list: 2:c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9.
2020-05-23 15:35:26 INFO    CoinJoinClient (799)    Coin queued: 2:c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9.
2020-05-23 15:35:26 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9
2020-05-23 15:35:26 INFO    AliceClient (156)   Round (49365), Alice (ce79ba40-ca2b-477a-acf7-8f49265b0b80): Confirmed connection. Phase: InputRegistration.
2020-05-23 15:35:36 WARNING Global (154)    Process was signaled for killing.
2020-05-23 15:35:36 WARNING Global (642)    Process is exiting.
2020-05-23 15:35:36 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/LongTermHodling.json`.
2020-05-23 15:35:36 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 15:35:36 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 15:35:36 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/Salary.json`.
2020-05-23 15:35:36 INFO    ClientState (60)    Coin removed from the waiting list: 2:c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9.
2020-05-23 15:35:36 INFO    CoinJoinClient (965)    Coin dequeued: 2:c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9. Reason: ApplicationExit.
2020-05-23 15:35:36 INFO    AliceClient (220)   Round (49365), Alice (ce79ba40-ca2b-477a-acf7-8f49265b0b80): Unconfirmed connection.
2020-05-23 15:35:36 INFO    ClientState (500)   Coin added to the waiting list: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:36 INFO    ClientState (503)   Round (49365) registration is cleared.
2020-05-23 15:35:36 INFO    ClientState (60)    Coin removed from the waiting list: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:36 INFO    CoinJoinClient (965)    Coin dequeued: 2:0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d. Reason: ApplicationExit.
2020-05-23 15:35:36 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 15:35:36 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 15:35:36 INFO    Global (694)    Disposed FeeProviders.
2020-05-23 15:35:36 INFO    Global (701)    CoinJoinProcessor is disposed.
2020-05-23 15:35:36 INFO    Global (708)    Synchronizer is stopped.
2020-05-23 15:35:36 INFO    HostedServices (80) Stopped Software Update Checker.
2020-05-23 15:35:36 INFO    HostedServices (130)    Disposed Software Update Checker.
2020-05-23 15:35:36 INFO    Global (717)    Stopped background services.
2020-05-23 15:35:36 INFO    Global (728)    AddressManager is saved to `/home/user/.walletwasabi/client/AddressManager/AddressManagerTestNet.dat`.
2020-05-23 15:35:36 INFO    Global (741)    Nodes are disposed.
2020-05-23 15:35:36 INFO    Global (766)    TorManager is stopped.
2020-05-23 15:35:36 INFO    Global (780)    AsyncMutex(es) are stopped.
2020-05-23 15:35:36 INFO    Global (796)    Wasabi stopped gracefully (4a7b187c-3d95-4485-820f-7d5ac877e3e7).
2020-05-23 15:35:37 INFO    Daemon (139)    Daemon stopped.

and here the logs of the wrong second vm

$ dotnet run --mix --wallet:Origin --destination:Destination
2020-05-23 15:33:52 INFO    WalletManager (30)  .ctor finished in 271 milliseconds.
2020-05-23 15:33:52 INFO    Global (82) .ctor finished in 670 milliseconds.
2020-05-23 15:33:52 INFO    Daemon (29) Wasabi Daemon started (fa3fb81a-3334-4624-97fc-762f149d6291).
Password: 
2020-05-23 15:33:54 INFO    Daemon (71) Correct password.
2020-05-23 15:33:54 INFO    TorProcessManager (251) Starting Tor monitor...
2020-05-23 15:33:54 INFO    Global (177)    TorProcessManager is initialized.
2020-05-23 15:33:54 INFO    TransactionStore (29)   MempoolStore.InitializeAsync finished in 41 milliseconds.
2020-05-23 15:33:54 INFO    Global (404)    Loaded AddressManager from `/home/user/.walletwasabi/client/AddressManager/AddressManagerTestNet.dat`.
2020-05-23 15:33:54 INFO    TorProcessManager (75)  Tor is already running.
2020-05-23 15:33:54 INFO    TransactionStore (29)   ConfirmedStore.InitializeAsync finished in 110 milliseconds.
2020-05-23 15:33:54 INFO    AllTransactionStore (28)    InitializeAsync finished in 130 milliseconds.
2020-05-23 15:34:00 INFO    IndexStore (45) InitializeAsync finished in 5 seconds.
2020-05-23 15:34:00 INFO    BitcoinStore (39)   InitializeAsync finished in 5 seconds.
2020-05-23 15:34:00 INFO    HostedServices (51) Started Software Update Checker.
2020-05-23 15:34:00 INFO    Global (300)    Start connecting to nodes...
2020-05-23 15:34:00 INFO    Global (324)    Start synchronizing filters...
2020-05-23 15:34:00 INFO    WalletManager (192) Starting Wallet...
2020-05-23 15:34:00 INFO    CoinJoinClient (133)    CoinJoinClient is successfully initialized.
2020-05-23 15:34:01 INFO    Wallet (180)    StartAsync finished in 636 milliseconds.
2020-05-23 15:34:01 INFO    WalletManager (194) Wallet started.
2020-05-23 15:34:01 INFO    WalletManager (192) Starting Wallet...
2020-05-23 15:34:01 INFO    CoinJoinClient (133)    CoinJoinClient is successfully initialized.
2020-05-23 15:34:01 INFO    ClientState (470)   Round (49363) added.
2020-05-23 15:34:01 INFO    ClientState (470)   Round (49364) added.
2020-05-23 15:34:01 INFO    ClientState (470)   Round (49363) added.
2020-05-23 15:34:01 INFO    ClientState (470)   Round (49364) added.
2020-05-23 15:34:01 INFO    Wallet (180)    StartAsync finished in 617 milliseconds.
2020-05-23 15:34:01 INFO    WalletManager (194) Wallet started.
2020-05-23 15:34:02 INFO    ClientState (40)    Coin added to the waiting list: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:34:02 INFO    CoinJoinClient (799)    Coin queued: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:34:02 INFO    ClientState (40)    Coin added to the waiting list: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:34:02 INFO    CoinJoinClient (799)    Coin queued: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:34:02 INFO    Daemon (158)    Enqueued 0.00033736 BTC, 2 coins with smallest anonset 2 and largest anonset 3.
2020-05-23 15:34:10 INFO    AliceClient (100)   Round (49363), Alice (7e276f15-78dc-40a2-801e-304fa3fbaafe): Registered 1 inputs.
2020-05-23 15:34:10 INFO    ClientState (60)    Coin removed from the waiting list: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:34:36 INFO    AliceClient (156)   Round (49363), Alice (7e276f15-78dc-40a2-801e-304fa3fbaafe): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 15:34:38 INFO    AliceClient (100)   Round (49364), Alice (b18b260f-52a2-455c-b10d-44538049bd35): Registered 1 inputs.
2020-05-23 15:34:38 INFO    ClientState (60)    Coin removed from the waiting list: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:34:47 INFO    CoinJoinClient (444)    Round (49363) Bob Posted outputs: 1.
2020-05-23 15:34:47 INFO    AliceClient (156)   Round (49364), Alice (b18b260f-52a2-455c-b10d-44538049bd35): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 15:35:14 INFO    AliceClient (234)   Round (49363), Alice (7e276f15-78dc-40a2-801e-304fa3fbaafe): Acquired unsigned CoinJoin: 0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d.
2020-05-23 15:35:15 INFO    AliceClient (250)   Round (49363), Alice (7e276f15-78dc-40a2-801e-304fa3fbaafe): Posted 1 signatures.
2020-05-23 15:35:16 INFO    CoinJoinClient (444)    Round (49364) Bob Posted outputs: 1.
2020-05-23 15:35:19 INFO    ClientState (429)   Coin added to the waiting list: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1, but its registration is not allowed till 60 seconds, because this coin might already be spent.
2020-05-23 15:35:19 INFO    ClientState (452)   Round (49363) removed. Reason: It's not running anymore.
2020-05-23 15:35:19 INFO    ClientState (470)   Round (49365) added.
2020-05-23 15:35:19 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - 0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d
2020-05-23 15:35:19 INFO    Global (617)    Transaction Notification (Success): Received - 0.0001545 BTC - 0fc4705cf49bc783901b7bef365a60548d80cbd340e25f59e8086105f370589d
2020-05-23 15:35:20 INFO    ClientState (60)    Coin removed from the waiting list: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1.
2020-05-23 15:35:20 INFO    CoinJoinClient (965)    Coin dequeued: 0:5712cfdf85ce94f18afc0fcf8f60cc3e3acefca5c84ea8edf90ee21d362c47b1. Reason: Spent.
2020-05-23 15:35:22 INFO    AliceClient (234)   Round (49364), Alice (b18b260f-52a2-455c-b10d-44538049bd35): Acquired unsigned CoinJoin: c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9.
2020-05-23 15:35:22 INFO    AliceClient (250)   Round (49364), Alice (b18b260f-52a2-455c-b10d-44538049bd35): Posted 1 signatures.
2020-05-23 15:35:28 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9
2020-05-23 15:35:28 INFO    Global (617)    Transaction Notification (Success): Received - 0.00017752 BTC - c945a30509f5bf409cbf724a9541a8d9bdb08702bacfcd918cfc77041f3636d9
2020-05-23 15:35:28 INFO    ClientState (500)   Coin added to the waiting list: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:35:28 INFO    ClientState (503)   Round (49364) registration is cleared.
2020-05-23 15:35:28 INFO    ClientState (60)    Coin removed from the waiting list: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7.
2020-05-23 15:35:28 INFO    CoinJoinClient (965)    Coin dequeued: 1:4ca50570692ca9fa750405dfb45889b368a1c657c8365aa396c69df204c7c3f7. Reason: Spent.
2020-05-23 15:35:29 WARNING Global (642)    Process is exiting.
2020-05-23 15:35:29 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/Exchange.json`.
2020-05-23 15:35:29 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 15:35:29 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 15:35:29 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/Spending.json`.
2020-05-23 15:35:29 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 15:35:29 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 15:35:29 INFO    Global (694)    Disposed FeeProviders.
2020-05-23 15:35:29 INFO    Global (701)    CoinJoinProcessor is disposed.
2020-05-23 15:35:29 INFO    Global (708)    Synchronizer is stopped.
2020-05-23 15:35:29 INFO    HostedServices (80) Stopped Software Update Checker.
2020-05-23 15:35:29 INFO    HostedServices (130)    Disposed Software Update Checker.
2020-05-23 15:35:29 INFO    Global (717)    Stopped background services.
2020-05-23 15:35:29 INFO    Global (728)    AddressManager is saved to `/home/user/.walletwasabi/client/AddressManager/AddressManagerTestNet.dat`.
2020-05-23 15:35:29 INFO    Global (741)    Nodes are disposed.
2020-05-23 15:35:29 INFO    Global (766)    TorManager is stopped.
2020-05-23 15:35:29 INFO    Global (780)    AsyncMutex(es) are stopped.
2020-05-23 15:35:29 INFO    Global (796)    Wasabi stopped gracefully (fa3fb81a-3334-4624-97fc-762f149d6291).
2020-05-23 15:35:29 INFO    Daemon (139)    Daemon stopped.
debug

Most helpful comment

an interesting observation... One VM has 10 coins that are above the minimum denomination, and so far, none of them have reached the anonset target, and thus none of them have been coinjoined in the destination wallet.

From a UX experience, a user might expect that when specifying the --destination flag, that the coin gets moved there as fast as possible, and not only after ALL the coins reached anonset target.

But I think this is very difficult to get right with automatic coin selection... having a mix into destination with the manual coin selection of the gui would fix this issue, so I think it should be kept as is in the daemon.

All 15 comments

I did another round, this time without any fuckups.

Here VM 1 had a coin above the anonset target. And this coin got coinjoined directly into the destination - which is good.

VM 2 had all coins below the anonset target, so it staid in the origin wallet - which is good.

I increased the anonset target to Fine, and did several rounds, all of them staid in the origin wallet - so again, no fuckups.

and we have another fuckup!

VM 2 got two coins that reached the anonset target. However, the daemon stopped, and did not do the one extra round into the destination wallet!

Here the logs...

2020-05-23 16:02:50 INFO    ClientState (470)   Round (49371) added.
2020-05-23 16:02:56 INFO    AliceClient (156)   Round (49370), Alice (4057befc-4336-4cad-b73f-1b3537283384): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 16:02:56 INFO    AliceClient (100)   Round (49371), Alice (0597c354-b779-46fd-889b-e0a57614bcad): Registered 1 inputs.
2020-05-23 16:02:56 INFO    ClientState (60)    Coin removed from the waiting list: 1:ab81e4bc93aad30881df81e7e295ece20e0824b4a9804b689796896321e8281b.
2020-05-23 16:03:23 INFO    CoinJoinClient (444)    Round (49370) Bob Posted outputs: 1.
2020-05-23 16:03:23 INFO    AliceClient (156)   Round (49371), Alice (0597c354-b779-46fd-889b-e0a57614bcad): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 16:03:26 INFO    AliceClient (234)   Round (49370), Alice (4057befc-4336-4cad-b73f-1b3537283384): Acquired unsigned CoinJoin: 68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:03:26 INFO    AliceClient (250)   Round (49370), Alice (4057befc-4336-4cad-b73f-1b3537283384): Posted 1 signatures.
2020-05-23 16:03:27 INFO    CoinJoinClient (444)    Round (49371) Bob Posted outputs: 1.
2020-05-23 16:03:51 INFO    ClientState (500)   Coin added to the waiting list: 0:ecaa0dfcb27f9c9da362ea0be2262413ef4ad8c4eb7fc079680c6edc1cb80286.
2020-05-23 16:03:51 INFO    ClientState (503)   Round (49370) registration is cleared.
2020-05-23 16:03:51 INFO    ClientState (60)    Coin removed from the waiting list: 0:ecaa0dfcb27f9c9da362ea0be2262413ef4ad8c4eb7fc079680c6edc1cb80286.
2020-05-23 16:03:51 INFO    CoinJoinClient (965)    Coin dequeued: 0:ecaa0dfcb27f9c9da362ea0be2262413ef4ad8c4eb7fc079680c6edc1cb80286. Reason: Spent.
2020-05-23 16:03:52 INFO    ClientState (40)    Coin added to the waiting list: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:03:52 INFO    CoinJoinClient (799)    Coin queued: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:03:52 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - 68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0
2020-05-23 16:03:55 INFO    ClientState (452)   Round (49370) removed. Reason: It's not running anymore.
2020-05-23 16:03:55 INFO    ClientState (470)   Round (49372) added.
2020-05-23 16:03:55 INFO    ClientState (452)   Round (49370) removed. Reason: It's not running anymore.
2020-05-23 16:03:55 INFO    ClientState (470)   Round (49372) added.
2020-05-23 16:03:56 INFO    AliceClient (234)   Round (49371), Alice (0597c354-b779-46fd-889b-e0a57614bcad): Acquired unsigned CoinJoin: d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:03:56 INFO    AliceClient (250)   Round (49371), Alice (0597c354-b779-46fd-889b-e0a57614bcad): Posted 1 signatures.
2020-05-23 16:03:57 INFO    AliceClient (100)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Registered 1 inputs.
2020-05-23 16:03:57 INFO    ClientState (60)    Coin removed from the waiting list: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:03:59 INFO    AliceClient (156)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Confirmed connection. Phase: InputRegistration.
2020-05-23 16:04:05 INFO    AliceClient (156)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Confirmed connection. Phase: InputRegistration.
2020-05-23 16:04:13 INFO    AliceClient (156)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Confirmed connection. Phase: InputRegistration.
2020-05-23 16:04:17 INFO    AliceClient (156)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Confirmed connection. Phase: InputRegistration.
2020-05-23 16:04:26 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb
2020-05-23 16:04:26 INFO    ClientState (500)   Coin added to the waiting list: 1:ab81e4bc93aad30881df81e7e295ece20e0824b4a9804b689796896321e8281b.
2020-05-23 16:04:26 INFO    ClientState (503)   Round (49371) registration is cleared.
2020-05-23 16:04:26 INFO    ClientState (60)    Coin removed from the waiting list: 1:ab81e4bc93aad30881df81e7e295ece20e0824b4a9804b689796896321e8281b.
2020-05-23 16:04:26 INFO    CoinJoinClient (965)    Coin dequeued: 1:ab81e4bc93aad30881df81e7e295ece20e0824b4a9804b689796896321e8281b. Reason: Spent.
2020-05-23 16:04:46 INFO    ClientState (452)   Round (49371) removed. Reason: It's not running anymore.
2020-05-23 16:04:46 INFO    ClientState (470)   Round (49373) added.
2020-05-23 16:04:46 INFO    ClientState (452)   Round (49371) removed. Reason: It's not running anymore.
2020-05-23 16:04:46 INFO    ClientState (470)   Round (49373) added.
2020-05-23 16:04:49 INFO    AliceClient (156)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 16:05:21 INFO    CoinJoinClient (444)    Round (49372) Bob Posted outputs: 1.
2020-05-23 16:05:29 INFO    AliceClient (234)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Acquired unsigned CoinJoin: 0506405663402b9fc8226493b2da498c7bad06dc44d348ae7dfdd197b7d1ba97.
2020-05-23 16:05:29 INFO    AliceClient (250)   Round (49372), Alice (24fd8290-7668-484a-89fd-164de24643f7): Posted 1 signatures.
2020-05-23 16:05:57 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - 0506405663402b9fc8226493b2da498c7bad06dc44d348ae7dfdd197b7d1ba97
2020-05-23 16:05:57 INFO    ClientState (500)   Coin added to the waiting list: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:05:57 INFO    ClientState (503)   Round (49372) registration is cleared.
2020-05-23 16:05:57 INFO    ClientState (60)    Coin removed from the waiting list: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0.
2020-05-23 16:05:57 INFO    CoinJoinClient (965)    Coin dequeued: 1:68ad2a7a2418a8a4a748a85f57bab6433ba63e8ab47094e40dcdef7f47e459c0. Reason: Spent.
2020-05-23 16:06:21 INFO    ClientState (452)   Round (49372) removed. Reason: It's not running anymore.
2020-05-23 16:06:21 INFO    ClientState (470)   Round (49374) added.
2020-05-23 16:06:21 INFO    ClientState (60)    Coin removed from the waiting list: 1:f25919ed1f69cecc92edabe2c339969c63a1d6e4580aa53b62f2b0b72dffe7c5.
2020-05-23 16:06:21 INFO    CoinJoinClient (965)    Coin dequeued: 1:f25919ed1f69cecc92edabe2c339969c63a1d6e4580aa53b62f2b0b72dffe7c5. Reason: NotEnoughFundsEnqueued.
2020-05-23 16:06:21 INFO    ClientState (452)   Round (49372) removed. Reason: It's not running anymore.
2020-05-23 16:06:21 INFO    ClientState (470)   Round (49374) added.
2020-05-23 16:06:23 WARNING Global (642)    Process is exiting.
2020-05-23 16:06:23 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/Destination.json`.
2020-05-23 16:06:23 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 16:06:23 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 16:06:23 INFO    WalletManager (356) KeyManager backup saved to `/home/user/.walletwasabi/client/WalletBackups/Origin.json`.
2020-05-23 16:06:23 INFO    Wallet (276)    ChaumianClient is stopped.
2020-05-23 16:06:23 INFO    WalletManager (358) Wallet is stopped.
2020-05-23 16:06:23 INFO    Global (694)    Disposed FeeProviders.
2020-05-23 16:06:23 INFO    Global (701)    CoinJoinProcessor is disposed.
2020-05-23 16:06:23 INFO    Global (708)    Synchronizer is stopped.
2020-05-23 16:06:23 INFO    HostedServices (80) Stopped Software Update Checker.
2020-05-23 16:06:23 INFO    HostedServices (130)    Disposed Software Update Checker.
2020-05-23 16:06:23 INFO    Global (717)    Stopped background services.
2020-05-23 16:06:23 INFO    Global (728)    AddressManager is saved to `/home/user/.walletwasabi/client/AddressManager/AddressManagerTestNet.dat`.
2020-05-23 16:06:23 INFO    Global (741)    Nodes are disposed.
2020-05-23 16:06:24 INFO    Global (766)    TorManager is stopped.
2020-05-23 16:06:24 INFO    Global (780)    AsyncMutex(es) are stopped.
2020-05-23 16:06:24 INFO    Global (796)    Wasabi stopped gracefully (99150807-9275-4d48-aed1-eb990ef8a54d).
2020-05-23 16:06:24 INFO    Daemon (139)    Daemon stopped.

And here it seems to be going good again. I started mixing in both VMs again, and VM 2 [that has two coins above the target] now mixed both coins into the destination wallet - as is expected.

2020-05-23 16:10:58 INFO    WalletManager (194) Wallet started.
2020-05-23 16:10:59 INFO    ClientState (40)    Coin added to the waiting list: 0:0506405663402b9fc8226493b2da498c7bad06dc44d348ae7dfdd197b7d1ba97.
2020-05-23 16:10:59 INFO    CoinJoinClient (799)    Coin queued: 0:0506405663402b9fc8226493b2da498c7bad06dc44d348ae7dfdd197b7d1ba97.
2020-05-23 16:10:59 INFO    ClientState (40)    Coin added to the waiting list: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:10:59 INFO    CoinJoinClient (799)    Coin queued: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:10:59 INFO    Daemon (158)    Enqueued 0.00031141 BTC, 2 coins with smallest anonset 5 and largest anonset 5.
2020-05-23 16:11:27 INFO    AliceClient (100)   Round (49373), Alice (f020867a-0dde-4da7-8097-282b9fa3f416): Registered 1 inputs.
2020-05-23 16:11:27 INFO    ClientState (60)    Coin removed from the waiting list: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:11:57 INFO    AliceClient (156)   Round (49373), Alice (f020867a-0dde-4da7-8097-282b9fa3f416): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 16:11:58 INFO    AliceClient (100)   Round (49374), Alice (adfc4f2d-a2c8-4a0a-a74b-72820f1177ba): Registered 1 inputs.
2020-05-23 16:11:58 INFO    ClientState (60)    Coin removed from the waiting list: 0:0506405663402b9fc8226493b2da498c7bad06dc44d348ae7dfdd197b7d1ba97.
2020-05-23 16:12:28 INFO    CoinJoinClient (444)    Round (49373) Bob Posted outputs: 1.
2020-05-23 16:12:28 INFO    AliceClient (156)   Round (49374), Alice (adfc4f2d-a2c8-4a0a-a74b-72820f1177ba): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 16:12:57 INFO    AliceClient (234)   Round (49373), Alice (f020867a-0dde-4da7-8097-282b9fa3f416): Acquired unsigned CoinJoin: c31214ddb017a94153caeb295094b252699720d71be1d9ae689804f816923e0f.
2020-05-23 16:12:58 INFO    AliceClient (250)   Round (49373), Alice (f020867a-0dde-4da7-8097-282b9fa3f416): Posted 1 signatures.
2020-05-23 16:13:01 INFO    CoinJoinClient (444)    Round (49374) Bob Posted outputs: 1.
2020-05-23 16:13:02 INFO    ClientState (500)   Coin added to the waiting list: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:13:02 INFO    ClientState (503)   Round (49373) registration is cleared.
2020-05-23 16:13:02 INFO    ClientState (60)    Coin removed from the waiting list: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb.
2020-05-23 16:13:02 INFO    CoinJoinClient (965)    Coin dequeued: 0:d691a2a5551f08cf4c33fbe7bd1f4f575c86a5c785163854b6bf49a69009f1bb. Reason: Spent.
2020-05-23 16:13:02 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - c31214ddb017a94153caeb295094b252699720d71be1d9ae689804f816923e0f
2020-05-23 16:13:02 INFO    Global (617)    Transaction Notification (Success): Received - 0.00016417 BTC - c31214ddb017a94153caeb295094b252699720d71be1d9ae689804f816923e0f

So, it seems to me, that the daemon sometimes does not realize that a coin has reached the anonset target, and that he should do one more round into the destination wallet...

I did the whole thing all over again, and can confirm, the daemon stops as soon as the anonset target is reached - without mixing into the destination.

Now I have four coins that have all reached the anonset target - in the origin wallet.

I did a new setup now, and this seems to work!
I added the --keepalive flag to both VM daemons, so it's now dotnet run --mix --wallet:Origin --destination:Destination --keepalive.

It first mixed all the coins until the anonset target was reached, in my case, I had 4 coins that were all anonset 5. Then it did not stop the daemon, but continued doing coinjoin, now with the destination wallet as output. This is exactly how it should be, but already without the --keepalive flag!

2020-05-23 19:10:33 INFO    AliceClient (156)   Round (49398), Alice (78270e78-98d6-4395-9ab8-a71c0c0ce1bc): Confirmed connection. Phase: InputRegistration.
2020-05-23 19:11:01 INFO    ClientState (452)   Round (49397) removed. Reason: It's not running anymore.
2020-05-23 19:11:01 INFO    ClientState (470)   Round (49399) added.
2020-05-23 19:11:02 INFO    AliceClient (156)   Round (49398), Alice (78270e78-98d6-4395-9ab8-a71c0c0ce1bc): Confirmed connection. Phase: InputRegistration.
2020-05-23 19:11:33 INFO    AliceClient (156)   Round (49398), Alice (78270e78-98d6-4395-9ab8-a71c0c0ce1bc): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 19:11:36 INFO    AliceClient (100)   Round (49399), Alice (4d503ce2-e610-4e01-b56b-d3ded40e1c28): Registered 1 inputs.
2020-05-23 19:11:36 INFO    ClientState (60)    Coin removed from the waiting list: 2:7fedf713a76d2dafafb6ae4097e4ebdc71ea596c74e5c6751fe0c03662520616.
2020-05-23 19:12:05 INFO    CoinJoinClient (444)    Round (49398) Bob Posted outputs: 1.
2020-05-23 19:12:05 INFO    AliceClient (156)   Round (49399), Alice (4d503ce2-e610-4e01-b56b-d3ded40e1c28): Confirmed connection. Phase: ConnectionConfirmation.
2020-05-23 19:12:15 INFO    AliceClient (234)   Round (49398), Alice (78270e78-98d6-4395-9ab8-a71c0c0ce1bc): Acquired unsigned CoinJoin: 8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a.
2020-05-23 19:12:15 INFO    AliceClient (250)   Round (49398), Alice (78270e78-98d6-4395-9ab8-a71c0c0ce1bc): Posted 1 signatures.
2020-05-23 19:12:18 INFO    CoinJoinClient (444)    Round (49399) Bob Posted outputs: 1.
2020-05-23 19:12:28 INFO    ClientState (500)   Coin added to the waiting list: 2:169a60ebe0c816d84cbeadb193eef6806de209fa6befc3094e85e2c1e084753c.
2020-05-23 19:12:28 INFO    ClientState (503)   Round (49398) registration is cleared.
2020-05-23 19:12:28 INFO    ClientState (60)    Coin removed from the waiting list: 2:169a60ebe0c816d84cbeadb193eef6806de209fa6befc3094e85e2c1e084753c.
2020-05-23 19:12:28 INFO    CoinJoinClient (965)    Coin dequeued: 2:169a60ebe0c816d84cbeadb193eef6806de209fa6befc3094e85e2c1e084753c. Reason: Spent.
2020-05-23 19:12:29 INFO    ClientState (40)    Coin added to the waiting list: 0:8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a.
2020-05-23 19:12:29 INFO    CoinJoinClient (799)    Coin queued: 0:8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a.
2020-05-23 19:12:29 INFO    ClientState (40)    Coin added to the waiting list: 2:8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a.
2020-05-23 19:12:29 INFO    CoinJoinClient (799)    Coin queued: 2:8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a.
2020-05-23 19:12:29 INFO    Global (617)    Transaction Notification (Success):  - CoinJoin Completed! - 8fb70c26714750743460c385b5c9dfd7c9a069b9198fe3daf417b34fefafae0a

afaik, there was no address reuse in my testing, but I am not sure, I might have missed some, I only did preliminary checking at blockstream .info...

an interesting observation... One VM has 10 coins that are above the minimum denomination, and so far, none of them have reached the anonset target, and thus none of them have been coinjoined in the destination wallet.

From a UX experience, a user might expect that when specifying the --destination flag, that the coin gets moved there as fast as possible, and not only after ALL the coins reached anonset target.

But I think this is very difficult to get right with automatic coin selection... having a mix into destination with the manual coin selection of the gui would fix this issue, so I think it should be kept as is in the daemon.

I'm able to reproduce the issue that the change of a coinjoin goes into the destination wallet too.
This is the case when the input of the coinjoin is above the anonset target already. It makes sense. Both outputs, the equal value and the change, are thus above the anonset target and are mixed into the destination wallet.

I'm not sure if this is good design... I would expect only the equal value output to be in the destination wallet.

This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bump

This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bump

This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabridome picture gabridome  路  3Comments

yahiheb picture yahiheb  路  3Comments

UkolovaOlga picture UkolovaOlga  路  3Comments

molnard picture molnard  路  3Comments

davterra picture davterra  路  3Comments