<oembed><type>rich</type><version>1.0</version><title>René Pickhardt [ARCHIVE] wrote</title><author_name>René Pickhardt [ARCHIVE] (npub1zl…d2k4w)</author_name><author_url>https://yabu.me/npub1zlxd3xlzjhq2ue03e5m5p2w6mp8v3dkhq5r39flsftjjsje04wvsdd2k4w</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2019-03-29&#xA;📝 Original message:&#xA;Dear ZmnSCPxj and fellow lightning developers,&#xA;&#xA;I want to point out two things and make a suggestion for a new gossip&#xA;message.&#xA;&#xA;A good pruning heuristic is &#34;channel capacity&#34;, which can be checked&#xA;&gt; onchain (the value of the UTXO backing the channel is the channel capacity).&#xA;&gt; It is good to keep channels with large capacity in the routemap, because&#xA;&gt; such large channels are more likely to successfully route a payment than&#xA;&gt; smaller channels.&#xA;&gt; So it is reasonable to delete channels with low capacity when the routemap&#xA;&gt; memory is becoming close to full.&#xA;&gt;&#xA;&#xA;Intuitively (without simulation). I encourage to make that process not&#xA;deerministic but rather probabilistic. It would be good if everyone had a&#xA;different set of channels. (which is somewhat achieved with everyone&#xA;keeping their local view)&#xA;&#xA;Nodes still need to track their direct channels (so they are implicitly&#xA;&gt; always in the routemap).&#xA;&gt;&#xA;&#xA;I strongly advice that the local view should be extended. Every node should&#xA;always track their friends of a friend network. Maybe we could even create&#xA;a new gossip query message `query_ask_egonetwork` that asks for the&#xA;egonetwork of a node (the egonetwork are all the direct friends of a node&#xA;together with their friendships) every node knows at least the nodes in&#xA;their ego network and over time also the edges between them.&#xA;&#xA;If I was interested in my friend of a friend network I could just send the&#xA;`query_ask_egonetwork` message to all my peers.&#xA;&#xA;Best Rene&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;But payee nodes making BOLT1 invoices could also provide `r` routes in the&#xA;&gt; invoice, with the given routes being from nodes with high-capacity&#xA;&gt; channels, so that even if the intermediate channels are pruned due to low&#xA;&gt; capacity, it is possible to get paid.&#xA;&gt;&#xA;&gt; Regards,&#xA;&gt; ZmnSCPxj&#xA;&gt; _______________________________________________&#xA;&gt; Lightning-dev mailing list&#xA;&gt; Lightning-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20190329/33d0bd13/attachment-0001.html&gt;</html></oembed>