97 Commits (3412a69488293e663d85a8727d8bfdc7ae0c9962)

Author SHA1 Message Date
Ken Sedgwick 5fd0ed79f4
lightningd: Added --subdaemon command to allow alternate subdaemons. 5 years ago
Christian Decker f08447d624 subd: Allow sending common messages to subdaemons 5 years ago
Rusty Russell 4fc498f901 lightningd: enable io logging on subdaemons iff we're going to print it. 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Rusty Russell 86fb54a33b lightningd: remove per-peer log book. 5 years ago
Rusty Russell e433d4ddc1 lightningd: have logging include an optional node_id for each entry. 5 years ago
Rusty Russell 4fa7b30836 lightningd: have optional node_id associated with subdaemons. 5 years ago
Rusty Russell a3273d4c84 developer: IFDEV() macro. 5 years ago
Christian Decker 803007ecdf db: Make the `db` struct private and provide accessors instead 6 years ago
Rusty Russell 0954feddc7 json: speed up shutdown. 5 years ago
Rusty Russell dd79813a75 common: add peer_error flag to treat this error as "soft". 6 years ago
Rusty Russell 38d2899fbb common/per_per_state: generalize lightningd/peer_comm Part 1 6 years ago
ZmnSCPxj 37440e9447 lightningd/subd.c: Return NULL from subd_shutdown. 6 years ago
Christian Decker 8feb05aef4 subd: Remove overly verbose log when receiving a message 6 years ago
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons. 6 years ago
Rusty Russell eaac0d7105 lightningd: group crypto_state and fds into a convenient structure. 6 years ago
Rusty Russell 6323cc1898 plugins: allow --dev-debugger=<pluginname>. 6 years ago
Rusty Russell 3e2dea221b common/msg_queue: make it a tal object. 6 years ago
Rusty Russell da9d92960d lightningd: accept hsmstatus_client_bad_request messages (and log!) 6 years ago
Rusty Russell 76f116daf1 lightningd: minor cleanups 6 years ago
Rusty Russell aa62d79db2 subd: fix false positive if we're inside a subd_req. 6 years ago
Rusty Russell 3414b992a1 lightningd: don't dump core on subdaemon failure. 6 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 7 years ago
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