core-lightning/lightningd
Rusty Russell 62f531a1f2 lightningd: configvar style fixes
1) We can't simply cast away const to manipulate a string, the compiler can assume
   we don't.  The type must be made non-const.
2) cisspace() is nicer to use than isspace() (no cast required!)
3) Simply place a NUL terminator instead of using memmove to set it.
4) Use cast_const to add const to char **, where necessary.
5) Add Changelog line, for CHANGELOG.md

Changelog-Fixed: Config: whitespace at the end of (most) options is now ignored, not complained about.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-08-10 15:20:59 +09:30
..
test common/bolt12_id: new common routine for creating path secrets. 2024-08-01 12:31:48 +09:30
.gitignore
anchorspend.c lightningd: avoid crash from hsmd not signing anchor spend 2024-05-07 16:41:47 -05:00
anchorspend.h channeld: use anchors on peer's commitment(s) if we can't broadcast our own. 2023-10-27 11:19:56 +10:30
bitcoind.c lightningd: pass explicit context for bitcoind request functions. 2024-06-24 17:26:11 +09:30
bitcoind.h lightningd: pass explicit context for bitcoind request functions. 2024-06-24 17:26:11 +09:30
chaintopology.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
chaintopology.h chaintopology: free outstanding requests so we don't get responses while shutting down. 2024-06-24 17:26:11 +09:30
channel_control.c coin-moves: when a splice confirms, send a channel_closed event 2024-08-08 12:30:53 -07:00
channel_control.h common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
channel_gossip.c lightningd: store our id as a struct pubkey as well as struct node_id. 2024-07-23 09:54:47 +09:30
channel_gossip.h lightingd: corrections from Alex Myers's review. 2024-01-31 14:47:33 +10:30
channel_state.h dual-fund: add new open-commit-ready state 2023-11-02 19:32:05 +10:30
channel.c close: Do not publish unilateral when witnessing a close onchain 2024-07-29 17:08:33 +02:00
channel.h common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
closed_channel.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
closed_channel.h lightningd: add last_stable_connection field to db, channel. 2024-01-31 14:47:33 +10:30
closing_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
closing_control.h lightningd: pass signed tx through to close callback. 2023-08-02 07:09:28 +09:30
coin_mvts.c lightningd: store our id as a struct pubkey as well as struct node_id. 2024-07-23 09:54:47 +09:30
coin_mvts.h
configs.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
connect_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
connect_control.h lightningd: tell connectd about all scids. 2024-07-10 13:34:00 +02:00
datastore.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
dual_open_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
dual_open_control.h common: BOLT update: option_anchors_zero_fee_htlc_tx is now simply "option_anchors". 2024-06-19 15:54:24 +09:30
feerate.c lightnind: remove deprecated feerate names. 2024-03-25 15:02:35 +10:30
feerate.h
forwards.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
forwards.h lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
gossip_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
gossip_control.h lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
gossip_generation.c lightningd: store our id as a struct pubkey as well as struct node_id. 2024-07-23 09:54:47 +09:30
gossip_generation.h bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
hsm_control.c lightningd: use tweak on node_id of different key, for createinvoicerequest. 2024-08-01 12:31:48 +09:30
hsm_control.h hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
htlc_end.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
htlc_end.h
htlc_set.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
htlc_set.h
invoice.c common/bolt12_id: new common routine for creating path secrets. 2024-08-01 12:31:48 +09:30
invoice.h sendpays: hook into the wait subsystem. 2023-10-28 15:48:26 +10:30
io_loop_with_timers.c
io_loop_with_timers.h
jsonrpc.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
jsonrpc.h rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
lightningd.c Makefile: clean up install path handling. 2024-08-07 18:32:56 +02:00
lightningd.h Makefile: clean up install path handling. 2024-08-07 18:32:56 +02:00
log_status.c lightningd/log: clean up nomenclature. 2023-07-19 19:13:57 +09:30
log_status.h lightningd/log: clean up nomenclature. 2023-07-19 19:13:57 +09:30
log.c lightningd: trim whitespaces from end of config parameters 2024-08-10 15:20:59 +09:30
log.h logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
Makefile common/bolt12_id: new common routine for creating path secrets. 2024-08-01 12:31:48 +09:30
memdump.c lightningd: fix false positive in leak detection. 2024-08-04 11:47:54 +02:00
memdump.h
notification.c core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
notification.h core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
offer.c lightningd: make the caller set invreq_metadata and invreq_payer_id for createinvoicerequest. 2024-08-01 12:31:48 +09:30
onchain_control.c onchaind: Adjust the sweep target deadline for fee estimation 2024-08-09 09:08:06 +09:30
onchain_control.h
onion_message.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
onion_message.h
opening_common.c BOLT: update to include 2016 for max_htlc_cltv. 2024-05-09 16:14:23 -05:00
opening_common.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_control.c lightningd: don't create a second peer on stub recover if one already exists. 2024-08-04 10:48:36 +09:30
opening_control.h common: BOLT update: option_anchors_zero_fee_htlc_tx is now simply "option_anchors". 2024-06-19 15:54:24 +09:30
options.c lightningd: configvar style fixes 2024-08-10 15:20:59 +09:30
options.h lightningd: allow --recover to take a 64-char hex string. 2023-10-26 12:59:55 +10:30
pay.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
pay.h wallet: remove premature optimization when making payment. 2023-10-28 15:48:26 +10:30
peer_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
peer_control.h close: Do not publish unilateral when witnessing a close onchain 2024-07-29 17:08:33 +02:00
peer_fd.c
peer_fd.h
peer_htlcs.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
peer_htlcs.h lightningd: split up peer_htlcs a little, create forwards.c 2023-10-28 15:48:26 +10:30
ping.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
plugin_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
plugin_control.h
plugin_hook.c logging: move two noisy plugin_hook logging entries to TRACE 2024-05-08 21:05:49 -05:00
plugin_hook.h
plugin.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
plugin.h lightningd: allow plugins to specify cancheck for us to pass check commands through. 2024-05-06 20:51:19 -05:00
routehint.c global: fix up quotes which are now in the master branch. 2024-05-09 16:14:23 -05:00
routehint.h
runes.c wire: rename "offer_node_id" to "offer_issuer_id" to match latest BOLT. 2024-08-01 12:31:48 +09:30
runes.h runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
signmessage.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
subd.c pyln-testing: use DEBUG_LIGHTNINGD to start gdb on lightningd during test. 2024-03-20 11:18:36 +10:30
subd.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
wait.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
wait.h lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
watch.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
watch.h lightningd: make watch_txid more generic. 2023-10-02 11:41:19 +10:30