Why Nostr? What is Njump?
2023-06-09 12:45:41
in reply to

Joseph Poon [ARCHIVE] on Nostr: 📅 Original date posted:2016-02-03 📝 Original message: On Wed, Feb 03, 2016 at ...

📅 Original date posted:2016-02-03
📝 Original message:
On Wed, Feb 03, 2016 at 03:05:33PM +1030, Rusty Russell wrote:
> Right, so "this signature covers you up to X me up to Y". That resolves
> the in-flight issue.
>
> But isn't that more a request ID rather than an HTLC ID? Since requests
> can include removing HTLCs as well? And doesn't that simply degrade to
> a counter?

Yeah, it's more like a request "staging" ID. The "counter" aspect
requires two counters (one for each originator of the request). Two IDs
sent in the commitment message allow for simultaneous action on
accept/reject/etc, whereas only one would require a lock on
accepting/rejecting modifications.

Minor note which has the potential to be overlooked: It's a hard
requirement that all messages sent are in order, and if the replyer
skips the requester's Add Requests when replying, the skipped are
assumed to be request rejections (or an outright channel closeout) since
it should never happen -- this is to enforce accept/reject order, as we
need to know which modifications are included in the
signature/transaction and not have that change after-the-fact.

--
Joseph Poon
Author Public Key
npub1ej6vep7y2km5l6awukffelg8yeppkth2vjkjk9jypd5w336rxggs3p9cq8