mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
630ec6a566
This turns out to be critical for users: also stops them from bothering us when their node is offline or has insufficient capacity! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
507 B
C
17 lines
507 B
C
#ifndef LIGHTNING_PLUGINS_ASKRENE_EXPLAIN_FAILURE_H
|
|
#define LIGHTNING_PLUGINS_ASKRENE_EXPLAIN_FAILURE_H
|
|
#include "config.h"
|
|
#include <common/amount.h>
|
|
|
|
struct route_query;
|
|
struct gossmap_node;
|
|
|
|
/* When MCF returns nothing, try to explain why */
|
|
const char *explain_failure(const tal_t *ctx,
|
|
const struct route_query *rq,
|
|
const struct gossmap_node *srcnode,
|
|
const struct gossmap_node *dstnode,
|
|
struct amount_msat amount);
|
|
|
|
#endif /* LIGHTNING_PLUGINS_ASKRENE_EXPLAIN_FAILURE_H */
|