core-lightning/daemon
Rusty Russell 9bd6a10f49 peer: fix close before their sig has been received in corner case.
If we haven't received their closing signature yet, we might try to
send the closing packet anyway (and segfault).  Make sure we have
their signature before trying that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-08-31 16:06:31 +09:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c bitcoind: keep running fee estimate. 2016-08-18 14:23:46 +09:30
bitcoind.h chaintopology: only report active chaintip. 2016-07-07 13:36:39 +09:30
chaintopology.c peer: save/load results in database. 2016-08-18 14:25:14 +09:30
chaintopology.h bitcoind: keep running fee estimate. 2016-08-18 14:23:46 +09:30
channel.c db: don't assume HTLCs in order when reconstructing channel state. 2016-08-28 09:34:47 +09:30
channel.h db: don't assume HTLCs in order when reconstructing channel state. 2016-08-28 09:34:47 +09:30
commit_tx.c commit_tx: more debugging. 2016-08-18 14:25:13 +09:30
commit_tx.h protocol: no signature in update_commit if receiver has no outputs. 2016-08-18 14:25:13 +09:30
configdir.c daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
configdir.h daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
controlled_time.c daemon: test restarting. 2016-08-18 14:25:14 +09:30
controlled_time.h daemon: test restarting. 2016-08-18 14:25:14 +09:30
cryptopkt.c protocol: use separate ack packet. 2016-08-18 14:23:46 +09:30
cryptopkt.h protocol: use separate ack packet. 2016-08-18 14:23:46 +09:30
db.c htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
db.h htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
dns.c dns: don't allow non-stream sockets. 2016-01-22 06:41:49 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
failure.c htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
failure.h htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
feechange_state.h daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
feechange.c daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
feechange.h daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09:30
htlc.c peer: save/load results in database. 2016-08-18 14:25:14 +09:30
htlc.h htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
json.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
json.h pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
jsonrpc.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
jsonrpc.h pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
lightning-cli.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
lightningd.c pay: make interface idempotent. 2016-08-31 16:04:59 +09:30
lightningd.h pay: make interface idempotent. 2016-08-31 16:04:59 +09:30
log.c log: ability to log struct rval. 2016-08-17 14:46:42 +09:30
log.h log: ability to log struct rval. 2016-08-17 14:46:42 +09:30
Makefile htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
netaddr.c peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
netaddr.h peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
onion.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
onion.h pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
opt_time.c daemon: test restarting. 2016-08-18 14:25:14 +09:30
opt_time.h daemon: test restarting. 2016-08-18 14:25:14 +09:30
output_to_htlc.c daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 2016-08-18 14:23:45 +09:30
output_to_htlc.h daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 2016-08-18 14:23:45 +09:30
packets.c htlc: save fail message in HTLC. 2016-08-31 14:51:41 +09:30
packets.h daemon: accept feechange packets. 2016-08-26 15:33:30 +09:30
pay.c pay: split into getroute and sendpay 2016-08-31 16:06:08 +09:30
pay.h pay: make interface idempotent. 2016-08-31 16:04:59 +09:30
payment.c daemon: payment infrastructure. 2016-07-01 11:59:15 +09:30
payment.h daemon: payment infrastructure. 2016-07-01 11:59:15 +09:30
peer.c peer: fix close before their sig has been received in corner case. 2016-08-31 16:06:31 +09:30
peer.h pay: make interface idempotent. 2016-08-31 16:04:59 +09:30
pseudorand.c daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
pseudorand.h daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
routing.c routing: Fix for single hop routes segfaulting. 2016-08-26 15:39:35 +09:30
routing.h daemon: --add-route option. 2016-08-18 14:25:14 +09:30
secrets.c db.c: database API. 2016-08-18 14:25:13 +09:30
secrets.h db.c: database API. 2016-08-18 14:25:13 +09:30
timeout.c timeout: make all timers one-shot. 2016-05-10 06:26:09 +09:30
timeout.h timeout: make all timers one-shot. 2016-05-10 06:26:09 +09:30
wallet.c peer: save/load results in database. 2016-08-18 14:25:14 +09:30
wallet.h db.c: database API. 2016-08-18 14:25:13 +09:30
watch.c watch: make it easier for them to self-delete. 2016-07-01 12:00:17 +09:30
watch.h watch: make it easier for them to self-delete. 2016-07-01 12:00:17 +09:30