rgb-cln/lightningd
Rusty Russell b5a1715c2b connectd: also fail without a scary backtrace when listen fails.
For example, if you do:

```
./lightningd/lightningd --network=regtest --experimental-websocket-port=19846
```

Then you're trying to reuse the normal port as the websocket port, but this
only fails at *listen* time, when we activate connectd.  Catch this too.

Fixes incorrect fatal() message, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-05 15:48:03 +10:30
..
test lightningd/Make: cleanup lightningd+wallet headers 2022-03-05 15:03:34 +10:30
.gitignore Ignore all the deamon inside the git history 2021-10-28 15:51:38 +02:00
Makefile database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
bitcoind.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
bitcoind.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
chaintopology.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
chaintopology.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
channel.c gossipd: infrastructure to tell lightningd about local channel updates. 2022-02-08 11:15:52 +10:30
channel.h lightningd: tell gossipd when we use the channel_update. 2022-02-08 11:15:52 +10:30
channel_control.c coin_mvt: rm unncessary if statement 2022-03-05 15:12:12 +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 subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +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 connectd: also fail without a scary backtrace when listen fails. 2022-03-05 15:48:03 +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 subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
dual_open_control.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
gossip_control.c connectd: remove second gossip fd. 2022-02-08 11:15:52 +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 cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
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 database: pull out database code into a new module 2022-03-05 15:03:34 +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: cleanup, freeing jsonrpc in shutdown cannot trigger db write's anymore 2021-11-30 13:34:44 +10:30
lightningd.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
lightningd.h subd: fix waitpid properly. 2022-01-25 06:26:52 +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 cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
memdump.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
memdump.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09: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 coin_mvt: mark coins destined for wallet w/ originating acct 2022-03-05 15:12:12 +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 common: remove support for pre v0.10.2 onionmessages. 2021-12-01 05:44:28 +10:30
opening_common.c lightningd: clean up subds before freeing HTLCs. 2022-02-08 11:15:52 +10:30
opening_common.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
opening_control.c subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
opening_control.h patch lightningd-peer-fds.patch 2022-01-20 15:24:06 +10:30
options.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
options.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
pay.c lightningd: use our cached channel_update for errors instead of asking gossipd. 2022-02-08 11:15:52 +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 listpeers: include the `pushed_msat` amount 2022-03-05 15:12:12 +10:30
peer_control.h subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +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 database: pull out database code into a new module 2022-03-05 15:03:34 +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 plugins: add `command` field to subcommand output. 2021-06-25 09:49:33 +09:30
plugin_hook.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
plugin_hook.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
routehint.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
routehint.h invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
signmessage.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
subd.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
subd.h lightningd: clean up subds before freeing HTLCs. 2022-02-08 11:15:52 +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 common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00