core-lightning/lightningd
Rusty Russell 1d8b899551 lightningd: prepare internal json routines for listpeerchannels.
We're soon going to call json_add_unsaved_channel and
json_add_uncommitted_channel from a new place, where we want the peer
state directly included.

Based on patch by @vincenzopalazzo.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-13 10:42:42 +10:30
..
test lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
.gitignore
bitcoind.c lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
bitcoind.h lightningd: trace JSON id prefixes through sendrawtx. 2022-09-16 12:31:45 +09:30
chaintopology.c lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
chaintopology.h lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
channel_control.c lightningd: only allow closing to native segwit 2022-12-13 08:28:12 +10:30
channel_control.h doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
channel_state.h
channel.c lightningd: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
channel.h lightningd: figure out optimal channel *before* forward_htlc hook. 2022-09-26 13:52:04 +02:00
closing_control.c lightningd: only allow closing to native segwit 2022-12-13 08:28:12 +10:30
closing_control.h lightningd: trace JSON id prefixes through sendrawtx. 2022-09-16 12:31:45 +09:30
coin_mvts.c common/onion: split into decode and encode routines. 2022-11-09 15:08:03 +01:00
coin_mvts.h
connect_control.c connectd: don't ask DNS seeds for addresses on every reconnect. 2023-01-03 15:00:27 +10:30
connect_control.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
datastore.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
dual_open_control.c lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
dual_open_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
feerate.c lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
feerate.h lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
gossip_control.c gossipd: batch outpoints spent, add block height. 2022-09-24 15:22:27 +09:30
gossip_control.h gossipd: batch outpoints spent, add block height. 2022-09-24 15:22:27 +09:30
hsm_control.c createinvoice: make a minimal blinded "path" in bolt12 invoice if none presented. 2022-11-09 15:08:03 +01:00
hsm_control.h
htlc_end.c channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10: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: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
htlc_set.h
invoice.c invoice: expiry must be in seconds. 2022-12-13 08:28:12 +10:30
invoice.h
io_loop_with_timers.c
io_loop_with_timers.h
jsonrpc.c lightningd: treat JSON ids as direct tokens. 2023-01-11 11:13:27 +10:30
jsonrpc.h lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
lightningd.c all: no longer need to call htable_clear to free htable contents. 2023-01-12 11:44:10 +10:30
lightningd.h lightningd: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
log_status.c
log_status.h
log.c lightningd: fix fatal() log message in log. 2022-07-25 08:11:09 -07:00
log.h options: let log-level subsystem filter also cover nodeid. 2022-07-09 09:59:52 +09:30
Makefile createinvoice: make a minimal blinded "path" in bolt12 invoice if none presented. 2022-11-09 15:08:03 +01:00
memdump.c lightningd: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
memdump.h
notification.c lightningd: add in_htlc_id / out_htlc_id to listforwards. 2022-09-22 15:19:46 +02:00
notification.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
offer.c bolt12: update comments to match latest spec. 2022-11-09 15:08:03 +01:00
onchain_control.c lightningd: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
onchain_control.h
onion_message.c onion_message: don't use general secret, use per-message secret. 2022-11-09 15:08:03 +01:00
onion_message.h
opening_common.c openingd: Add reserve to fundchannel and multifundchannel 2022-09-21 11:25:47 +02:00
opening_common.h openingd: Add reserve to fundchannel and multifundchannel 2022-09-21 11:25:47 +02:00
opening_control.c lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
opening_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
options.c lightningd: don't announce names as DNS by default. 2022-12-08 11:04:53 +01:00
options.h
pay.c lightningd: Look for channels by alias when finding channels 2023-01-03 15:30:23 +10:30
pay.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
peer_control.c lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
peer_control.h connectd: control connect backoff from lightningd. 2022-07-28 15:08:44 +09:30
peer_fd.c
peer_fd.h
peer_htlcs.c all: no longer need to call htable_clear to free htable contents. 2023-01-12 11:44:10 +10:30
peer_htlcs.h lightningd: add in_htlc_id / out_htlc_id to listforwards. 2022-09-22 15:19:46 +02:00
ping.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
plugin_control.c lightningd: wire plugin command JSON id through to plugin commands. 2022-09-16 12:31:45 +09:30
plugin_control.h
plugin_hook.c lightningd: don't call memcpy with NULL. 2023-01-12 11:44:10 +10:30
plugin_hook.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
plugin.c lightningd: treat JSON ids as direct tokens. 2023-01-11 11:13:27 +10:30
plugin.h lightningd: correctly exit when an important-plugin fails to start. 2022-11-30 15:47:31 +01:00
routehint.c lightnind: use aliases in routehints for private channels. 2022-08-09 16:31:36 -05:00
routehint.h
signmessage.c lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
subd.c lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
subd.h lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
watch.c lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
watch.h Remove names of parameters of callbacks which confuse gcc. 2022-08-31 12:18:28 +03:00