whirlpool-client-cli issueshttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues2022-12-11T16:05:58Zhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/33Configure external xpub2022-12-11T16:05:58ZSantochi NacamochoConfigure external xpubHi,
I want to configure Whirlpool CLI to mix to an external wallet. I am using Umbrel with Whirlpool CLI 0.10.15. I have modified the whirlpool-cli-config.properties file adding these lines to the end of the file:
```
cli.externalDestina...Hi,
I want to configure Whirlpool CLI to mix to an external wallet. I am using Umbrel with Whirlpool CLI 0.10.15. I have modified the whirlpool-cli-config.properties file adding these lines to the end of the file:
```
cli.externalDestination.xpub=xpub... (I have tried with the zpub too)
cli.externalDestination.chain=0
cli.externalDestination.startIndex=0
cli.externalDestination.mixs=10
cli.externalDestination.mixsRandomFactor=4
```
When the CLI is restarted, the GUI shows this message
_Invalid config value for: externalDestination_
I suppose that the exception is thrown [here](https://code.samourai.io/whirlpool/whirlpool-client-cli/-/blob/develop/src/main/java/com/samourai/whirlpool/cli/config/CliConfigFile.java#L679).
`AESUtil.decrypt(this.externalDestination.xpub, new CharSequenceX(passphrase));`
Why does decrypt the external xpub with the passphrase?https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/30Wrong index when coinjoining to cold storage2022-08-26T08:17:22ZjaimeWrong index when coinjoining to cold storageWhen running whirlpool with --set-external-xpub flag, indicate an external xpub and index, and afterwards we change our cold storage xpub in a new whirlpool session, even indicating our new index, the old index is still used since it is ...When running whirlpool with --set-external-xpub flag, indicate an external xpub and index, and afterwards we change our cold storage xpub in a new whirlpool session, even indicating our new index, the old index is still used since it is being read from the old whirlpool-cli-state file.
There should be a method to reset this index everytime the user enters a new xpub.zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/29GUI and CLI both go from status STARTED to status STOPPED after a few days2022-08-26T07:48:42ZSarekGUI and CLI both go from status STARTED to status STOPPED after a few days@zeroleak I would like to know who, maybe you, I could work with on understanding the issue I'm experiencing and what logs to send.
I used to use GUI with its internal cli. After a few days of being active, the mixing would stop, or the...@zeroleak I would like to know who, maybe you, I could work with on understanding the issue I'm experiencing and what logs to send.
I used to use GUI with its internal cli. After a few days of being active, the mixing would stop, or the GUI would stall/freeze/hang. A restart would make it work again. Recently, I stopped using the GUI and started using the downloadable CLI. It works fine for a few days and then stopped mixing. I'm not sure what's wrong. My Dojo has no issues, it chugs along.
There are some error/warning messages but I don't know who to communicate them to and I'd like to have the CLI just run and never stop mixing (and the GUI too for that matter, it sounds like that's not a unique problem).zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/280.10.14 CLI can no longer connect to wallet backend on dojo2022-05-01T07:32:28ZSarek0.10.14 CLI can no longer connect to wallet backend on dojoWhirlpool GUI 0.10.3 with CLI 0.10.13 was working perfectly fine. Restarted the GUI to update to CLI 0.10.14 and now it can no longer connect to two dojo's i've tried. It says:
(CLI) Authenticate Unable to connect to wallet backend: htt...Whirlpool GUI 0.10.3 with CLI 0.10.13 was working perfectly fine. Restarted the GUI to update to CLI 0.10.14 and now it can no longer connect to two dojo's i've tried. It says:
(CLI) Authenticate Unable to connect to wallet backend: http://.....onion/v2/
The password for the wallet is correct.zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/27Pad Block Corrupted2022-05-01T07:37:19ZSilarousPad Block CorruptedAfter initializing whirlpool-client-cli-0.10.13-run.jar, inputting the pairing payload, and entering the passphrase the Whirlpool-cli returns an Error and then closes the service. This appears to be related to the Whirlpool-GUI technica...After initializing whirlpool-client-cli-0.10.13-run.jar, inputting the pairing payload, and entering the passphrase the Whirlpool-cli returns an Error and then closes the service. This appears to be related to the Whirlpool-GUI technical error issue #33.
![image](/uploads/338e07984a58d5716df126c9fa0b3400/image.png)zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/26Whirlpool CLI bug2022-03-31T14:10:27ZOrangedMikeorangedmike@samourai.isWhirlpool CLI bugafter restarting whirlpool I get this error - https://bin.bitcoiner.guide/?0599162274430935#91yHPQsXoPS2C4isHLiJ5sjxrZknsHEtGLR9xUgaziAJ
seems to be a bugafter restarting whirlpool I get this error - https://bin.bitcoiner.guide/?0599162274430935#91yHPQsXoPS2C4isHLiJ5sjxrZknsHEtGLR9xUgaziAJ
seems to be a bugzeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/25confirmations not refreshing in whirlpool-gui2022-02-07T16:34:26ZKetanconfirmations not refreshing in whirlpool-guiWith the new whirlpool-client-cli 10.12, whirlpool-gui no longer shows up to date confirmation numbers on UTXOs.With the new whirlpool-client-cli 10.12, whirlpool-gui no longer shows up to date confirmation numbers on UTXOs.zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/24cli.torConfig.customTorrc cannot overload most settings2022-05-01T07:37:51ZBrian Leecli.torConfig.customTorrc cannot overload most settingsThe customTorrc settings are not honored due to the order of the resulting torrc variables.
For example, it does not look possible to configure a private bridge.
example-torrc:
```
UseBridges 1
Bridge ....
```
On startup, c.s.t.c.utils.W...The customTorrc settings are not honored due to the order of the resulting torrc variables.
For example, it does not look possible to configure a private bridge.
example-torrc:
```
UseBridges 1
Bridge ....
```
On startup, c.s.t.c.utils.WhirlpoolTorInstaller dutifully reports "Updating torrc file..."
Resulting torrc:
```
PidFile /tmp/whirlpoolTor../lib/tor/pid
SafeSocks 0
SOCKSPort auto
StrictNodes 0
TestSocks 0
UseBridges 1
Bridge ...
TransPort 0
UseBridges 0
AutomapHostsOnResolve 1
CookieAuthentication 1
CookieAuthFile /tmp/whirlpoolTor../lib/tor/control_auth_cookie
ControlPortWriteToFile /tmp/whirlpoolTor../lib/tor/control.txt
ControlPort auto
DNSPort auto
SOCKSPort 2121
SOCKSPort 38353
SOCKSPort 18547
SOCKSPort 5123
```
Note that `UseBridges 0` disables the configured bridge.zeroleakzeroleakhttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/23Derivation index is frozen2022-02-14T08:17:33ZViktorDerivation index is frozenHey! I've been using whirlpool cli for a long time. Near week ago I got a freeze for cli (with api). After restart it balances (which really existed on addresses with some derivation index) not loaded. How I can force reload and resync a...Hey! I've been using whirlpool cli for a long time. Near week ago I got a freeze for cli (with api). After restart it balances (which really existed on addresses with some derivation index) not loaded. How I can force reload and resync all addresses? Or I have to use another wallet to move frozen coins?https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/20Be able to selectively enable tor only for the coordinator2020-04-14T14:01:36ZzeroleakBe able to selectively enable tor only for the coordinator*Created by: ketominer*
When CLI and Dojo are running on the same device, it would be great to be able to access Dojo from CLI through cli.dojo.url=http\://127.0.0.1:port/v2/ instead of doing a round trip through tor. Currently, when to...*Created by: ketominer*
When CLI and Dojo are running on the same device, it would be great to be able to access Dojo from CLI through cli.dojo.url=http\://127.0.0.1:port/v2/ instead of doing a round trip through tor. Currently, when tor is enabled, CLI tries to reach 127.0.0.1 through tor, which fails. Maybe that could be done by setting cli.tor=coordonly or something like that :) That would greatly improve the reliability of CLI when running with Dojo.https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/17UTXO selection for freeriding based on confirmations2020-03-30T15:55:01ZCrazyk031crazyk@samourai.ioUTXO selection for freeriding based on confirmationsAs it stands now it seems the same "coins/UTXOs" just keep getting cycled over & over, so if you have a large set of UTXOs in Whirlpool many mix once and thats it, then a small minority keep getting freerides. My suggestion is UTXOs get ...As it stands now it seems the same "coins/UTXOs" just keep getting cycled over & over, so if you have a large set of UTXOs in Whirlpool many mix once and thats it, then a small minority keep getting freerides. My suggestion is UTXOs get chosen for freerides based on which has the most confirmations. Then your whole UTXO stack would constantly cycle through evenly. https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/19Startup failure for `clients` option on 0.10.42020-04-14T13:19:43ZzeroleakStartup failure for `clients` option on 0.10.4*Created by: MrHash*
Cannot start client with any value for `--clients` startup option, nor removing the option from startup command.
```
Failed to bind properties under 'cli.mix.clients' to int:
Property: cli.mix.clients
...*Created by: MrHash*
Cannot start client with any value for `--clients` startup option, nor removing the option from startup command.
```
Failed to bind properties under 'cli.mix.clients' to int:
Property: cli.mix.clients
Value:
Origin: URL [file:whirlpool-cli-config.properties]:5:0
Reason: failed to convert java.lang.String to @javax.validation.constraints.NotEmpty int
```https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/14Issue with REST API: Stop mixing UTXO2019-12-30T19:14:59ZzeroleakIssue with REST API: Stop mixing UTXO*Created by: jaimefoo*
In last versions of whirlpool (0.9.1 at least) you could do:
POST /rest/utxos/{hash}:{index}/stopMix
to "freeze" a particular utxo and avoid it entering a mix
Now the same command returns a 200 OK, but i...*Created by: jaimefoo*
In last versions of whirlpool (0.9.1 at least) you could do:
POST /rest/utxos/{hash}:{index}/stopMix
to "freeze" a particular utxo and avoid it entering a mix
Now the same command returns a 200 OK, but in reality whirlpool drops a ""mixStop ignored: not mixing" when its status is " MIX_QUEUE MIXABLE". It only works when that utxo is with status "MIX_STARTED HASH_MIXING". https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/21mixsDone gets forgotten, how to reconstruct2020-06-18T15:08:19ZzeroleakmixsDone gets forgotten, how to reconstruct*Created by: blamb5*
I have been mixing several hundreds of addresses with mixs-target=10 and after months I had a few dozens of mixsDone=10. But then all of sudden I noticed that many 10s disappeared and got reset to 1. Not all of them...*Created by: blamb5*
I have been mixing several hundreds of addresses with mixs-target=10 and after months I had a few dozens of mixsDone=10. But then all of sudden I noticed that many 10s disappeared and got reset to 1. Not all of them and probably not just 10s. Simply it seemed like I had done many fewer mixes than in the reality. I don't know how it happened, I didn't do anything strange with the cli, only I stopped it quite many times to compile a new version from git. Fortunately I did have some oldish backups of both json files but still I "lost" several months of mixing. I shrugged and let it be until yesterday, another couple of months of mixing later, I again noticed that many mixsDone had been reset to 1. so I am letting you know that there might be a bug. Maybe something is wrong with my machine but it's a stable powerful underutilized server with a rather reliable filesystem (zfs on raid1) so I don't know. Maybe it happened to other people too, they just never noticed.
So I decided to recalculate the correct mixsDone values and fix the whirlpool-cli-utxos-xxx.json file. From zpub I generated a list of my addresses and then I took each utxo (just a copy&paste of UTXO column from "O" cli command output) and went back in transactions and counted how many times one of the input addresses belongs to my list and that was the correct mixsDone. Now all my mixsDone are correct again, I even got a couple of mixsDone=11.
If anyone notices the same problem, here is a little tool for this reconstruction I made in Python: https://pastebin.com/W0b4dqp3https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/180.10.4: GUI hang on long disconnect2022-04-23T11:15:56Zzeroleak0.10.4: GUI hang on long disconnect*Created by: r4v3r23*
- GUI connected to CLI via API on same machine.
- whirlpool-cli running in background
- deactivated wifi for about an hour then reconnected
- GUI became unresposive to logout/stop requests
- after closing wallet w...*Created by: r4v3r23*
- GUI connected to CLI via API on same machine.
- whirlpool-cli running in background
- deactivated wifi for about an hour then reconnected
- GUI became unresposive to logout/stop requests
- after closing wallet was failing to open giving the v2 onion error
- restarting computer fixed issue and mix counts resethttps://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/8The following artifacts could not be resolved: com.msopentech.thali:java:jar:...2022-10-16T00:40:10ZzeroleakThe following artifacts could not be resolved: com.msopentech.thali:java:jar:0.0.3, com.msopentech.thali:universal:jar:0.0.3*Created by: mikispag*
`mvn clean install -Dmaven.test.skip=true -U`
```
[...]
Downloading from central: https://repo.maven.apache.org/maven2/com/msopentech/thali/java/0.0.3/java-0.0.3.jar
Downloading from central: https://repo.maven.a...*Created by: mikispag*
`mvn clean install -Dmaven.test.skip=true -U`
```
[...]
Downloading from central: https://repo.maven.apache.org/maven2/com/msopentech/thali/java/0.0.3/java-0.0.3.jar
Downloading from central: https://repo.maven.apache.org/maven2/com/msopentech/thali/universal/0.0.3/universal-0.0.3.jar
[ERROR] Failed to execute goal on project whirlpool-client-cli: Could not resolve dependencies for project com.github.Samourai-Wallet:whirlpool-client-cli:jar:0.7.1: The following artifacts could not be resolved: com.msopentech.thali:java:jar:0.0.3, com.msopentech.thali:universal:jar:0.0.3: Could not find artifact com.msopentech.thali:java:jar:0.0.3 in jitpack.io (https://jitpack.io)
```
Both packages look missing.https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/9Mix Target no Updating2019-07-15T06:40:46ZzeroleakMix Target no Updating*Created by: ghost*
I have been running CLI with commands:
java -jar whirlpool-client-cli-0.7.1-run.jar --server=mainnet --clients=1 --auto-mix --authenticate --debug --debug-client --mixs-target=10
When I first started mixing my ...*Created by: ghost*
I have been running CLI with commands:
java -jar whirlpool-client-cli-0.7.1-run.jar --server=mainnet --clients=1 --auto-mix --authenticate --debug --debug-client --mixs-target=10
When I first started mixing my mix-target has been set to 5. I have been checking the thread in CLI and each UTXO that is currently in queue still shows mix target of 5, see picture below. Am I doing something wrong or is this an issue?
![Screen Shot 2019-07-14 at 11 44 18 AM](https://user-images.githubusercontent.com/51298667/61185915-bbbcdf80-a62c-11e9-87f3-83cb458f6039.png)https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/6TOR workijg or Not2019-07-20T16:54:29ZzeroleakTOR workijg or Not*Created by: ghost*
Not sure there is an issue or not but wanted to send in a Screen Shot of Logs I got for 0.7.0 with TOR running CLI only.
I spun up 4 different CLI and all seem to run, just want to make sure functioning right. Se...*Created by: ghost*
Not sure there is an issue or not but wanted to send in a Screen Shot of Logs I got for 0.7.0 with TOR running CLI only.
I spun up 4 different CLI and all seem to run, just want to make sure functioning right. See attached Screen Shots.
![IMG_20190702_100853_506](https://user-images.githubusercontent.com/51298667/60519758-2fb4ca80-9cb2-11e9-9455-3bb98f62a11c.jpg)
![IMG_20190702_100856_746](https://user-images.githubusercontent.com/51298667/60519768-33e0e800-9cb2-11e9-84a2-bbfcab18a9e9.jpg)
https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/16Whirlpool-cli crashing - java.lang.OutOfMemoryError2020-01-07T19:00:47ZDojoCoderWhirlpool-cli crashing - java.lang.OutOfMemoryErrorMy whirlpool-cli is crashing every day due to java.lang.OutOfMemoryError. Sometimes it is able to be killed gracefully, sometimes there is a need to kill the whole Java process.
Hardware: Raspberry Pi4
OS: Raspbian
logs:
```bas...My whirlpool-cli is crashing every day due to java.lang.OutOfMemoryError. Sometimes it is able to be killed gracefully, sometimes there is a need to kill the whole Java process.
Hardware: Raspberry Pi4
OS: Raspbian
logs:
```bash
at org.springframework.messaging.simp.stomp.DefaultStompSession.afterConnectFailure(DefaultStompSession.java:398) ~[spring-messaging-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.web.socket.messaging.WebSocketStompClient$WebSocketTcpConnectionHandlerAdapter.onFailure(WebSocketStompClient.java:314) ~[spring-websocket-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.util.concurrent.ListenableFutureCallbackRegistry.notifyFailure(ListenableFutureCallbackRegistry.java:86) ~[spring-core-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.util.concurrent.ListenableFutureCallbackRegistry.addCallback(ListenableFutureCallbackRegistry.java:67) ~[spring-core-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.util.concurrent.ListenableFutureTask.addCallback(ListenableFutureTask.java:61) ~[spring-core-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.util.concurrent.SettableListenableFuture.addCallback(SettableListenableFuture.java:76) ~[spring-core-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:268) ~[spring-websocket-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:249) ~[spring-websocket-5.1.6.RELEASE.jar!/:5.1.6.RELEASE]
at com.samourai.stomp.client.JavaStompClient.connect(JavaStompClient.java:68) ~[classes!/:na]
at com.samourai.stomp.client.StompTransport.connect(StompTransport.java:33) ~[whirlpool-client-0.23.0.jar!/:na]
at com.samourai.whirlpool.client.mix.dialog.MixSession.connect(MixSession.java:77) ~[whirlpool-client-0.23.0.jar!/:na]
at com.samourai.whirlpool.client.mix.dialog.MixSession$3.onTransportDisconnected(MixSession.java:278) ~[whirlpool-client-0.23.0.jar!/:na]
at com.samourai.stomp.client.StompTransport$1.onError(StompTransport.java:54) ~[whirlpool-client-0.23.0.jar!/:na]
at com.samourai.stomp.client.StompTransport$1.onError(StompTransport.java:36) ~[whirlpool-client-0.23.0.jar!/:na]
at com.samourai.stomp.client.JavaStompClient$1.handleTransportError(JavaStompClient.java:149) ~[classes!/:na]
2020-01-06 23:26:17.624 ERROR 8929 --- [t-1578349073606] c.samourai.stomp.client.JavaStompClient : ! transportError: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
2020-01-06 23:26:17.625 INFO 8929 --- [t-1578349073606] c.s.w.c.m.d.MixSession[1578349073606] : ! Failed to connect to server. Please check your connectivity or retry later.
2020-01-06 23:26:17.625 ERROR 8929 --- [t-1578349073606] c.s.w.c.mix.MixClient[1578349073606] : ERROR: Disconnected
2020-01-06 23:26:17.625 ERROR 8929 --- [t-1578349073606] s.w.c.w.l.LoggingWhirlpoolClientListener : - [MIX] ⣿ WHIRLPOOL FAILED ⣿ Disconnected
2020-01-06 23:26:17.626 INFO 8929 --- [t-1578349073606] c.s.w.client.wallet.WhirlpoolWallet : onMixFail(DISCONNECTED): will retry later
^C[76894,737s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 320k, guardsize: 0k, detached.
```https://code.samourai.io/whirlpool/whirlpool-client-cli/-/issues/15Feature request: UTXO address in ApiUtxo2022-04-23T11:15:29ZDojoCoderFeature request: UTXO address in ApiUtxoIt would be helpful to add utxo address to ApiUtxo class, so we can show this address in the GUI along with TX id to be able to copy it out and paste to block explorer.It would be helpful to add utxo address to ApiUtxo class, so we can show this address in the GUI along with TX id to be able to copy it out and paste to block explorer.