core-lightning/gossipd
Rusty Russell 52917ff6c9 More flexible address wildcards, only add wildcard if nothing else.
1. Add special option where an empty host means 'wildcard for IPv4 and/or IPv6'
   which means ':1234' can be used to set only the portnum.
2. Only add this protocol wildcard if --autolisten=1 (default)
   and no other addresses specified.
3. Pass it down to gossipd, so it can handle errors correctly: in most cases,
   it's fatal not to be able to bind to a port, but for this case, it's OK
   if we can only bind to one of IPv4/v6 (fatal iff neither).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-07 22:37:28 +02:00
..
test gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
broadcast.c gossipd: make struct queued_message private. 2018-03-14 02:19:37 +00:00
broadcast.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
gossip_store.c gossipd: Handle failed lseek(...) 2018-05-06 20:45:10 +02:00
gossip_store.csv gossip_store: Save local_add_channel messages and replay them 2018-04-22 12:50:34 +02:00
gossip_store.h gossip_store: Save local_add_channel messages and replay them 2018-04-22 12:50:34 +02:00
gossip_wire.csv More flexible address wildcards, only add wildcard if nothing else. 2018-05-07 22:37:28 +02:00
gossip.c More flexible address wildcards, only add wildcard if nothing else. 2018-05-07 22:37:28 +02:00
handshake.c gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
handshake.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
Makefile gossipd: take over address determination, from master. 2018-05-07 22:37:28 +02:00
netaddress.c gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
netaddress.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
routing.c gossip: HalfChans are public if we have an update and the Chan is 2018-05-07 01:10:48 +00:00
routing.h moveonly: Move handle_local_add_channel to routing.h 2018-04-22 12:50:34 +02:00