Christian Decker
227dc36146
utxo: Add blockheight and spendheight to outputs to track state
...
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-03-06 18:59:27 +01:00
John Barboza
31b9b6bc1c
clear onchaind subd in channel on error
...
When the subdaemon closes unexpectedly, clear the reference and
update the channel billboard with the description
2018-03-04 16:29:44 +01:00
Rusty Russell
cccdb53bec
channel_states: fold all the ONCHAIND states into one.
...
The billboard is now far more useful to tell what's going on, and this
gets us closer to a state == owner mapping.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-23 18:02:00 +01:00
Rusty Russell
26b004e5af
subd: handle status_peer_billboard messages from subdaemons.
...
We use a callback which updates the appropriate slot.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-23 18:02:00 +01:00
practicalswift
f24eae60b7
Remove unused parameter why in delete_channel(..., const char *why)
2018-02-22 10:46:30 +01:00
Rusty Russell
e92b710406
tools/generate-wire.py: remove length argument from fromwire_ routines.
...
We always hand in "NULL" (which means use tal_len on the msg), except
for two places which do that manually for no good reason.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-20 22:36:21 +01:00
Rusty Russell
719290a4c4
txwatch: remove unused callback arg, hide struct definitions.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-20 22:36:21 +01:00
Rusty Russell
372040bbd5
lightningd/onchain_control: routines to control onchaind (move from peer_control.c)
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-20 22:36:21 +01:00