74 Commits (72d103d6bb8ddc3b06fb980946ab75e055f7a8a1)

Author SHA1 Message Date
Rusty Russell 8739b4cbe8 lighningd: Remove --debug-subdaemon-io. 7 years ago
Rusty Russell 1e282ecb7a subd: record which ones connect to a peer. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
ZmnSCPxj 74f3662a3b lightningd/subd.h: Add missing wire/wire.h. 7 years ago
practicalswift e56eee50c8 Make sure we never pass a negative value to dup2(...) 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Corné Plooy b857b2e843 Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 7 years ago
Rusty Russell cca0a5412e subd: clear transient billboard on start and shutdown. 7 years ago
Rusty Russell 26b004e5af subd: handle status_peer_billboard messages from subdaemons. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell eca55cee3c subd: handle stdin being closed (eg. --daemon). 7 years ago
Rusty Russell 02d469b3d4 peer_failed: hand fds back to master when we fail. 7 years ago
Rusty Russell f76ff90485 status: split off error messages into a new 'peer_status' type. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell b7680412e3 lightningd: rename peer_fail functions to channel_fail. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
Rusty Russell cc9ca82821 status: separate types for peer failure vs "impossible" failures. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell c01f3267d5 common: only log io if they set --debug-subdaemon-io=<daemon> or with SIGUSR1. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
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