rgb-cln/daemon
Rusty Russell b423b33236 protocol: implement close as per BOLT #2.
We don't actually implement closing when we have HTLCs (we should
allow it, as that's what the clearing phase is for), since soon we'll
rewrite HTLC to match the async HTLC protocol of BOLT #2.

Note that this folds the close paths, using a simple check if we have
a close transaction.  That's a slight state layer violation, but
reduces code duplication.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-03-24 12:09:41 +10:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test test: don't reply on specific bitcoin.conf settings. 2016-03-15 17:08:42 +10:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
Makefile Makefile: clean daemon files with make clean. 2016-03-08 10:32:15 +10:30
bitcoind.c daemon: add --bitcoin-datadir for bitcoin-cli. 2016-03-15 17:08:40 +10:30
bitcoind.h daemon: add --bitcoin-datadir for bitcoin-cli. 2016-03-15 17:08:40 +10: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 cryptopkt: implement ack callbacks. 2016-03-24 12:03:44 +10:30
cryptopkt.h cryptopkt: implement ack callbacks. 2016-03-24 12:03:44 +10: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: make json_get_param() understand which args are compulsory. 2016-03-15 17:07:30 +10:30
json.h daemon: make json_get_param() understand which args are compulsory. 2016-03-15 17:07:30 +10:30
jsonrpc.c daemon: make json_get_param() understand which args are compulsory. 2016-03-15 17:07:30 +10:30
jsonrpc.h daemon: close command. 2016-01-22 06:45:28 +10:30
lightning-cli.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
lightningd.c protocol: implement close as per BOLT #2. 2016-03-24 12:09:41 +10:30
lightningd.h daemon: close command. 2016-01-22 06:45:28 +10:30
log.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
log.h daemon: add helper to log hex. 2016-01-22 06:41:48 +10: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
packets.c protocol: implement close as per BOLT #2. 2016-03-24 12:09:41 +10:30
peer.c protocol: implement close as per BOLT #2. 2016-03-24 12:09:41 +10:30
peer.h protocol: implement close as per BOLT #2. 2016-03-24 12:09:41 +10: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: implement unilateral commit. 2016-01-22 06:45:28 +10:30
secrets.h daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
timeout.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
timeout.h timeout: oneshot timer support. 2016-01-22 06:45:27 +10:30
watch.c daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
watch.h daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30