mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 17:44:47 +01:00
726b6878d1
In particular, this changes the name of a field in invoice_request: `payer_signature` becomes simply `signature`. So we allow both for now, and send the old one unless deprecated_apis is disabled. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
517 B
C
14 lines
517 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;
|
|
|
|
/* We got an onionmessage with an invreq! */
|
|
struct command_result *handle_invoice_request(struct command *cmd,
|
|
const u8 *invreqbin,
|
|
struct tlv_onionmsg_payload_reply_path *reply_path STEALS,
|
|
struct tlv_obs2_onionmsg_payload_reply_path *obs2_reply_path STEALS);
|
|
#endif /* LIGHTNING_PLUGINS_OFFERS_INVREQ_HOOK_H */
|