core-lightning/lightningd/test
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
..
Makefile daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
run-find_my_abspath.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
run-invoice-select-inchan.c lightningd: fix/refactor select_inchan for invoice route-hint, use fractional excess as weight 2019-04-16 21:22:13 +00:00
run-jsonrpc.c lightningd: don't bother pretty-printing JSON. 2019-04-09 12:37:16 -07:00