plugin:added invoice creation event

New invoice_creation event triggered when an new invoice is created

Changelog-Added: plugin: New invoice_creation plugin event
This commit is contained in:
rbndg
2020-04-21 11:04:01 +10:00
committed by Christian Decker
parent 84ef0cf7fa
commit 241fa00e97
7 changed files with 85 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ void notify_warning(struct lightningd *ld, struct log_entry *l);
void notify_invoice_payment(struct lightningd *ld, struct amount_msat amount,
struct preimage preimage, const struct json_escape *label);
void notify_invoice_creation(struct lightningd *ld, struct amount_msat *amount,
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);