You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rusty Russell
f1af56fcee
daemon: save acked changes, so we can process them when confirmed on both sides.
We need to know when changes are fully committed by both sides:
1) For their HTLC_ADDs, this is when we can fulfill/fail/route.
2) For their HTLC_FAILs, this is when we can fail incoming.
For HTLC_FULFULL we don't need to wait: as soon as we know the preimage
we can propogate it.
For the moment, we simply log and assert; acting on it comes later.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago
..
jsmn @ bd9bd55c3a
daemon/jsmn: Add submodule for jsmn.
9 years ago
test
daemon: save acked changes, so we can process them when confirmed on both sides.
9 years ago
.gitignore
daemon: first code.
9 years ago
Makefile
Makefile: fix submodule.
9 years ago
bitcoind.c
daemon: handle bitcoin transaction re-broadcasting.
9 years ago
bitcoind.h
daemon: handle bitcoin transaction re-broadcasting.
9 years ago
chaintopology.c
daemon: time options use opt_time.
9 years ago
chaintopology.h
chaintopology: simply track txids, not watches.
9 years ago
configdir.c
daemon: configuration directory (default ~/.lightning).
9 years ago
configdir.h
daemon: configuration directory (default ~/.lightning).
9 years ago
controlled_time.c
daemon: make json_get_param() understand which args are compulsory.
9 years ago
controlled_time.h
daemon: dev-mocktime command
9 years ago
cryptopkt.c
protocol: remove ack fields.
9 years ago
cryptopkt.h
protocol: remove ack fields.
9 years ago
dns.c
dns: don't allow non-stream sockets.
9 years ago
dns.h
daemon: rename 'state' to 'dstate' everywhere.
9 years ago
json.c
daemon: dev-output command.
9 years ago
json.h
daemon: dev-output command.
9 years ago
jsonrpc.c
daemon: dev-output command.
9 years ago
jsonrpc.h
daemon: dev-output command.
9 years ago
lightning-cli.c
lightning-cli: don't print junk on error.
9 years ago
lightningd.c
daemon: commit outstanding changes via timer.
9 years ago
lightningd.h
daemon: commit outstanding changes via timer.
9 years ago
log.c
log: use real time for logs, even if dev-mocktime is used.
9 years ago
log.h
daemon: add helper to log hex.
9 years ago
netaddr.c
daemon: netaddr
9 years ago
netaddr.h
daemon: netaddr
9 years ago
opt_time.c
daemon: time option support.
9 years ago
opt_time.h
daemon: time option support.
9 years ago
packets.c
daemon: save acked changes, so we can process them when confirmed on both sides.
9 years ago
peer.c
daemon: save acked changes, so we can process them when confirmed on both sides.
9 years ago
peer.h
daemon: save acked changes, so we can process them when confirmed on both sides.
9 years ago
pseudorand.c
daemon: first code.
9 years ago
pseudorand.h
daemon: first code.
9 years ago
secrets.c
fix formatting issues
9 years ago
secrets.h
daemon: handle cheating.
9 years ago
timeout.c
timeout: make all timers one-shot.
9 years ago
timeout.h
timeout: make all timers one-shot.
9 years ago
wallet.c
daemon/wallet: supply a p2wpkh address (as P2SH address).
9 years ago
wallet.h
daemon: keep track of simple addresses for injecting funds.
9 years ago
watch.c
watch: depth callback is always >= 0
9 years ago
watch.h
watch: depth callback is always >= 0
9 years ago