Rusty Russell
fc05779f78
subdaemons: pass back and forth the htlc points.
...
Openingd sets it to the same as the payment point for the remote side.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-11-16 17:40:57 +01:00
Rusty Russell
4db460903a
htlc_tx: wire up the htlc points.
...
All the callers need to pass it in: currently channeld and openingd just
fake it by copying the payment point.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-11-16 17:40:57 +01:00
Rusty Russell
f32e0b35ad
Revert "Send/receive cltv_expiry_delta in open/accept channel."
...
This reverts commit 18e3f9820f
.
2017-10-11 11:54:50 +02:00
Rusty Russell
18e3f9820f
Send/receive cltv_expiry_delta in open/accept channel.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-10-10 20:17:37 +02:00
Rusty Russell
e137e2527f
Update BOLT references with typo fixes.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-10-10 20:17:37 +02:00
Rusty Russell
96a85a786c
opening: save the correct commitment tx when we are the fundee.
...
We were saving *our* commitment tx, not theirs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-28 13:07:05 +09:30
Rusty Russell
ef28b6112c
status: use common status codes for all the failures.
...
This change is really to allow us to have a --dev-fail-on-subdaemon-fail option
so we can handle failures from subdaemons generically.
It also neatens handling so we can have an explicit callback for "peer
did something wrong" (which matters if we want to close the channel in
that case).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-12 23:00:53 +02:00
Rusty Russell
80c6db865b
openingd: set channel_id on failure messages.
...
"zero" means all channels, which works, but is overkill.
Fixes : #262
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-06 19:57:53 +02:00
Rusty Russell
bbed5e3411
Rename subdaemons, move them into top level.
...
We leave the *build* results in lightningd/ for ease of in-place testing though.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 17:54:14 +02:00