-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
As described on the mailing list, we'd like to use an experimental TLV (endorsed / 65555) in update_add_htlc to "dry-run" propagation of HTLC endorsement. This would be an incredibly valuable way to validate that "steady-state" payment flows are unaffected by the addition of endorsement/reputation and observe the proposed reputation algorithm's behavior in the wild.
Part 1: Passive Relay of Endorsement Field
The first step will be to get the experimental field relayed within the network (on an opt-in or opt-out basis):
- If LND receives TLV
65555on the incomingupdate_add_htlc:- Set the outgoing
update_add_htlc's TLV65555to the value on the incoming link.
- Set the outgoing
- Otherwise:
- Set the outgoing
update_add_htlc's TLV65555to[]byte.
- Set the outgoing
Endorsement is a chain of signals which is completely lost if even a single node along the route does not set it. Updating nodes to relay the TLV would be incredibly valuable, as that preserves the chain of signals and allows a very small subset of experimenting nodes to use this value.
Part 2: Active Experimentation
Participants that volunteer to participate in the experiment will start to set these values:
- Senders: set
endorsed=1for some portion of their payments. - Forwarders: set outgoing
endorsedto0or1on the outgoingupdate_add_htlc(based on the current spec's instructions) -> requires [feature]: Add Outgoing Custom TLVs to HTLC Interceptor #7841.