mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
c2c9f45dac
It's just to a direct peer, and we only create one, but this is enough to test, and make payments to non-public nodes work. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
508 B
C
16 lines
508 B
C
#ifndef LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H
|
|
#define LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H
|
|
#include "config.h"
|
|
#include <plugins/libplugin.h>
|
|
|
|
extern u16 cltv_final;
|
|
extern u32 blockheight;
|
|
extern struct secret invoicesecret_base;
|
|
extern struct pubkey id;
|
|
|
|
/* We got an onionmessage with an invreq! */
|
|
struct command_result *handle_invoice_request(struct command *cmd,
|
|
const u8 *invreqbin,
|
|
struct blinded_path *reply_path STEALS);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H */
|