mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
f315f1c63f
For inclusion in the onion as a reply path. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
18 lines
534 B
C
18 lines
534 B
C
#ifndef LIGHTNING_COMMON_BLINDEDPATH_H
|
|
#define LIGHTNING_COMMON_BLINDEDPATH_H
|
|
#include "config.h"
|
|
#include <ccan/tal/tal.h>
|
|
|
|
#if EXPERIMENTAL_FEATURES
|
|
struct route_info;
|
|
struct pubkey;
|
|
|
|
/* Fills in *initial_blinding and *final_blinding and returns
|
|
* onionmsg_path array for this route */
|
|
struct onionmsg_path **make_blindedpath(const tal_t *ctx,
|
|
const struct pubkey *route,
|
|
struct pubkey *initial_blinding,
|
|
struct pubkey *final_blinding);
|
|
#endif /* EXPERIMENTAL_FEATURES */
|
|
#endif /* LIGHTNING_COMMON_BLINDEDPATH_H */
|