core-lightning/daemon
Rusty Russell d4862938c8 daemon: move unacked queue into commit_info struct.
We're about to allow changes while we're waiting for a commit ack.
This means we can't have a single "unacked changes" queue; when we
receive the revocation reply, we need to apply the unacked changes
known at the time we sent the commit, not any we've created since
then.

Note that we still only have a single staged_commit; we never have two
outstanding commits, since for simplicity we will still block
following update_commit pending the reply to the current one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-05-26 15:25:25 +09:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test test: add --crash option to cause nodes to crash dump on test failure. 2016-05-26 15:25:25 +09:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c daemon: handle bitcoin transaction re-broadcasting. 2016-05-04 16:03:10 +09:30
bitcoind.h daemon: handle bitcoin transaction re-broadcasting. 2016-05-04 16:03:10 +09:30
chaintopology.c daemon: time options use opt_time. 2016-05-10 06:29:12 +09:30
chaintopology.h chaintopology: simply track txids, not watches. 2016-05-04 16:10:37 +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: make json_get_param() understand which args are compulsory. 2016-03-15 17:07:30 +10:30
controlled_time.h daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
cryptopkt.c protocol: remove ack fields. 2016-05-26 15:25:24 +09:30
cryptopkt.h protocol: remove ack fields. 2016-05-26 15:25:24 +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
json.c daemon: dev-output command. 2016-05-26 15:25:24 +09:30
json.h daemon: dev-output command. 2016-05-26 15:25:24 +09:30
jsonrpc.c daemon: dev-output command. 2016-05-26 15:25:24 +09:30
jsonrpc.h daemon: dev-output command. 2016-05-26 15:25:24 +09:30
lightning-cli.c lightning-cli: don't print junk on error. 2016-05-26 15:25:25 +09:30
lightningd.c daemon: commit outstanding changes via timer. 2016-05-10 06:30:11 +09:30
lightningd.h daemon: commit outstanding changes via timer. 2016-05-10 06:30:11 +09:30
log.c log: use real time for logs, even if dev-mocktime is used. 2016-04-24 19:35:13 +09:30
log.h daemon: add helper to log hex. 2016-01-22 06:41:48 +10:30
Makefile daemon: time option support. 2016-05-10 06:28:17 +09:30
netaddr.c daemon: netaddr 2016-01-22 06:41:48 +10:30
netaddr.h daemon: netaddr 2016-01-22 06:41:48 +10:30
opt_time.c daemon: time option support. 2016-05-10 06:28:17 +09:30
opt_time.h daemon: time option support. 2016-05-10 06:28:17 +09:30
packets.c daemon: move unacked queue into commit_info struct. 2016-05-26 15:25:25 +09:30
peer.c daemon: move unacked queue into commit_info struct. 2016-05-26 15:25:25 +09:30
peer.h daemon: move unacked queue into commit_info struct. 2016-05-26 15:25:25 +09:30
pseudorand.c daemon: first code. 2016-01-22 06:41:47 +10:30
pseudorand.h daemon: first code. 2016-01-22 06:41:47 +10:30
secrets.c daemon: use "local" and "remote" instead of "us" and "them". 2016-05-26 15:25:24 +09:30
secrets.h daemon: handle cheating. 2016-05-06 11:56:55 +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 daemon/wallet: supply a p2wpkh address (as P2SH address). 2016-04-12 14:17:46 +09:30
wallet.h daemon: keep track of simple addresses for injecting funds. 2016-04-12 13:07:03 +09:30
watch.c watch: depth callback is always >= 0 2016-05-04 16:10:39 +09:30
watch.h watch: depth callback is always >= 0 2016-05-04 16:10:39 +09:30