Files
lightning/lightningd
Rusty Russell ab31f40aa2 gossipd: don't charge ourselves fees when calculating route.
This means there's now a semantic difference between the default `fromid`
and setting `fromid` explicitly to our own node_id.  In the default case,
it means we don't charge ourselves fees on the route.

This means we can spend the full channel balance.

We still want to consider the pricing of local channels, however:
there's a *reason* to discount one over another, and that is to bias
things.  So we add the first-hop fee to the *risk* value instead.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-11 23:19:11 +00:00
..
2017-10-20 18:31:32 +02:00
2019-01-29 04:50:01 +00:00
2019-05-31 18:36:38 +02:00
2019-05-31 18:36:38 +02:00
2019-06-07 01:23:51 +00:00
2019-06-07 01:23:51 +00:00
2019-05-31 18:36:38 +02:00