core-lightning/lightningd
Rusty Russell 3d3d2ef9af gossipd: remove connectd functionality, enable connectd.
This patch guts gossipd of all peer-related functionality, and hands
all the peer-related requests to channeld instead.

gossipd now gets the final announcable addresses in its init msg, since
it doesn't handle socket binding any more.

lightningd now actually starts connectd, and activates it.  The init
messages for both gossipd and connectd still contain redundant fields
which need cleaning up.

There are shims to handle the fact that connectd's wire messages are
still (mostly) gossipd messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00
..
test gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
bitcoind.c bitcoind: fix spurious memleak reports. 2018-06-15 11:53:47 +02:00
bitcoind.h bitcoind: fix spurious memleak reports. 2018-06-15 11:53:47 +02:00
chaintopology.c Modern param style for chaintopology.c, ... 2018-07-17 14:33:14 +02:00
chaintopology.h improves exponential smoothing of feerate estimates (#1699) 2018-07-15 18:30:43 +02:00
channel.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
channel.h lightningd: get basepoints from hsmd, don't ever get seed. 2018-07-24 00:40:01 +02:00
channel_control.c gossipd: handle ping messages for remote peers too. 2018-07-25 02:13:52 +00:00
channel_control.h channel_control: Forget if unconfirmed for a long time and we are fundee. 2018-05-23 14:37:32 -07:00
channel_state.h channel_states: fold all the ONCHAIND states into one. 2018-02-23 18:02:00 +01:00
closing_control.c closingd: use hsmfd to get signatures, don't use seed. 2018-07-24 00:40:01 +02:00
closing_control.h gossipd: drain fd instead of passing around gossip index. 2018-04-26 05:47:57 +00:00
connect_control.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
connect_control.h gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
dev_ping.c gossipd: handle ping messages for remote peers too. 2018-07-25 02:13:52 +00:00
gossip_control.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
gossip_control.h gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
gossip_msg.c listpeers: expose peer features as 'local_features' and 'global_features' 2018-07-07 16:07:53 +02:00
gossip_msg.h listpeers: expose peer features as 'local_features' and 'global_features' 2018-07-07 16:07:53 +02:00
hsm_control.c lightningd: get basepoints from hsmd, don't ever get seed. 2018-07-24 00:40:01 +02:00
hsm_control.h hsmd: fix missing status messages. 2018-07-17 12:32:00 +02:00
htlc_end.c Remove unused parameter ptr in corrupt(const void *ptr, ...) 2018-02-22 10:46:30 +01:00
htlc_end.h htlc: keep channel pointer, not peer pointer. 2018-02-14 11:31:58 +01:00
invoice.c Modern param style for chaintopology.c, ... 2018-07-17 14:33:14 +02:00
invoice.h invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
json.c wireaddr: new type, ADDR_INTERNAL_FORPROXY, use it if we can't/wont resolve. 2018-05-11 09:15:54 +00:00
json.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
jsonrpc.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
jsonrpc.h Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
jsonrpc_errors.h wallet: clarify error 302. 2018-06-18 12:33:25 +02:00
lightningd.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
lightningd.h gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
log.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
log.h common/daemon: common routines for all daemons. 2018-04-03 14:03:28 +02:00
log_status.c status: make status_io a more generic mechanism. 2018-05-10 02:28:44 +00:00
log_status.h status: add multiple levels of logging. 2018-02-07 00:46:49 +00:00
Makefile gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
memdump.c Makefile: we don't need to define DEVELOPER explicitly. 2018-06-14 14:38:24 +02:00
onchain_control.c onchaind: use the HSM to get the per-commitment-point. 2018-07-24 00:40:01 +02:00
onchain_control.h onchaind: Replay stored channeltxs to restore onchaind state 2018-04-25 14:33:38 +02:00
opening_control.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
opening_control.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
options.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
options.h hsmd: drop newdir logic. 2018-05-05 17:55:10 +02:00
param.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
param.h lightningd: fix crash on rpc.invoice with clang 2018-07-20 16:51:40 +02:00
pay.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
pay.h pay: Let sendpay modify the recorded msatoshi of payments. 2018-03-30 15:40:32 +02:00
payalgo.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
payalgo.h payalgo: New file for pay command. 2018-02-16 13:08:29 +01:00
peer_control.c gossipd: remove connectd functionality, enable connectd. 2018-07-25 02:13:52 +00:00
peer_control.h Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
peer_htlcs.c Modern param style for all remaining files 2018-07-20 01:14:02 +00:00
peer_htlcs.h channel_control: Forget if unconfirmed for a long time and we are fundee. 2018-05-23 14:37:32 -07:00
subd.c hsmd: fix missing status messages. 2018-07-17 12:32:00 +02:00
subd.h hsmd: fix missing status messages. 2018-07-17 12:32:00 +02:00
watch.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
watch.h topo: Remove in-memory txs from the block struct 2018-04-13 00:04:37 +02:00