What is Nostr?
Joseph Poon [ARCHIVE] /
npub1ej6ā€¦9cq8
2023-06-09 12:46:05
in reply to nevent1qā€¦420h

Joseph Poon [ARCHIVE] on Nostr: šŸ“… Original date posted:2016-04-01 šŸ“ Original message: On Fri, Apr 01, 2016 at ...

šŸ“… Original date posted:2016-04-01
šŸ“ Original message:
On Fri, Apr 01, 2016 at 03:32:15PM +0200, Pierre wrote:
> Also @lnd guys: what's the thing with odd/even htlc ids? Is it just so
> that we can use the same keyspace for incoming/outgoing htlcs and
> quickly tell the direction of a given htlc, or is there something
> else?

Hi Pierre,

I've actually been going back and forth on HTLC IDs lately, and am
actually currently working on a cleaner solution -- I think you might
like it (provided it works out). The thinking was so that one is able to
uniquely identify HTLCs at a later time by having unique ID upon
creation (direction should be contextually understood by the
positive/negative amount). The ID doesn't really need to be in the final
wire protocol, it's more helpful for debugging than anything.

--
Joseph Poon
Author Public Key
npub1ej6vep7y2km5l6awukffelg8yeppkth2vjkjk9jypd5w336rxggs3p9cq8