mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
9d57612415
The previous onion_message code required a confirmed, not-shutting-down channel, not just a connection. That's overkill; plus before widespread adoption we will want to connect directly as a last resort. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
358 B
C
12 lines
358 B
C
#ifndef LIGHTNING_LIGHTNINGD_ONION_MESSAGE_H
|
|
#define LIGHTNING_LIGHTNINGD_ONION_MESSAGE_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
struct lightningd;
|
|
|
|
void handle_onionmsg_to_us(struct lightningd *ld, const u8 *msg);
|
|
void handle_onionmsg_forward(struct lightningd *ld, const u8 *msg);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_ONION_MESSAGE_H */
|