{"type":"rich","version":"1.0","author_name":"npub1zlxd3xlzjhq2ue03e5m5p2w6mp8v3dkhq5r39flsftjjsje04wvsdd2k4w","author_url":"https://nostr.ae/npub1zlxd3xlzjhq2ue03e5m5p2w6mp8v3dkhq5r39flsftjjsje04wvsdd2k4w","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2022-09-22\n📝 Original message:\nGood morning fellow Lightning Developers,\n\nI am pleased to share my most recent research results [1] with you. They\nmay (if at all) only have a small impact on protocol development /\nspecification but are actually mainly of concern to node operators and\nLSPs. I still thought they may be relevant for the list.\n\nWhile trying to estimate the expected liquidity distribution in depleted\nchannels due to drain via Markov Models I realized that we can exploit the\n`htlc_maxium_msat` setting to act as a control valve and regulate the\n\"pressure\" coming from the drain and mitigate the depletion of channels.\nSuch ideas are btw not novel at all and heavily used in fluid networks [2].\nThus it seems very natural that we do the same on the Lightning Network.\n\nIn the article we show within a theoretic model how expected payment\nfailure rates per channel may drop significantly by up to an order of\nmagnitude if channels set up proper asymmetric `htlc_maximum_msat` pairs.\n\nWe furthermore provide in our iPython notebook [3] two experimental\nalgorithmic ideas with which node operators can find decent\n`htlc_maximum_msat` values in a greedy fashion. One of the algorithms does\nnot even require to know the drain or payment size distribution or build\nthe Markov model but just looks at the liquidity distribution in the\nchannel at the last x routing attempts and adjusts the `htlc_maximum_msat`\nvalue if the distribution is to far away from a uniform distribution.\n\nLooking forwards for your thoughts and feedback.\n\nwith kind regards Rene\n\n\n[1]:\nhttps://blog.bitmex.com/the-power-of-htlc_maximum_msat-as-a-control-valve-for-better-flow-control-improved-reliability-and-lower-expected-payment-failure-rates-on-the-lightning-network/\n[2]: https://en.wikipedia.org/wiki/Control_valve\n[3]:\nhttps://github.com/lnresearch/Flow-Control-on-Lightning-Network-Channels-with-Drain-via-Control-Valves/blob/main/htlc_maximum_msat%20as%20a%20valve%20for%20flow%20control%20on%20the%20Lightnig%20network.ipynb\n\n-- \nhttps://ln.rene-pickhardt.de\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220922/a895d1a1/attachment.html\u003e"}
