cln/common/scb_wire.csv
Rusty Russell f6a4e79420 global: remove unnecessary includes from headers.
Each header should only include the other headers it needs to compile;
`devtools/reduce-includes.sh */*.h` does this.  The C files then need
additional includes if they don't compile.

And remove the entirely useless wire/onion_wire.h, which only serves to include wire/onion_wiregen.h.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-10-23 06:44:04 +10:30

2 KiB

1#include <bitcoin/tx.h>
2#include <ccan/crypto/shachain/shachain.h>
3#include <common/amount.h>
4#include <common/channel_id.h>
5#include <common/channel_type.h>
6#include <common/derive_basepoints.h>
7#include <common/htlc_wire.h>
8#include <common/node_id.h>
9#include <common/wireaddr.h>
10#include <common/utils.h>
11# legacy_scb_chan stores min. info required to sweep the peer's force close.