Files
lightning/lightningd
Simon Vrouwe c053dc9a6a lightningd: fix/refactor select_inchan for invoice route-hint, use fractional excess as weight
Refactored the weighted-reservoir-sampling algo to make it more straightforward.
It now uses the excess as fraction of capacity as weight. This favors channels that
are more _relatively_ unbalanced to be used for incoming payment.

Now passes test_invoice_routeboost_private() when using max fundamount=16777215.
2019-04-16 21:22:13 +00:00
..
2017-10-20 18:31:32 +02:00
2019-01-29 04:50:01 +00:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-08 04:41:43 +00:00
2019-04-08 04:41:43 +00:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00