<oembed><type>rich</type><version>1.0</version><title>Rusty Russell [ARCHIVE] wrote</title><author_name>Rusty Russell [ARCHIVE] (npub1zw…hkhpx)</author_name><author_url>https://yabu.me/npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2018-11-13&#xA;📝 Original message:&#xA;ZmnSCPxj via Lightning-dev &lt;lightning-dev at lists.linuxfoundation.org&gt; writes:&#xA;&gt; Good morning list,&#xA;&gt;&#xA;&gt; I propose the below to support Base AMP.&#xA;&#xA;I think the complexity outweighs the benefits for the moment.  The&#xA;sender would have to make the onions identical past the merge point (so&#xA;any one of them could be used), the merge point has to now create a&#xA;many:1 map for HTLC redemption.&#xA;&#xA;For the moment, I think we should stick with:&#xA;&#xA;BOLT #4:&#xA;1. type: `per_hop`&#xA;2. data:&#xA;   * [`8`:`short_channel_id`]&#xA;   * [`8`:`amt_to_forward`]&#xA;   * [`4`:`outgoing_cltv_value`]&#xA;-  * [`12`:`padding`]&#xA;+  * [`1`:`flags`]&#xA;+  * [`11`:`padding`]&#xA;&#xA;And define bit 0 of `flags` as `incomplete_payment`.  For the moment, it&#xA;is only allowed for final nodes, and only if they put it in their BOLT11&#xA;field.&#xA;&#xA;BOLT #11:&#xA;&#xA;   * `9` (5): `data_length` variable.  Features supported for receiving&#xA;     this payment.  Currently only `wait_on_incomplete` (bit 1) is defined.&#xA;&#xA;...&#xA;&#xA;-A writer SHOULD use the minimum `data_length` possible for `x` and `c` fields.&#xA;+A writer SHOULD use the minimum `data_length` possible for `x`, `c` and&#xA;`9` fields, omitting the field entirely if possible.&#xA;...&#xA;&#xA;A payer MUST ignore unknown odd bits are set in the `9` field, and&#xA;NOT try to make a payment if unknown even bits are set in the `9` field.&#xA;&#xA;Cheers,&#xA;Rusty.</html></oembed>