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

Unable to open channel to c-lightning node channel reserve vs. dust #5

Open
Sjors opened this issue May 30, 2018 · 3 comments
Open

Comments

@Sjors
Copy link
Contributor

Sjors commented May 30, 2018

Running SwiftLightning on my iPhone, c-lightning on my Mac (connected to Bitcoin Core on testnet). When trying to open a channel the app complains:

"You have bad parameters:Our channel reserve 546 would be below their dust 573"

img_1510

cc @cdecker

@cdecker
Copy link

cdecker commented May 30, 2018

This is a failed negotiation of the reserve and dust limits as per spec:

The receiving node MUST fail the channel if:

...

  • dust_limit_satoshis is greater than channel_reserve_satoshis.

...

You wouldn't happen to know what the remote endpoint is running? It's using a non-standard dust limit.

@Sjors
Copy link
Contributor Author

Sjors commented May 30, 2018

The initiating node (on the phone) is running lnd. The remote node is running c-lightning. I didn't do anything fancy config wise for c-lightning, nor with the core node it uses.

@biscottigelato
Copy link
Owner

Yeah, my understanding of the dust-limit error message means that after fees, the on-chain transaction have more or less nothing left. In this case nothing left in the channel. Basically the only way to resolve it at this point is to provide more funds into the channel to begin with. In the future if there's a better way to do on-chain fee estimation, the warning can come earlier when the user is still punching in the Funding Amount.

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

3 participants