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

Feerate error for lightning nodes on same chain node #1505

Closed
MrHash opened this issue Aug 4, 2020 · 2 comments
Closed

Feerate error for lightning nodes on same chain node #1505

MrHash opened this issue Aug 4, 2020 · 2 comments

Comments

@MrHash
Copy link

MrHash commented Aug 4, 2020

I'm getting the error err=local/remote feerates are too different: remoteFeeratePerKw=12500 localFeeratePerKw=45000 when trying to create a channel between LND 0.10.4 and Eclair 0.4.1 where both nodes are listening to the same bitcoind 0.20.1 node with everything running in regtest mode on the same machine. Advise on how to normalize this would be appreciated.

@t-bast
Copy link
Member

t-bast commented Aug 4, 2020

This indeed happens on regtest when opening from lnd to eclair, as we check the feerate (and reject feerates we disagree with) whereas lnd doesn't. If you open the channel from eclair this will work.

If you want it to work when opening from lnd, there's a configuration value you need to change in your eclair.conf.
Set this:

eclair.on-chain-fees.feerate-tolerance.ratio-low = 0.000001
eclair.on-chain-fees.feerate-tolerance.ratio-high = 1000000

With that setting you will tolerate pretty much any remote feerate.
See the config for details:

@MrHash
Copy link
Author

MrHash commented Aug 4, 2020

ok that works thanks

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