mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES
This avoids overwriting the ones in git, and generally makes things neater. We have convenience headers wire/peer_wire.h and wire/onion_wire.h to avoid most #ifdefs: simply include those. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <lightningd/opening_control.h>
|
||||
#include <lightningd/peer_control.h>
|
||||
#include <lightningd/subd.h>
|
||||
#include <wire/peer_wiregen.h>
|
||||
#include <wire/peer_wire.h>
|
||||
#include <wire/wire_sync.h>
|
||||
|
||||
struct connect {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <lightningd/ping.h>
|
||||
#include <sodium/randombytes.h>
|
||||
#include <string.h>
|
||||
#include <wire/peer_wiregen.h>
|
||||
#include <wire/peer_wire.h>
|
||||
#include <wire/wire_sync.h>
|
||||
|
||||
static void got_txout(struct bitcoind *bitcoind,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <common/amount.h>
|
||||
#include <common/htlc_state.h>
|
||||
#include <common/sphinx.h>
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
|
||||
/* We look up HTLCs by channel & id */
|
||||
struct htlc_key {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <common/amount.h>
|
||||
#include <common/pseudorand.h>
|
||||
#include <common/utils.h>
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
|
||||
struct htlc_in;
|
||||
struct lightningd;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef LIGHTNING_LIGHTNINGD_INVOICE_H
|
||||
#define LIGHTNING_LIGHTNINGD_INVOICE_H
|
||||
#include "config.h"
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
|
||||
struct amount_msat;
|
||||
struct htlc_set;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <lightningd/pay.h>
|
||||
#include <lightningd/plugin.h>
|
||||
#include <wallet/wallet.h>
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
|
||||
struct onionreply;
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <unistd.h>
|
||||
#include <wally_bip32.h>
|
||||
#include <wire/common_wiregen.h>
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
#include <wire/wire_sync.h>
|
||||
|
||||
struct close_command {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <lightningd/subd.h>
|
||||
#include <onchaind/onchaind_wiregen.h>
|
||||
#include <wallet/wallet.h>
|
||||
#include <wire/onion_wiregen.h>
|
||||
#include <wire/onion_wire.h>
|
||||
#include <wire/wire_sync.h>
|
||||
|
||||
#ifndef SUPERVERBOSE
|
||||
|
||||
Reference in New Issue
Block a user