lightning/daemon
Rusty Russell c0766061fa dns: don't allow non-stream sockets.
It was "connecting" to "localhost 30000" successfully, because it was
using UDP.  Oops.

This reveals another issue: init_conn() uses the wrong address to
connect to, as we'd already incremented the pointer in try_connect_one().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-01-22 06:41:49 +10:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c bitcoind: routine to broadcast a transaction. 2016-01-22 06:41:49 +10:30
bitcoind.h bitcoind: routine to broadcast a transaction. 2016-01-22 06:41:49 +10:30
configdir.c daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
configdir.h daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
cryptopkt.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
cryptopkt.h daemon: encrypted communication (version 3) 2016-01-22 06:41:48 +10:30
dns.c dns: don't allow non-stream sockets. 2016-01-22 06:41:49 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
json.c json: routine to create a uint64_t field. 2016-01-22 06:41:48 +10:30
json.h json: routine to create a uint64_t field. 2016-01-22 06:41:48 +10:30
jsonrpc.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
jsonrpc.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
lightning-cli.c daemon: lightning-cli 2016-01-22 06:41:48 +10:30
lightningd.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
lightningd.h daemon/watch: API to watch various bitcoin transactions. 2016-01-22 06:41:49 +10:30
log.c daemon: add helper to log hex. 2016-01-22 06:41:48 +10:30
log.h daemon: add helper to log hex. 2016-01-22 06:41:48 +10:30
Makefile daemon/watch: API to watch various bitcoin transactions. 2016-01-22 06:41:49 +10:30
netaddr.c daemon: netaddr 2016-01-22 06:41:48 +10:30
netaddr.h daemon: netaddr 2016-01-22 06:41:48 +10:30
peer.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
peer.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
pseudorand.c daemon: first code. 2016-01-22 06:41:47 +10:30
pseudorand.h daemon: first code. 2016-01-22 06:41:47 +10:30
secrets.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
secrets.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
timeout.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
timeout.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
watch.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
watch.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30