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