event icon indicating copy to clipboard operation
event copied to clipboard

suspect trigger of force closing channels with embedded lnd

Open pony-montana opened this issue 5 months ago • 0 comments

Describe the bug

hi, I experimented a lot of force closure of channels from olympus and other lnd nodes from zeus ( android 0.8.4 and 0.9.0) embedded lnd. The force closure were always been pushed by remote nodes, most of them from olympus. I have some suspect on the pattern that could have triggered force closures:

keep closed zeus app for a lot of hours without persistent lnd, so it can remain behind with blocks sync -----> start zeus with a slow connection (something like mobile low quality connection... maybe could be exacerbated using tor) ------> go fast in "channels list" and "refresh" multiple time, when it still syncing.

it think the manual refresh could force a connection to nodes, and could interrupt the logic "first sync blocks, then connect and exchange some data". Need to be better tested to be sure if it consistently trigger a force closure. If it would be recognized as a problem it could be solved adding an "if not synced, not refresh" in the refresh channels logic.

Reproduce

.

ZEUS version

v0.9.0

Node interface

Embedded LND

Network

Clearnet

Device

pixel 6a

Device operating system

graphene os

Log output

No response

pony-montana avatar Sep 10 '24 23:09 pony-montana