Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lwk_cli hangs on exit #66

Open
grubles opened this issue Dec 18, 2024 · 2 comments
Open

lwk_cli hangs on exit #66

grubles opened this issue Dec 18, 2024 · 2 comments

Comments

@grubles
Copy link

grubles commented Dec 18, 2024

When running lwk_cli server start to use as a backend for peerswap in place of elementsd, it seems to get stuck terminating itself.

OS: Fedora 40

[2024-12-17T20:12:02Z DEBUG lwk_app] method: wallet_details params: Some(Object {"name": String("testwallet1")}) 
^C[2024-12-18T02:30:10Z DEBUG lwk_cli] Received ctrl-c signal
[2024-12-18T02:30:10Z DEBUG tiny_http] Terminating accept thread
^C^C^C^C^C
$ ps aux | grep lwk
user       17375  0.1  0.1 632840 14632 pts/7    Sl+  Dec02  29:07 lwk_cli server start
@RCasatta
Copy link
Contributor

On current master cbff967 it works after a huge amount of time... investigating...

[2024-12-19T11:03:13Z DEBUG lwk_cli] Received ctrl-c signal
[2024-12-19T11:03:13Z DEBUG tiny_http] Terminating accept thread
[2024-12-19T11:05:19Z DEBUG lwk_wollet::clients::blocking] 1 headers_downloaded
[2024-12-19T11:05:19Z DEBUG lwk_wollet::clients::blocking] something changed: !new_txs.txs.is_empty():false last_unused_changed:false !scripts.is_empty():false !timestamps.is_empty():true
[2024-12-19T11:05:21Z DEBUG lwk_wollet::clients::blocking] 1 headers_downloaded
[2024-12-19T11:05:21Z DEBUG lwk_wollet::clients::blocking] something changed: !new_txs.txs.is_empty():false last_unused_changed:false !scripts.is_empty():false !timestamps.is_empty():true
[2024-12-19T11:05:21Z DEBUG lwk_wollet::clients::blocking] 1 headers_downloaded
[2024-12-19T11:05:21Z DEBUG lwk_wollet::clients::blocking] something changed: !new_txs.txs.is_empty():false last_unused_changed:false !scripts.is_empty():false !timestamps.is_empty():true
[2024-12-19T11:05:22Z INFO  lwk_cli] Threads ended
null

@grubles
Copy link
Author

grubles commented Dec 19, 2024

Forgot to mention I am running cli_0.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants