core-lightning/lightningd
Rusty Russell 00a0d09340 tools/check-includes.sh: test that c files include their .h files.
This is best-practice (to ensure prototypes match up), but there were a
few places we didn't (at least, directly).  Make it a requirement,
either of form "foo.h" or <dir/foo.h>.

The noise is the change to our print templates.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-17 09:43:22 +09:30
..
test lightningd/closing_control.c: move json_close here from peer_control.c 2021-09-15 18:23:30 +02:00
.gitignore dualopend: new dualopend daemon, containing most of accepter side 2020-09-09 19:54:20 +09:30
bitcoind.c lightningd: don't complain about unable to estimate fees if not mainnet. 2021-07-09 07:26:09 +09:30
bitcoind.h lightningd: disable topology timers on shutdown. 2021-09-05 15:16:56 +02:00
chaintopology.c lightningd/chaintopology: stop callbacks rearming once topology stopped. 2021-09-08 19:11:47 +02:00
chaintopology.h lightningd/chaintopology: stop callbacks rearming once topology stopped. 2021-09-08 19:11:47 +02:00
channel_control.c lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
channel_control.h channeld: add a message to read if we only want to reestablish. 2021-06-25 13:23:28 +09:30
channel_state.h channel-state: add two new states, for dualopend 2021-01-10 13:44:04 +01:00
channel.c lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
channel.h lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
closing_control.c closingd: add notifications for feerate ranges. 2021-09-15 18:23:30 +02:00
closing_control.h lightningd/closing_control.c: move json_close here from peer_control.c 2021-09-15 18:23:30 +02:00
coin_mvts.c channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
coin_mvts.h coins: re-write API interface for htlc notices 2020-05-12 15:46:58 +09:30
connect_control.c cleanup: rename use_proxy_always to always_use_proxy to match cfg 2021-08-23 14:43:40 +09:30
connect_control.h lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
datastore.c datastore: turn keys into arrays 2021-08-25 10:06:31 +02:00
dual_open_control.c dual-fund psbt: hoist up single use method so we can test it 2021-09-05 14:24:14 +02:00
dual_open_control.h openingd/dualopend: remove send_msg functionality. 2021-06-03 16:16:34 +09:30
gossip_control.c channel leases: pass expected lease rates around in compat form 2021-07-20 13:28:38 -04:00
gossip_control.h gossipd: get fed the blockheight from lightningd when we know it. 2019-09-25 04:01:56 +00:00
gossip_msg.c lease_rates: parse them out of node_announcements 2021-07-20 13:28:38 -04:00
gossip_msg.h lease_rates: parse them out of node_announcements 2021-07-20 13:28:38 -04:00
hsm_control.c hsmd: cleanup encrypted hsm_secret detection 2021-01-06 13:50:01 +01:00
hsm_control.h hsm: decouple hsm from wallet; init before wallet 2020-06-11 13:13:13 +02:00
htlc_end.c lightning: Add status field to htlc_in 2021-06-05 17:47:32 +09:30
htlc_end.h htlc: Keep the parsed TLV payload around with the htlc_in 2021-06-26 10:55:13 +09:30
htlc_set.c lightningd: insist on payment_secret if bit compulsory on invoices. 2021-07-14 14:38:00 -05:00
htlc_set.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
invoice.c Makefile: update spec version 2021-09-09 12:04:48 +09:30
invoice.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
io_loop_with_timers.c tools/check-includes.sh: test that c files include their .h files. 2021-09-17 09:43:22 +09:30
io_loop_with_timers.h lightningd/io_loop_with_timers.c: Move mainloop to its own source file, have chaintopology use it. 2019-05-31 17:57:10 +02:00
json.c tools/check-includes.sh: test that c files include their .h files. 2021-09-17 09:43:22 +09:30
json.h common: hoist param_bitcoin_address where plugins can use it. 2020-08-11 08:39:24 +09:30
jsonrpc.c Added deprecated phase to rpc framework rules changes. 2021-08-30 12:10:37 +09:30
jsonrpc.h lightningd: infrastructure for internal notifications. 2020-10-23 13:53:16 +10:30
lightningd.c close: spec is final, it's not experimental. 2021-09-09 12:04:48 +09:30
lightningd.h close: spec is final, it's not experimental. 2021-09-09 12:04:48 +09:30
log_status.c common: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
log_status.h lightningd: have logging include an optional node_id for each entry. 2019-11-18 04:50:22 +00:00
log.c lightningd: implement --log-timestamps=false. 2021-05-05 17:19:19 -05:00
log.h lightningd: use a simple array for less memory usage. 2019-11-18 04:50:22 +00:00
Makefile lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
memdump.c common/memleak: hoist strmap helper from out of lightningd/memdump.c 2021-09-08 19:11:47 +02:00
memdump.h common/memleak: hoist strmap helper from out of lightningd/memdump.c 2021-09-08 19:11:47 +02:00
notification.c plugin: register shutdown instead of plugin_shutdown in notifications list 2021-09-10 07:10:05 +09:30
notification.h lightningd: call "shutdown" notification on plugins at shutdown. 2021-09-05 15:16:56 +02:00
offer.c offer / offerout: return existing if its still active. 2021-07-21 13:27:27 -04:00
onchain_control.c lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
onchain_control.h closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
onion_message.c lightningd: don't assume zero-length tlv fields will be NULL. 2021-07-21 13:27:27 -04:00
onion_message.h gossipd, channeld: handle onion messages in gossipd so we don't need a channel. 2021-01-09 14:34:35 +10:30
opening_common.c dualopend: remove runtime memleak in favor of at-termination. 2021-08-05 12:53:38 -05:00
opening_common.h openingd: tell lightningd what channel type we negotiated. 2021-09-13 15:53:23 +02:00
opening_control.c openingd: tell lightningd what channel type we negotiated. 2021-09-13 15:53:23 +02:00
opening_control.h openingd/dualopend: remove send_msg functionality. 2021-06-03 16:16:34 +09:30
options.c lightningd: print out support for channel_types in --list-features. 2021-09-13 15:53:23 +02:00
options.h common: parse --allow-deprecated-apis extremely early. 2019-11-23 22:42:34 +00:00
pay.c gossipd: remove routing, listchannels and listnodes infrastructure. 2021-06-16 10:29:17 +09:30
pay.h lightningd: don't report spurious temporary_node_failure on local failures. 2020-05-04 18:56:33 +09:30
peer_control.c lightningd/closing_control.c: move json_close here from peer_control.c 2021-09-15 18:23:30 +02:00
peer_control.h lightningd/closing_control.c: move json_close here from peer_control.c 2021-09-15 18:23:30 +02:00
peer_htlcs.c lightningd: use channel_type, pass to-and-from channeld. 2021-09-13 15:53:23 +02:00
peer_htlcs.h lightningd: separate fee_states out of struct channel_info. 2020-09-23 15:51:13 +09:30
ping.c gossipd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
ping.h
plugin_control.c lightningd: call shutdown plugin when we dynamic shutdown a single one. 2021-09-05 15:16:56 +02:00
plugin_control.h plugins: add command field to subcommand output. 2021-06-25 09:49:33 +09:30
plugin_hook.c plugin: Add debug log entries when calling and returning from hooks 2021-06-05 17:47:32 +09:30
plugin_hook.h plugin: Add the plugin we're serializing for in the serializer 2021-06-05 17:47:32 +09:30
plugin.c lightningd: call "shutdown" notification on plugins at shutdown. 2021-09-05 15:16:56 +02:00
plugin.h lightningd: call "shutdown" notification on plugins at shutdown. 2021-09-05 15:16:56 +02:00
routehint.c invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
routehint.h invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
signmessage.c signmessage: use listnodes instead of gossipd_getnodes_request. 2021-06-16 10:29:17 +09:30
subd.c lightningd: don't send other messages until we've received version. 2021-04-24 13:56:58 +09:30
subd.h lightningd: don't send other messages until we've received version. 2021-04-24 13:56:58 +09:30
watch.c wallet: remove edgecase around transaction checks 2020-01-02 16:56:42 +01:00
watch.h lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00