<oembed><type>rich</type><version>1.0</version><author_name>npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu</author_name><author_url>https://nostr.ae/npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2021-08-16&#xA;📝 Original message:&#xA;Dropped a number of replies to which the reply would otherwise be &#34;see above&#34;.&#xA;&#xA;On 8/16/21 00:00, Anthony Towns wrote:&#xA;&gt; On Sun, Aug 15, 2021 at 10:21:52PM -0400, Matt Corallo wrote:&#xA;&gt;&gt; On 8/15/21 22:02, Anthony Towns wrote:&#xA;&gt;&gt;&gt;&gt; In&#xA;&gt;&gt;&gt;&gt; one particular class of applicable routing algorithms you could use for&#xA;&gt;&gt;&gt;&gt; lightning routing having a base fee makes the algorithm intractably slow,&#xA;&gt;&gt;&gt; I don&#39;t think of that as the problem, but rather as the base fee having&#xA;&gt;&gt;&gt; a multiplicative effect as you split payments.&#xA;&gt;&gt; Yes, matching the real-world costs of forwarding an HTLC.&#xA;&gt; &#xA;&gt; Actually, no, not at all.&#xA;&gt; &#xA;&gt; The base+proportional fees paid only on success roughly match the *value*&#xA;&gt; of forwarding an HTLC, they don&#39;t match the costs particularly well&#xA;&gt; at all.&#xA;&gt; &#xA;&gt; Why not? Because the costs are incurred on failed HTLCs as well, and&#xA;&gt; also depend on the time a HTLC lasts, and also vary heavily depending&#xA;&gt; on how many other simultaneous HTLCs there are.&#xA;&#xA;Sure, indeed, there&#39;s some additional costs which are not covered by failed HTLCs, nor incorporate the time the HTLC &#xA;slot was used. But that wasn&#39;t my argument - my argument was that base + proportional is a much, much closer match for &#xA;the costs of a node barring clever-er solutions around HTLC-slot-time-used. Dropping base fee makes the whole situation &#xA;a good chunk *worse*.&#xA;&#xA;&gt;&gt; Yes. You have to pay the cost of a node. If we&#39;re really worried about this,&#xA;&gt;&gt; we should be talking about upfront fees and/or refunds on HTLC fulfillment,&#xA;&gt;&gt; not removing the fees entirely.&#xA;&gt; &#xA;&gt; (I don&#39;t believe either of those are the right approach, but based on&#xA;&gt; previous discussions, I don&#39;t think anyone&#39;s going to realise I&#39;m right&#xA;&gt; until I implement it and prove it, so *shrug*)&#xA;&#xA;I think I agree, but I think they may currently be better than any *other* proposal, not that they&#39;re particularly good.&#xA;&#xA;&gt;&gt; The cost to nodes is largely [...]&#xA;&gt; &#xA;&gt; The cost to nodes is almost entirely the opportunity cost of not being&#xA;&gt; able to accept other txs that would come in afterwards and would pay&#xA;&gt; higher fees.&#xA;&gt; &#xA;&gt; And all those costs can be captured equally well (or badly) by just&#xA;&gt; setting a proportional fee and a minimum payment value. I don&#39;t know why&#xA;&gt; you keep ignoring that point.&#xA;&#xA;I didn&#39;t ignore this, I just disagree, and I&#39;m not entirely sure why you&#39;re ignoring the points I made to that effect :).&#xA;&#xA;In all seriousness, I&#39;m entirely unsure why you think proportional is just as good? As you note, the cost for nodes is a &#xA;function of the opportunity cost of the capital, and opportunity cost of the HTLC slots. Lets say as a routing node I &#xA;decide that the opportunity cost of one of my HTLC slots is generally 1 sat per second, and the average HTLC is &#xA;fulfilled in one second. Why is it that a proportional fee captures this &#34;equally well&#34;?!&#xA;&#xA;Yes, you could amortize it, but that doesn&#39;t make it &#34;equally&#34; good, and there are semi-serious proposals to start &#xA;ignoring nodes that *dont* set their fees to some particular structure in routing decisions. Sure, nodes can do what &#xA;they want, but its kinda absurd to suggest that this is a perfectly fine thing to do absent a somewhat compelling &#xA;reason. This goes doubly because deploying such things significantly will mean we cannot do future protocol changes &#xA;which may better capture the time-value of node resources!&#xA;&#xA;&gt;&gt;&gt; Additionally, I don&#39;t think HTLC slot usage needs to be kept as a&#xA;&gt;&gt;&gt; limitation after we switch to eltoo;&#xA;&gt;&gt; The HTLC slot limit is to keep transactions broadcastable. I don&#39;t see why&#xA;&gt;&gt; this would change, you still get an output for each HTLC on the latest&#xA;&gt;&gt; commitment in eltoo, AFAIU.&#xA;&gt; &#xA;&gt; eltoo gives us the ability to have channel factories....&#xA;&#xA;That doesn&#39;t solve the issue at all - you still have a ton of transactions and transaction outputs and spends thereof to &#xA;put on the chain in the case of a closure with pending HTLCs. In fact, most nodes today enforce a lower limit than the &#xA;400-some-odd HTLCs that represent the transaction standardness limit, because 100KB transactions are stupid impractical.&#xA;&#xA;&gt; (By &#34;any time soon&#34; I mean, I could see software defaults changing if&#xA;&gt; over 50% of the network deliberately switched to zero base fees and found&#xA;&gt; it worked fine; and I could see deprecating non-zero fees if that ended&#xA;&gt; up with 90% of the network on zero base fees, no good reasons for node&#xA;&gt; operators wanting to stick with running non-zero base fees, and the&#xA;&gt; experimental algos that relied on zero base fees being significantly&#xA;&gt; easier to maintain or faster/better)&#xA;&#xA;What is your definition of &#34;works fine&#34; here? In today&#39;s nearly-entirely-altruistic-routing-node network, we could &#xA;probably entirely drop the routing fees and things would &#34;work fine&#34;. That doesn&#39;t make it a good idea for the long-term &#xA;health of the network.&#xA;&#xA;My suggestion is quite simple - that the software vendors wishing to rely on these types of algorithms *first* do the &#xA;legwork to see what other ideas can be explored before jumping to &#34;ignore all the nodes who&#39;ve decided their fees are &#xA;X&#34;, because I think *that* is pretty bad idea for the long-term health of the network. I even suggested several areas of &#xA;future research for folks to look into before we get to the point of in any way seriously relying on routing algorithms &#xA;that constrain our ability to adapt fees in the future.&#xA;&#xA;Matt</html></oembed>