mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
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.
12 lines
387 B
C
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 */
|