> On Sep 1, 2021, at 00:07, ZmnSCPxj <zmnsc...@protonmail.com> wrote:
> 
> Good morning Matt and all,
> 
>> Please be careful accepting the faulty premise that the proposed algorithm 
>> is “optimal”. It is optimal under a specific heuristic used to approximate 
>> what the user wants. In reality, there are a ton of different things to 
>> balance, from CLTV to feed to estimated failure probability calculated from 
>> node online percentages at-open liquidity, and even fees.
> 
> It may be possible to translate all these "things to balance" to a single 
> unit, the millisatoshi.

Indeed, in practice this is what we all do today. My point is less that you 
cannot create a single unit out of all the various things you consider and more 
that doing so involves some heuristics on the part of the application 
developer. There is no “correct” or “optimal” answer to how to do this, only 
various designs different folks have. How you balance competing costs may lead 
to different score units (eg instead of msat, probability of success) and 
that’s fine, neither is provably better than the other.

Matt
_______________________________________________
Lightning-dev mailing list
Lightning-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev

Reply via email to