core-lightning/lightningd
Rusty Russell f511012e29 lightningd/gossip: don't hand client fd until release.
The gossip subdaemon previously passed the fd after init: this is
unnecessary for peers which simply want to gossip (and not establish
channels).

Now we hand the gossip fd back with the peer fd.  This adds another
error message for when we fail to create the gossip fds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-20 07:50:53 +10:30
..
channel status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
gossip lightningd/gossip: don't hand client fd until release. 2017-03-20 07:50:53 +10:30
handshake status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
hsm ccan: update to get close option to io/fdpass. 2017-03-20 07:50:53 +10:30
opening status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
test status: move into lightningd/status. 2017-03-20 07:50:53 +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 status: move into lightningd/status. 2017-03-20 07:50:53 +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
connection.c lightningd/connection: add fd support. 2017-03-20 07:50:53 +10:30
connection.h lightningd/connection: add fd support. 2017-03-20 07:50:53 +10:30
crypto_sync.c status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
crypto_sync.h crypto_sync: synchronous routines for inter-peer crypto. 2017-02-21 15:15:29 +10:30
cryptomsg.c status: move into lightningd/status. 2017-03-20 07:50:53 +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/gossip: don't hand client fd until release. 2017-03-20 07:50:53 +10:30
gossip_control.h lightningd/lightningd: wire up lightningd_gossip. 2017-01-10 15:38:33 +10:30
gossip_msg.c gossip: Added nested message types for getnodes query 2017-03-15 21:32:55 +01:00
gossip_msg.h gossip: Added nested message types for getnodes query 2017-03-15 21:32:55 +01:00
hsm_control.c lightningd/subd: support multiple fds sent at once in normal messages. 2017-03-20 07:50:53 +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: Add method to find a peer given its unique_id 2017-03-13 11:26:48 +01:00
lightningd.h lightningd: Add method to find a peer given its unique_id 2017-03-13 11:26:48 +01:00
Makefile status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
msg_queue.c lightningd/msg_queue: support queueing/dequeueing of fds. 2017-03-20 07:50:53 +10:30
msg_queue.h lightningd/msg_queue: support queueing/dequeueing of fds. 2017-03-20 07:50:53 +10:30
peer_control.c lightningd/gossip: don't hand client fd until release. 2017-03-20 07:50:53 +10:30
peer_control.h lightningd/subd: support multiple fds sent at once in request reply. 2017-03-20 07:50:53 +10:30
peer_failed.c status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
peer_failed.h lightningd/peer_failed: helper to send PKT_ERR and exit daemon. 2017-02-24 16:22:55 +10:30
status.c status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
status.h status: move into lightningd/status. 2017-03-20 07:50:53 +10:30
subd.c lightningd/subd: support multiple fds sent at once in normal messages. 2017-03-20 07:50:53 +10:30
subd.h lightningd/subd: support multiple fds sent at once in normal messages. 2017-03-20 07:50:53 +10:30
utxo.c tools/generate-wire.py: open-code array handling for non-u8. 2017-03-16 14:35:23 +10:30
utxo.h tools/generate-wire.py: open-code array handling for non-u8. 2017-03-16 14:35:23 +10:30