core-lightning/lightningd
Rusty Russell ee00f84fed JSON: don't return a raw result string for "stop" and "recover".
In general, results should always be an object, so we can add new fields
later (e.g. warnings!).  But we violated this for "stop", and when "recover"
used the same infrastructure, it started doing the same thing.

I'm assuming nobody cares, so we don't need to do a deprecation cycle.

Changelog-Changed: JSON-RPC: `stop` and `recover` now return a JSON object (not a raw string!) like every other command does.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-03-19 14:58:59 +10:30
..
test channeld: notify lightningd once we've exchanged reestablish messages. 2024-01-31 14:47:33 +10:30
.gitignore
anchorspend.c lightningd: rewrite anchor spend to use multiple UTXOs if needed. 2023-11-01 14:11:28 +10:30
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 script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
bitcoind.h lightningd: add context arg to bitcoind_sendrawtx() 2023-10-24 15:07:08 +10:30
chaintopology.c tx: remove allocating script fetchers 2024-03-18 12:24:49 +10:30
chaintopology.h lightningd: call finished callback *every* time we re-xmit a transaction. 2023-10-24 15:07:08 +10:30
channel_control.c fixup! lightningd: Add tx_abort routine to lightningd 2024-02-11 10:46:23 +01:00
channel_control.h lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
channel_gossip.c lightnignd: Fix another assert crash. 2024-02-16 14:07:22 +01:00
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 lightningd: set last_stable_connection 1 minute after channel reestablished. 2024-01-31 14:47:33 +10:30
channel.h lightningd: set last_stable_connection 1 minute after channel reestablished. 2024-01-31 14:47:33 +10:30
closed_channel.c lightningd: expose last_stable_connection in RPC. 2024-01-31 14:47:33 +10:30
closed_channel.h lightningd: add last_stable_connection field to db, channel. 2024-01-31 14:47:33 +10:30
closing_control.c tx: remove allocating script fetchers 2024-03-18 12:24:49 +10:30
closing_control.h lightningd: pass signed tx through to close callback. 2023-08-02 07:09:28 +09:30
coin_mvts.c coin_mvt: use the lightning_hrp for *all* coin movement currency 2023-12-05 20:30:09 -06:00
coin_mvts.h
configs.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
connect_control.c Add no-reconnect-private option to disable automatic reconnect-attempts 2024-02-13 17:50:00 +01:00
connect_control.h lightningd: stop all subds when we want to disconnect. 2023-10-23 15:48:50 +10:30
datastore.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
dual_open_control.c wallet: remove output_is_p2sh from wallet_can_spend 2024-03-18 12:24:49 +10:30
dual_open_control.h lightningd: simplify funding_depth_cb now it only handles main funding tx. 2023-10-02 11:41:19 +10:30
feerate.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
feerate.h lightningd: clean up feerate handling, deprecate old terms. 2023-04-10 07:31:12 +09:30
forwards.c lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
forwards.h lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
gossip_control.c gossipd: don't validate UTXOs on our own channels. 2024-02-04 09:24:44 +10: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: don't generate node_announcements with identical timestamps. 2024-01-31 14:47:33 +10:30
gossip_generation.h lightningd: don't generate node_announcements with identical timestamps. 2024-01-31 14:47:33 +10:30
hsm_control.c hsmd: remove deprecated init v2 2024-02-27 14:04:44 +01:00
hsm_control.h hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
htlc_end.c lightningd: don't crash if peer manages to spend onchain HTLC after we've abandoned upstream. 2023-07-28 10:18:32 +09:30
htlc_end.h channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10:30
htlc_set.c lightningd: split up peer_htlcs a little, create forwards.c 2023-10-28 15:48:26 +10:30
htlc_set.h
invoice.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
invoice.h sendpays: hook into the wait subsystem. 2023-10-28 15:48:26 +10:30
io_loop_with_timers.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
io_loop_with_timers.h
jsonrpc.c JSON: don't return a raw result string for "stop" and "recover". 2024-03-19 14:58:59 +10:30
jsonrpc.h plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
lightningd.c lightningd: add --dev-allow-shutdown-destination-change to unstick existing nodes. 2024-02-16 15:02:38 +01:00
lightningd.h lightningd: add --dev-allow-shutdown-destination-change to unstick existing nodes. 2024-02-16 15:02:38 +01: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 common: make json_add_timeabs full precision & renamed json_add_time 2023-09-21 13:31:34 +09:30
log.h lightningd: have opt_log_level take the log_book. 2023-07-19 19:13:57 +09:30
Makefile lightningd/channel_gossip: new file for handing and generating gossip for our channels. 2024-01-31 14:47:33 +10:30
memdump.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
memdump.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
notification.c plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
notification.h plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
offer.c wallet: use standard-style iterators for payments. 2023-10-28 15:48:26 +10:30
onchain_control.c lightningd: use wallet_utxo_boost for zero-fee htlc_tx. 2023-11-01 14:11:28 +10:30
onchain_control.h
onion_message.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
onion_message.h
opening_common.c lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_common.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_control.c wallet: remove output_is_p2sh from wallet_can_spend 2024-03-18 12:24:49 +10:30
opening_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
options.c lightningd: add --dev-allow-shutdown-destination-change to unstick existing nodes. 2024-02-16 15:02:38 +01:00
options.h lightningd: allow --recover to take a 64-char hex string. 2023-10-26 12:59:55 +10:30
pay.c lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
pay.h wallet: remove premature optimization when making payment. 2023-10-28 15:48:26 +10:30
peer_control.c peer_control: Add lost_state param inside listpeerchannels rpc, which'd help us identify if we've fall behind or lost some state. 2024-02-16 22:17:46 +01:00
peer_control.h common: move json_add_channel_type from lightningd/ 2024-01-29 13:40:34 +10:30
peer_fd.c subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
peer_fd.h subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
peer_htlcs.c lightningd: use explicit accessor to get channel_update for errors. 2024-01-31 14:47:33 +10:30
peer_htlcs.h lightningd: split up peer_htlcs a little, create forwards.c 2023-10-28 15:48:26 +10:30
ping.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
plugin_control.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
plugin_control.h
plugin_hook.c lightningd: don't re-enter transaction if we have to call plugin_exclusive_loop. 2023-10-25 10:53:48 +02:00
plugin_hook.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
plugin.c plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
plugin.h plugins: allow plugin options deprecated to be an array of strings. 2024-01-26 10:30:22 +10:30
routehint.c lightningd: make listincoming use gossmods_from_listpeerchannels(). 2023-12-14 09:16:56 +10:30
routehint.h
runes.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
runes.h runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
signmessage.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
subd.c lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
subd.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
wait.c lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
wait.h lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
watch.c track fallbacks for invoices, pt 1 2023-10-26 19:11:17 +10:30
watch.h lightningd: make watch_txid more generic. 2023-10-02 11:41:19 +10:30