|
@ -1,8 +1,11 @@ |
|
|
#ifndef LIGHTNING_LIGHTNINGD_NOTIFICATION_H |
|
|
#ifndef LIGHTNING_LIGHTNINGD_NOTIFICATION_H |
|
|
#define LIGHTNING_LIGHTNINGD_NOTIFICATION_H |
|
|
#define LIGHTNING_LIGHTNINGD_NOTIFICATION_H |
|
|
#include "config.h" |
|
|
#include "config.h" |
|
|
|
|
|
#include <bitcoin/short_channel_id.h> |
|
|
|
|
|
#include <bitcoin/tx.h> |
|
|
#include <ccan/json_escape/json_escape.h> |
|
|
#include <ccan/json_escape/json_escape.h> |
|
|
#include <common/amount.h> |
|
|
#include <common/amount.h> |
|
|
|
|
|
#include <common/node_id.h> |
|
|
#include <lightningd/jsonrpc.h> |
|
|
#include <lightningd/jsonrpc.h> |
|
|
#include <lightningd/lightningd.h> |
|
|
#include <lightningd/lightningd.h> |
|
|
#include <lightningd/log.h> |
|
|
#include <lightningd/log.h> |
|
@ -19,4 +22,8 @@ void notify_warning(struct lightningd *ld, struct log_entry *l); |
|
|
void notify_invoice_payment(struct lightningd *ld, struct amount_msat amount, |
|
|
void notify_invoice_payment(struct lightningd *ld, struct amount_msat amount, |
|
|
struct preimage preimage, const struct json_escape *label); |
|
|
struct preimage preimage, const struct json_escape *label); |
|
|
|
|
|
|
|
|
|
|
|
void notify_channel_opened(struct lightningd *ld, struct node_id *node_id, |
|
|
|
|
|
struct amount_sat *funding_sat, struct bitcoin_txid *funding_txid, |
|
|
|
|
|
bool *funding_locked); |
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_NOTIFICATION_H */ |
|
|
#endif /* LIGHTNING_LIGHTNINGD_NOTIFICATION_H */ |
|
|