-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: lnd backend mode switching bug #724
base: master
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above
As discussed, we can ignore this for now. I opened #727 as follow-up. |
3029fcd
to
178b477
Compare
Sorry I've tried many times and I cannot reproduce .conf file missing case for bitcoind, litecoind & geth
It's confirmed. When L1 nodes switching modes we should restart xud otherwise unlock won't work. I think it's because the xud cannot tell underlying nodes configuration changes only from the RPC responses. But it's ticky to implement this feature in xud-docker because we do not presist the previous configurations. A simple workaround would be comparing lnd.conf in utils and detect mode changes of L1 nodes. But a proper fix should be dumping all configuration keys as a snapshot and persisted in network_dir. I will create another PR for the proper fix. |
We argee not to apply such kind of xud-docker workaround fix for such unlock case during the call. So @kilrau could you confirm on the first issue @raladev reported.
|
I'll respond in the related xud issue, I would expect auto unlock to work as long as the password doesn't change between the two lnd backends. |
Thanks, I am testing lndbtc light -> native -> light now on a fresh testnet setup. |
lndbtc gets marked as disconnected from here : https://paste.ubuntu.com/p/DgHt2q3pvr/
To be fixed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Above
Update:
Todo:
|
178b477
to
3bd6c06
Compare
3bd6c06
to
feb9643
Compare
No description provided.