rgb-cln/daemon
Rusty Russell 190b30e958 daemon: test restarting.
We add a "dev-restart" command which causes the daemon to close fds
and exec itself.  Then we do it after every command, with the caveat
that we always send a commit before newhtlc, because if not committed,
that is forgotten.  Fulfillhtlc and failhtlc get resent, since they're
idempotent.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-08-18 14:25:14 +09:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test daemon: test restarting. 2016-08-18 14:25:14 +09:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
Makefile db.c: database API. 2016-08-18 14:25:13 +09: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 channel: use u64 for fee_rate everywhere. 2016-08-18 14:25:13 +09:30
channel.h channel: use u64 for fee_rate everywhere. 2016-08-18 14:25:13 +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 db.c: database API. 2016-08-18 14:25:13 +09:30
db.h db.c: database API. 2016-08-18 14:25:13 +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
htlc.c peer: save/load results in database. 2016-08-18 14:25:14 +09:30
htlc.h peer: save/load results in database. 2016-08-18 14:25:14 +09:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09: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: test restarting. 2016-08-18 14:25:14 +09:30
jsonrpc.h daemon: reconnect support. 2016-08-18 14:25:08 +09:30
lightning-cli.c lightning-cli: don't print junk on error. 2016-05-26 15:25:25 +09:30
lightningd.c daemon: test restarting. 2016-08-18 14:25:14 +09:30
lightningd.h daemon: test restarting. 2016-08-18 14:25:14 +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
netaddr.c netaddr: routines to linearize/delinearize. 2016-08-18 14:23:45 +09:30
netaddr.h netaddr: routines to linearize/delinearize. 2016-08-18 14:23:45 +09:30
onion.c base58, script, protobuf_convert: don't use temporary secp256k1 context. 2016-07-01 12:00:17 +09:30
onion.h base58, script, protobuf_convert: don't use temporary secp256k1 context. 2016-07-01 12:00:17 +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 Minor cleanups: things found while debugging the database code. 2016-08-18 14:25:13 +09:30
packets.h daemon: reconnect support. 2016-08-18 14:25:08 +09:30
pay.c base58, script, protobuf_convert: don't use temporary secp256k1 context. 2016-07-01 12:00:17 +09:30
pay.h htlc: keep rval (if known). 2016-07-01 12:00:17 +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: save/load results in database. 2016-08-18 14:25:14 +09:30
peer.h peer: save/load results in database. 2016-08-18 14:25:14 +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 peer: save/load results in database. 2016-08-18 14:25:14 +09:30
routing.h routing: use ids, not nodes in interface. 2016-08-18 14:25:13 +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