core-lightning/daemon
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side.
BOLT has been updated, so update code and comments.  The receiving
side check is sufficient, as the limit is per-offerer, and that's the
only way the HTLCs get back to the offerer's side.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-07-01 12:00:17 +09:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test htlc: implement deadline as per BOLT. 2016-07-01 12:00:17 +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: don't ever use timeouts in seconds, always blocks, 2016-07-01 12:00:17 +09:30
chaintopology.h daemon: pay command. 2016-07-01 12:00:17 +09:30
channel.c daemon: use htlc pointers everywhere. 2016-07-01 12:00:17 +09:30
channel.h daemon: use htlc pointers everywhere. 2016-07-01 12:00:17 +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
htlc.h htlc: implement deadline as per BOLT. 2016-07-01 12:00:17 +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: pay command. 2016-07-01 12:00:17 +09:30
jsonrpc.h daemon: pay command. 2016-07-01 12:00:17 +09:30
lightning-cli.c lightning-cli: don't print junk on error. 2016-05-26 15:25:25 +09:30
lightningd.c htlc: implement deadline as per BOLT. 2016-07-01 12:00:17 +09:30
lightningd.h htlc: implement deadline as per BOLT. 2016-07-01 12:00:17 +09:30
log.c log: logging for HTLCs. 2016-07-01 12:00:17 +09:30
log.h log: logging for HTLCs. 2016-07-01 12:00:17 +09:30
Makefile daemon: pay command. 2016-07-01 12:00: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
onion.c daemon: onion routing API 2016-07-01 12:00:17 +09:30
onion.h daemon: onion routing API 2016-07-01 12:00:17 +09: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 htlc_add: only limit is on receiving side. 2016-07-01 12:00:17 +09:30
pay.c htlc: keep rval (if known). 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 htlc_add: only limit is on receiving side. 2016-07-01 12:00:17 +09:30
peer.h daemon: pay command. 2016-07-01 12:00:17 +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 daemon: add dev-routefail command. 2016-07-01 12:00:17 +09:30
routing.h daemon: routing infrastructure. 2016-07-01 12:00:17 +09:30
secrets.c peer: handle fulfull and fail onchain. 2016-07-01 12:00:17 +09:30
secrets.h peer: handle fulfull and fail onchain. 2016-07-01 12:00:17 +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: 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