mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
lightningd/notification: Add missing includes for 'forward_event'
And update test mocks
This commit is contained in:
parent
a85d3dc220
commit
cd91c06ce9
@ -4,13 +4,16 @@
|
|||||||
#include <bitcoin/short_channel_id.h>
|
#include <bitcoin/short_channel_id.h>
|
||||||
#include <bitcoin/tx.h>
|
#include <bitcoin/tx.h>
|
||||||
#include <ccan/json_escape/json_escape.h>
|
#include <ccan/json_escape/json_escape.h>
|
||||||
|
#include <ccan/time/time.h>
|
||||||
#include <common/amount.h>
|
#include <common/amount.h>
|
||||||
#include <common/node_id.h>
|
#include <common/node_id.h>
|
||||||
|
#include <lightningd/htlc_end.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>
|
||||||
#include <lightningd/plugin.h>
|
#include <lightningd/plugin.h>
|
||||||
#include <wallet/wallet.h>
|
#include <wallet/wallet.h>
|
||||||
|
#include <wire/gen_onion_wire.h>
|
||||||
|
|
||||||
bool notifications_have_topic(const char *topic);
|
bool notifications_have_topic(const char *topic);
|
||||||
|
|
||||||
|
@ -376,8 +376,13 @@ void notify_connect(struct lightningd *ld UNNEEDED, struct node_id *nodeid UNNEE
|
|||||||
void notify_disconnect(struct lightningd *ld UNNEEDED, struct node_id *nodeid UNNEEDED)
|
void notify_disconnect(struct lightningd *ld UNNEEDED, struct node_id *nodeid UNNEEDED)
|
||||||
{ fprintf(stderr, "notify_disconnect called!\n"); abort(); }
|
{ fprintf(stderr, "notify_disconnect called!\n"); abort(); }
|
||||||
/* Generated stub for notify_forward_event */
|
/* Generated stub for notify_forward_event */
|
||||||
void notify_forward_event(struct lightningd *ld UNNEEDED, const struct htlc_in *in UNNEEDED, const struct htlc_out *out UNNEEDED, enum forward_status state UNNEEDED, enum onion_type failcode UNNEEDED, struct timeabs *resolved_time UNNEEDED)
|
void notify_forward_event(struct lightningd *ld UNNEEDED,
|
||||||
{ fprintf(stderr, "notify_disconnect called!\n"); abort(); }
|
const struct htlc_in *in UNNEEDED,
|
||||||
|
const struct htlc_out *out UNNEEDED,
|
||||||
|
enum forward_status state UNNEEDED,
|
||||||
|
enum onion_type failcode UNNEEDED,
|
||||||
|
struct timeabs *resolved_time UNNEEDED)
|
||||||
|
{ fprintf(stderr, "notify_forward_event called!\n"); abort(); }
|
||||||
/* Generated stub for onchaind_funding_spent */
|
/* Generated stub for onchaind_funding_spent */
|
||||||
enum watch_result onchaind_funding_spent(struct channel *channel UNNEEDED,
|
enum watch_result onchaind_funding_spent(struct channel *channel UNNEEDED,
|
||||||
const struct bitcoin_tx *tx UNNEEDED,
|
const struct bitcoin_tx *tx UNNEEDED,
|
||||||
|
Loading…
Reference in New Issue
Block a user