You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
534 B
18 lines
534 B
4 years ago
|
#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 */
|