core-lightning/lightningd
Rusty Russell 95f41287f0 lightningd/subd: new code for subdaemons.
This uses a single fd for both status and control.

To make this work, we enforce the convention that replies are the same
as requests + 100, and that their name ends in "_REPLY".

This also means that various daemons can simply exit when done; there's
no race between reading request and closing status fds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-10 21:45:55 +10:30
..
channel lightningd/channel: normal operation daemon. 2017-03-07 11:56:12 +10:30
gossip gossip: Do not cleanup broadcast messages 2017-03-09 11:16:37 +01:00
handshake lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 2017-03-07 11:31:55 +10:30
hsm bitcoin/script: rename bitcoin_redeem_p2wpkh -> bitcoin_redeem_p2sh_p2wpkh 2017-03-07 11:35:48 +10:30
opening bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 2017-03-07 16:16:59 +10:30
test lightningd: more updates to match latest BOLT2/3. 2017-03-07 16:22:34 +10:30
.gitignore lightningd/hsm: simple daemon to control the keys. 2017-01-10 15:38:33 +10:30
build_utxos.c bitcoin/script: rename bitcoin_redeem_p2wpkh -> bitcoin_redeem_p2sh_p2wpkh 2017-03-07 11:35:48 +10:30
build_utxos.h lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 2017-03-07 11:31:55 +10:30
channel_config.c generate-wire: don't hand unknown structures specially. 2017-02-21 15:15:19 +10:30
channel_config.h Update to new spec: differentiate channel_id and short_channel_id. 2017-03-02 22:51:49 +10:30
channel.c lightningd/derive_basepoints: hoist derivation logic. 2017-03-07 11:37:06 +10:30
channel.h lightningd/derive_basepoints: hoist derivation logic. 2017-03-07 11:37:06 +10:30
commit_tx.c lightningd/commit_tx: support for printing out actual tx fees. 2017-03-07 16:19:11 +10:30
commit_tx.h lightningd/commit_tx: don't segv on NULL htlcmap. 2017-02-24 16:22:56 +10:30
crypto_sync.c lightningd/crypto_sync: trace all messages, especually failures. 2017-02-24 16:22:56 +10:30
crypto_sync.h crypto_sync: synchronous routines for inter-peer crypto. 2017-02-21 15:15:29 +10:30
cryptomsg.c lightningd/cryptomsg: only free written messages if they're marked take(). 2017-03-07 11:38:20 +10:30
cryptomsg.h lightningd/cryptomsg: only free written messages if they're marked take(). 2017-03-07 11:38:20 +10:30
debug.c lightningd: --dev-debugger=<subdaemon> 2017-02-24 16:22:56 +10:30
debug.h lightningd: --dev-debugger=<subdaemon> 2017-02-24 16:22:56 +10:30
derive_basepoints.c lightningd/derive_basepoints: hoist derivation logic. 2017-03-07 11:37:06 +10:30
derive_basepoints.h lightningd/derive_basepoints: hoist derivation logic. 2017-03-07 11:37:06 +10:30
funding_tx.c lightningd/funding_tx: output number is 16 bit. 2017-03-07 11:33:24 +10:30
funding_tx.h lightningd/funding_tx: output number is 16 bit. 2017-03-07 11:33:24 +10:30
gossip_control.c lightningd/subdaemon: keep peer pointer for one-per-peer daemons. 2017-03-07 11:39:03 +10:30
gossip_control.h lightningd/lightningd: wire up lightningd_gossip. 2017-01-10 15:38:33 +10:30
hsm_control.c lightningd/subdaemon: keep peer pointer for one-per-peer daemons. 2017-03-07 11:39:03 +10:30
hsm_control.h lightningd/lightningd: start HSM at initialization time. 2017-01-10 15:38:33 +10:30
htlc_tx.c bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 2017-03-07 16:16:59 +10:30
htlc_tx.h bitcoin/script: update scripts to the lightningnetwork/lightning-rfc#123 version 2017-03-07 16:16:59 +10:30
key_derive.c lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 2017-03-07 11:31:55 +10:30
key_derive.h lightningd/funding_tx: fill in scriptsigs for p2sh UTXOs. 2017-03-07 11:31:55 +10:30
lightningd.c lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
lightningd.h lightningd: integrate bitcoind. 2017-03-07 11:26:38 +10:30
Makefile lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
msg_queue.c lightningd/msg_queue: helper for queues of messages/ 2017-03-10 21:45:55 +10:30
msg_queue.h lightningd/msg_queue: helper for queues of messages/ 2017-03-10 21:45:55 +10:30
peer_control.c lightningd: more updates to match latest BOLT2/3. 2017-03-07 16:22:34 +10:30
peer_control.h daemon/lightningd: store more state in peer. 2017-03-07 11:39:53 +10:30
peer_failed.c Update to new spec: differentiate channel_id and short_channel_id. 2017-03-02 22:51:49 +10:30
peer_failed.h lightningd/peer_failed: helper to send PKT_ERR and exit daemon. 2017-02-24 16:22:55 +10:30
subd.c lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
subd.h lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
subdaemon.c lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
subdaemon.h lightningd/subd: new code for subdaemons. 2017-03-10 21:45:55 +10:30
utxo.c utxo: wire support for unspent transactions. 2017-02-21 15:15:29 +10:30
utxo.h utxo: wire support for unspent transactions. 2017-02-21 15:15:29 +10:30