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

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

📅 Original date posted:2016-02-08
📝 Original message:
On Tue, Feb 09, 2016 at 06:47:07AM +1030, Rusty Russell wrote:
> Eliminating all acknowledgements makes for a much simpler
> protocol.

For adding HTLCs, this may be an option, but there are some tradeoffs.
The downside of doing this is that it's uncertain whether the other
party has received the message. Essentially, the moment the packets are
sent over the wire, it should be assumed the other party can broadcast
(TCP SACKs cannot be relied upon, of course). To remove the HTLC
securely, it requires removing the HTLC, committing, and then the other
party revokes the prior commitment. If the ratio of success/failure is
high enough it can be worth it. This may have some disadvantages with
intermittently connected nodes, as requiring confirmation has a
significantly smaller time window for non-responsive payments. I'm
optimizing against payment failure on the ADD side, as failure may
require a re-route in the opposite direction to do a full cancel with a
non-responsive node in multi-hop payments (as an add request/accept
structure has lower time windows for going offline). However, I agree if
both nodes are well connected, then this is more optimal if latency is
the primary concern.

--
Joseph Poon
Author Public Key
npub1ej6vep7y2km5l6awukffelg8yeppkth2vjkjk9jypd5w336rxggs3p9cq8