-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 sends a commit_sig
that doesn't include any updates
#1127
Comments
@pm47 Thanks for the detailed description! I have been able to reproduce the scenario, and will have a fix up in a bit. |
Does this result in a loss of funds to the LND node? Just occurred on channel channelId=88275f320965874c1bc2010dd694ff53cccf7ebf1710ae3f418a592d7016cdb9 and the other side thinks they have lost funds - but I am assuming they just need to wait for the timeouts? |
No loss of funds, funds may be time locked depending on who broadcasts the
commitment.
On May 17, 2018 1:23 PM, "n1bor" <[email protected]> wrote:
Does this result in a loss of funds to the LND node? Just occurred on
channel
channelId=88275f320965874c1bc2010dd694ff53cccf7ebf1710ae3f418a592d7016cdb9
and the other side thinks they have lost funds - but I am assuming they
just need to wait for the timeouts?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA87Lu-ahv6AIF5_Fq45cYT8lTv6UaQZks5tzdwogaJpZM4TjNqw>
.
|
Looks like Eclair published it - as LND breached the rules so eclair closed channel. And reassured them that I did not steel them! https://blockchain.info/tx-index/348778808 I assume is the tx that spent the timeouts? So they should own bc1q4mnhlnkk48ds0uy0pftz2jpv5z0nsaqv8r8dyy. |
All funds in that channel have been fully swept. This is the commitment transaction: https://www.smartbit.com.au/tx/5b9d9d742ab6c07fa26d6d74100ccaa216650d08103d76e968ae5f6d787bd527 |
Counterpart confirmed that they did not lose any funds (just some fees). And that they were on old version of lnd so is the same issue - that is already fixed. Better tools for users to reconcile balances in channels+bitcond wallet to what was send/received/earned in fees etc.. seem to be needed - as once scale up manually trawling logs will become impossible. |
Unfortunately I'm still running into this issue. This happened between this node and ours. I don't know what version it runs or who is behind it, but since it is fairly big I suppose it is well maintained and up-to-date. Here is what happened:
|
Not sure if I would call 64 channels big lol. To our knowledge this is
fixed on master, and we don't have any insight as to what version that node
is running.
…On Fri, Jun 15, 2018, 8:08 AM Pierre-Marie Padiou ***@***.***> wrote:
Unfortunately I'm still running into this issue.
This happened between this node
<https://1ml.com/node/02a45def9ae014fdd2603dd7033d157faa3a55a72b06a63ae22ef46d9fafdc6e8d>
and ours. I don't know what version it runs or who is behind it, but since
it is fairly big I suppose it is well maintained and up-to-date.
Here is what happened:
lnd eclair
| |
| ... |
| | <--- idle (6 pending htlcs on both sides)
| |
| |
|<----- add-1 ------|
|<------ sig -------|
|------- rev ------>| <--- lnd acks add-1
|<----- add-2 ------|
|------- sig ------>| <--- lnd signs add-1
|<------ sig -------|
|<------ rev -------|
|------- rev ------>| <--- lnd acks add-2
| |
|----- fail-1 ---->|
|------- sig ------>| <--- lnd signs add-2 + fail-1
|<------ rev -------|
|<------ sig -------|
|----- fail-2 ---->|
|------- sig ------>| <--- lnd signs fail-2
|------- rev ------>|
|<------ rev -------|
|<------ sig -------|
|------- rev ------>|
|------- sig ------>| <--- this signature doesn't include anything new
|<------ err -------| <--- cannot sign without changes!
| |
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#1127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA87LvG37MbJSk237Lq9l58v7mLc4hLXks5t883sgaJpZM4TjNqw>
.
|
@pm47 wondering if we need to be more lenient? Feels a bit like the IE/Firefox/Chrome arguments over html. I.e. should it be valid XML or should we just do the best we can. As all users care about is channels staying up not if an implementation sticks to the specs. |
By capacity they are, apparently, but whatever. Maybe all their channels got closed because of this bug? 😝
I hope eclair isn't IE in your analogy ;-). It's much more low level than that, more like what if they spoke different TCP: that just wouldn't work. Besides, nobody here is arguing that this issue shouldn't be fixed, and actually it has been fixed. I guess they just haven't yet updated their node. |
Background
Still tracking down occasional issues between
eclair
andlnd
, I think I was able to isolate this one onlnd
's side.A long-lived channel was closed because, according to
eclair
,lnd
sent acommit_sig
that didn't include any changes, which is a protocol violation.Your environment
03e50492eab4107a773141bb419e107bda3de3d55652e6e1a41225f06a0bbf2d56
5002e7b1fe9243c716e6004ee7d9bfcf95b2ec15c1a1ddcfd80ae4b5f06bd29d
lnd
:0.4.1-beta commit=8af80bfc5cdebcd323ed2a50ea0497df6e9bc6e4
(info from @alexbosworth)Actual behaviour
The text was updated successfully, but these errors were encountered: