mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
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>
This commit is contained in:
@@ -51,6 +51,9 @@ struct node_connection *add_connection(struct lightningd_state *dstate,
|
||||
u32 base_fee, s32 proportional_fee,
|
||||
u32 delay, u32 min_blocks);
|
||||
|
||||
void remove_connection(struct lightningd_state *dstate,
|
||||
const struct pubkey *src, const struct pubkey *dst);
|
||||
|
||||
struct peer *find_route(struct lightningd_state *dstate,
|
||||
const struct pubkey *to,
|
||||
u64 msatoshi, s64 *fee,
|
||||
|
||||
Reference in New Issue
Block a user