1

Some LND wallets provide a channel's "Number of Updates". Here's an example from Zap Desktop:

enter image description here

The LND gRPC API Channel Reference cites a property called num_updates. The description of this field is not very informative:

The total number of updates conducted within this channel.

What specifically is a channel update?

3 Answers 3

1

For some reason stackoverflow has a 50 reputation limit on comments, so I must use the answer box to point out that Karlo's answer is not correct - or at least does not tell the whole story. I understand that this is not the correct use for the answer box, blame stackoverflow's poorly thought out reputation limits.

I have a node with a few (outgoing) channels, have not spent a single satoshi with it yet. So the "remote balance" of the channels has always been 0, in other words there have been no balance updates. Yet the number of updates in the channels is non-zero.

2
  • Updates can include changes to (on-chain) transaction fees. By default num_updates will also always be >0 if the channel is fully established, because there is a required update between the channel's initial funding and the funds being locked.
    – Mark H
    Apr 19, 2019 at 12:56
  • The num_updates metrics are also not 1, closer to 10.
    – kekcoin
    Apr 19, 2019 at 13:45
0

A channel update can be a new payment routed via the channel (balances need to get update so a new commitment is generate), new fees negotiation (fee uncooperative channel closure), a request of CSV change by the other party (value in which your node will be able to sweep funds if you close the channel in a uncooperative way) among others...

2
-1

When a payment is done, the channel states update.

Your channel might start with a balance of 100 000. This is all on your side.

Then a payment is done of 10 000. The channel gets updated: your side has 90 000, the remote side has 10 000.

Any update, or: "payment" beyond this point is an update.

1
  • As mentioned above, num_updates is incremented for fee changes, CSV limit changes, and other non-payment updates. Jun 28, 2022 at 4:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.