-
Notifications
You must be signed in to change notification settings - Fork 912
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
question about CHANNEL_ERR_TOO_MANY_HTLCS #3953
Comments
It should not. It closed on you because you sent more HTLCs than it allows (which you should never do). I've tried various scenarios and I cannot reproduce this :( Any more information on what you were doing? |
Hi Rusty, thanks for getting back to me.
|
My C-Lightning v0.9.0-1 node did the same thing a few days ago.
The complete debug history of this channel is attached. |
OK, it seems like the checking was too strict: we insisted that they don't pass their own limits, whereas in fact they are allowed to (we're not allowed to pass their limit, they're not allowed to pass ours). |
We try not to exceed either side, but the spec still allows them to (we don't, but older nodes would have, as could other implementations). Fixes: ElementsProject#3953 Changelog-Fixed: protocol: overzealous close when peer sent more HTLCs than they'd told us we could send. Signed-off-by: Rusty Russell <[email protected]>
We try not to exceed either side, but the spec still allows them to (we don't, but older nodes would have, as could other implementations). Fixes: ElementsProject#3953 Changelog-Fixed: protocol: overzealous close when peer sent more HTLCs than they'd told us we could send. Signed-off-by: Rusty Russell <[email protected]>
We try not to exceed either side, but the spec still allows them to (we don't, but older nodes would have, as could other implementations). Fixes: #3953 Changelog-Fixed: protocol: overzealous close when peer sent more HTLCs than they'd told us we could send. Signed-off-by: Rusty Russell <[email protected]>
Hi,
one of my channel with a stable and reliable peer has been unilaterally closed by my node with this status:
CHANNELD_NORMAL:Bad peer_add_htlc: CHANNEL_ERR_TOO_MANY_HTLCS
I was wondering under which circustamces this could happen?
I'm running "version": "v0.9.0-1" on mainnet.
The text was updated successfully, but these errors were encountered: