mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
common/blindedpath: EXPERIMENTAL creation of blinded paths.
For inclusion in the onion as a reply path. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
17
common/blindedpath.h
Normal file
17
common/blindedpath.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user