gossmap: move gossmap_guess_node_id to pay plugin.

This removes a point32 dependency.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-10-17 11:07:05 +10:30
parent 7745513c51
commit 82d98e4b96
8 changed files with 104 additions and 148 deletions

12
plugins/pay_point32.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef LIGHTNING_PLUGINS_PAY_POINT32_H
#define LIGHTNING_PLUGINS_PAY_POINT32_H
struct gossmap;
struct point32;
struct node_id;
void gossmap_guess_node_id(const struct gossmap *map,
const struct point32 *point32,
struct node_id *id);
#endif /* LIGHTNING_PLUGINS_PAY_POINT32_H */