Rusty Russell
7bebfe265c
pay: remove route when a payment fails partway.
It's a bit harsh, but I'm assuming they'll get refreshed eventually.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Rusty Russell
830a65de46
daemon: --add-route option.
This allows hardcoded routes in the config file, which is required until
we get route advertisements.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago
Rusty Russell
87da9634bc
routing: use ids, not nodes in interface.
Turns out to be more convenient.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago
Rusty Russell
26a03acfd0
daemon: routing infrastructure.
Simple routing topology, and ability to ask about the cheapest route.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago