rgb-cln/lightningd
Rusty Russell b99c04e605 lightningd: add explicit "connected" flag.
We currently intuit this by whether there's a subdaemon owning it.
But we're about to change the rules and allow connectd to hold idle
connections, so we need an explicit flag.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-23 13:20:12 +10:30
..
test setchannel: don't let them advertize htlc_maximum_msat larger than capacity. 2022-03-22 18:45:41 +10:30
.gitignore
Makefile hsmd: Augment call to hsmd_sign_withdrawal_tx with wallet index metadata 2022-03-10 10:22:29 +10:30
bitcoind.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
bitcoind.h
chaintopology.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
chaintopology.h
channel.c lightningd: add explicit "connected" flag. 2022-03-23 13:20:12 +10:30
channel.h setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
channel_control.c setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
channel_control.h channeld: keep local copy of latest channel_update for errors. 2022-02-08 11:15:52 +10:30
channel_state.h
closing_control.c hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
closing_control.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
coin_mvts.c balance_snapshot: don't count unconfirmed utxos 2022-03-05 15:12:12 +10:30
coin_mvts.h coin_mvt: tiny, dont import lightningd header 2022-02-07 13:02:09 +10:30
connect_control.c lightningd: add explicit "connected" flag. 2022-03-23 13:20:12 +10:30
connect_control.h connectd: remove second gossip fd. 2022-02-08 11:15:52 +10:30
datastore.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
dual_open_control.c setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
dual_open_control.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
gossip_control.c gossipd: send updated node_annoucement remote_addr 2022-03-11 16:42:45 +10:30
gossip_control.h connectd: remove second gossip fd. 2022-02-08 11:15:52 +10:30
hsm_control.c lightningd: support hsm error code 2021-12-15 12:24:54 +10:30
hsm_control.h
htlc_end.c global: use tal_dup_or_null(). 2021-12-30 14:36:55 +10:30
htlc_end.h coin_mvt: record fees for an outbound htlc 2021-12-28 04:42:42 +10:30
htlc_set.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
htlc_set.h
invoice.c pytest: add checks that pay and getroute respect htlc_maximum_msat. 2022-03-22 18:45:41 +10:30
invoice.h
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
json.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
json.h
jsonrpc.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
jsonrpc.h
lightningd.c lightningd: opt_var_onion is now a compulsory feature. 2022-03-18 09:20:11 +10:30
lightningd.h lightningd: store recently reported remote_addr 2022-03-11 16:42:45 +10:30
log.c db: decouple `fatal` reliance, have as impl defined function 2022-03-05 15:03:34 +10:30
log.h db: decouple `fatal` reliance, have as impl defined function 2022-03-05 15:03:34 +10:30
log_status.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
log_status.h
memdump.c dualopend: restore memleak calls. 2022-03-10 09:40:09 +10:30
memdump.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
notification.c coin_mvt: only chain moves have a blockheight 2022-03-05 15:12:12 +10:30
notification.h balance snap: first pass 2021-12-28 04:42:42 +10:30
offer.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
onchain_control.c hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
onchain_control.h onchaind: remove 'is_replay' logic 2021-12-28 04:42:42 +10:30
onion_message.c connectd: handle onion messages. 2022-02-08 11:15:52 +10:30
onion_message.h
opening_common.c lightningd: add explicit "connected" flag. 2022-03-23 13:20:12 +10:30
opening_common.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
opening_control.c setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
opening_control.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
options.c chore: fix typo announcable -> announceable 2022-03-11 16:42:45 +10:30
options.h
pay.c lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
pay.h lightningd: use our cached channel_update for errors instead of asking gossipd. 2022-02-08 11:15:52 +10:30
peer_control.c lightningd: add explicit "connected" flag. 2022-03-23 13:20:12 +10:30
peer_control.h lightningd: add explicit "connected" flag. 2022-03-23 13:20:12 +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 setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
peer_htlcs.h lightningd: use our cached channel_update for errors instead of asking gossipd. 2022-02-08 11:15:52 +10:30
ping.c connectd: handle pings and pongs. 2022-02-08 11:15:52 +10:30
plugin.c lightningd: cleanup obsolete plugins->shutdown flag 2021-12-14 09:33:10 +10:30
plugin.h lightningd: cleanup obsolete plugins->shutdown flag 2021-12-14 09:33:10 +10:30
plugin_control.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
plugin_control.h
plugin_hook.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
plugin_hook.h
routehint.c setchannel: add minhtlc 2022-03-22 18:45:41 +10:30
routehint.h
signmessage.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
subd.c lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
subd.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
watch.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
watch.h