core-lightning/plugins/renepay/routefail.h
Lagrang3 7584629696 renepay: add routefail.c
Routefail consist mainly of an API `routefail_start` that handles the
failure of a forwarding request (encoded in a route). Internally there
is a routefail datastructure that goes through a series of execution
steps, eg. updating the gossmap, updating the uncertainty network, etc.
2024-05-08 22:32:13 -05:00

12 lines
387 B
C

#ifndef LIGHTNING_PLUGINS_RENEPAY_ROUTEFAIL_H
#define LIGHTNING_PLUGINS_RENEPAY_ROUTEFAIL_H
/* This module provides the state machine for handling route failures. */
#include "config.h"
#include <plugins/renepay/route.h>
struct command_result *routefail_start(const tal_t *ctx, struct route *route,
struct command *cmd);
#endif /* LIGHTNING_PLUGINS_RENEPAY_ROUTEFAIL_H */