51 Commits (0790d9b52fa9d25bebd71736681e86b8b4d63e6b)

Author SHA1 Message Date
Rusty Russell 57b423625b subd: use peer log for messages (if any). 7 years ago
Carl Dong 8da65854f0 build: Add needed UNIX standard includes. 7 years ago
practicalswift e91a8dff12 Change log level for some common debug messages from "info" to "debug" 7 years ago
Rusty Russell c66df31674 subd: pass absolute path as argv[0]. 7 years ago
practicalswift a900551815 Use tal_hex(...) instead of tal_hexstr(...) 7 years ago
practicalswift 4bdd2452f2 Make sure fsync, connect and close are never accidentally passed negative arguments 7 years ago
practicalswift dcb4039a96 Check lseek(...) return value 7 years ago
Rusty Russell ba22484901 lightningd: simplify permanent failure. 7 years ago
Rusty Russell b83ac58a98 subd: if a required daemon exits, wait instead of killing it. 7 years ago
Rusty Russell 6b232de7b1 openingd: return to master for more gossip when negotiation fails. 7 years ago
Rusty Russell 899bf3fde9 subd: add transaction to subd exit corner case. 7 years ago
Rusty Russell 3a596d6dda subd: wrap all message callbacks in a transaction. 7 years ago
Rusty Russell 3c6eec87e3 Add DEVELOPER flag, set by default. 7 years ago
Rusty Russell 0b953b86fe subd: automatically detect if callback frees subd. 7 years ago
Rusty Russell 5a256c724a subd: simplify and cleanup lifetime handling. 7 years ago
Rusty Russell a117d595a4 subd: allow callbacks to free sd. 7 years ago
Rusty Russell f83ee6d5ea dev_disconnect: don't permfail more than once. 7 years ago
Rusty Russell 871d0b1d74 lightningd: simplify peer destruction. 7 years ago
Rusty Russell 61786b9c90 subd: don't leak fds if we fail to create subdaemon. 7 years ago
Rusty Russell b7bb0be944 subd: remove context arg, as we're always owned by lightningd. 7 years ago
Rusty Russell f082c7b80e lightningd: add FIXMEs for future work. 7 years ago
Rusty Russell 72b215f6fe Make all internal message numbers unique. 7 years ago
Rusty Russell ec63c0d10b lightningd: give option to crash if a subdaemon fails. 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 8e0c19c76a lightningd: add dev-fail command to inject permenant failure. 7 years ago
Rusty Russell 99581bd709 dev_disconnect: support 'permfail' line to permanently fail peer. 7 years ago
Rusty Russell 709991fed1 subd: fix case where we replycb calls peer_internal_error(). 7 years ago
Rusty Russell 80886cda8a daemon_conn: fix daemon_conn_sync_flush. 8 years ago
Rusty Russell 6e59f85666 subd: expose raw API for getting a single fd to a subdaemon. 8 years ago
Rusty Russell f2d4309add lightningd/subd: explicit failure reply support. 8 years ago
Rusty Russell d95adf7f33 subd: hand through fatal messages as well to callback. 8 years ago
Rusty Russell 9b1d240c1f lightningd: --dev-disconnect support. 8 years ago
Rusty Russell d1fcc434c8 subd: use array of fd pointers, not fds, and use take(). 8 years ago
Rusty Russell 3126eed4de patch peer_control-keep-init-information.patch 8 years ago
Rusty Russell fe1ff33419 lightningd/subd: don't take ownership of peer. 8 years ago
Rusty Russell d27a5d3212 lightningd/lightningd: shutdown subdaemons on exit. 8 years ago
Rusty Russell fed25cc540 lightningd/subd: add a context to requests. 8 years ago
Rusty Russell e36a65a189 lightningd/subd: msgcb return -1 to close channel. 8 years ago
Christian Decker 21d7ed0cf6 subd: Do not close STDOUT in sub-daemons 8 years ago
Rusty Russell 8be18ccfa1 lightningd/msg_queue: rename msg_is_fd to msg_extract_fd 8 years ago
Rusty Russell 7a9df37ef3 lightningd/subd: support multiple fds sent at once in normal messages. 8 years ago
Rusty Russell 38bffc0f0c lightningd/subd: support multiple fds sent at once in request reply. 8 years ago
Rusty Russell 22d2392454 lightningd/subd: use msg_queue fd support. 8 years ago
Rusty Russell 83466b2b32 ccan: update to get close option to io/fdpass. 8 years ago
Rusty Russell 4bf398c4e7 status: move into lightningd/status. 8 years ago
Rusty Russell 8a893df951 lightningd/subd: fix use-after-free, cleanup subd_send_msg unnecessary tal_dup. 8 years ago
Christian Decker 8ae698d1dc Migrating daemon_conn to msg_queue and msg_queue takes over messages 8 years ago