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

LND channels take long to get re-enabled #1112

Closed
kilrau opened this issue Jul 19, 2019 · 5 comments
Closed

LND channels take long to get re-enabled #1112

kilrau opened this issue Jul 19, 2019 · 5 comments
Assignees
Labels
P1 top priority

Comments

@kilrau
Copy link
Contributor

kilrau commented Jul 19, 2019

The issue: Currently, if you take your xud setup down (with channels open to some other nodes) for >20 minutes and bring it up again, you will need to wait 19 minutes for channels to get re-enabled and swaps to work.

As per lightningnetwork/lnd#3328 (comment) we should change lnd's config, question is how.

Options
a)--chan-disable-timeout, but this will increase routing failures drastically since nodes will try to route via disabled channels
b) --chan-enable-timeout and configure the timeout to something short and check that it works in both directions. Channels get disabled after 10s but also re-enabled after 10s.
c) ?

@kilrau kilrau added question/tbd Further information or discussion needed P1 top priority labels Jul 19, 2019
@kilrau kilrau added this to To do in 1.0.0-mainnet via automation Jul 19, 2019
@kilrau
Copy link
Contributor Author

kilrau commented Jul 19, 2019

Second question is the right place to do this. xud native or docker.

@sangaman
Copy link
Collaborator

xud native can't set lnd command args or config flags, so this would be for the docker/simnet repos I believe.

@kilrau
Copy link
Contributor Author

kilrau commented Jul 22, 2019

Which option do you prefer? I would vouch for b) with something like 10s, since this is the "proper" way and should work accross Simnet/Testnet/Mainnet.

@kilrau
Copy link
Contributor Author

kilrau commented Jul 23, 2019

Decision: 10s for Simnet & Testnet. Mainnet stays with 20 mins.

@kilrau kilrau removed the question/tbd Further information or discussion needed label Jul 23, 2019
@kilrau kilrau closed this as completed Jul 25, 2019
1.0.0-mainnet automation moved this from To do to Done Jul 25, 2019
@offerm
Copy link
Contributor

offerm commented Jul 26, 2019

10s chan-enable-timeout implemented in xud-simnet-start (simnet native).

Taking myself of the Assignees list. @kilrau

@offerm offerm removed their assignment Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 top priority
Projects
No open projects
1.0.0-mainnet
  
Done
Development

No branches or pull requests

4 participants