mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 00:24:28 +01:00
cleanup: remove unneeded includes in header files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
#ifndef LIGHTNING_CHANNELD_CHANNELD_HTLC_H
|
||||
#define LIGHTNING_CHANNELD_CHANNELD_HTLC_H
|
||||
#include "config.h"
|
||||
#include <bitcoin/locktime.h>
|
||||
#include <ccan/short_types/short_types.h>
|
||||
#include <common/amount.h>
|
||||
#include <ccan/crypto/siphash24/siphash24.h>
|
||||
#include <common/htlc.h>
|
||||
#include <common/pseudorand.h>
|
||||
#include <wire/onion_wire.h>
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
#ifndef LIGHTNING_CHANNELD_COMMIT_TX_H
|
||||
#define LIGHTNING_CHANNELD_COMMIT_TX_H
|
||||
#include "config.h"
|
||||
#include <bitcoin/chainparams.h>
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <channeld/channeld_htlc.h>
|
||||
#include <common/htlc.h>
|
||||
#include <common/initial_commit_tx.h>
|
||||
|
||||
struct keyset;
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <ccan/tal/str/str.h>
|
||||
#include <channeld/commit_tx.h>
|
||||
#include <channeld/full_channel.h>
|
||||
#include <channeld/full_channel_error.h>
|
||||
#include <common/blockheight_states.h>
|
||||
#include <common/channel_config.h>
|
||||
#include <common/features.h>
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
#ifndef LIGHTNING_CHANNELD_WATCHTOWER_H
|
||||
#define LIGHTNING_CHANNELD_WATCHTOWER_H
|
||||
#include "config.h"
|
||||
#include <ccan/short_types/short_types.h>
|
||||
#include <ccan/tal/tal.h>
|
||||
#include <common/derive_basepoints.h>
|
||||
#include <common/initial_channel.h>
|
||||
|
||||
const struct bitcoin_tx *
|
||||
|
||||
Reference in New Issue
Block a user