mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-13 12:32:55 +02:00
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>
2 KiB
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. |