Files
lightning/lightningd
Rusty Russell d04b7af56e onchain: add initial onchain state.
We have a race where we start onchaind, but state is unchanged, so checks
like peer_control.c's:

	peer_ready = (peer->owner && peer->state == CHANNELD_AWAITING_LOCKIN);
	if (!peer_ready) {
		log_unusual(peer->log,
			    "Funding tx confirmed, but peer state %s %s",
			    peer_state_name(peer->state),
			    peer->owner ? peer->owner->name : "unowned");
	} else {
		subd_send_msg(peer->owner,
			      take(towire_channel_funding_locked(peer,
								 peer->scid)));
	}

Can send to the wrong daemon.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-28 13:07:05 +09:30
..
2017-09-12 22:59:24 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-09-28 13:07:05 +09:30
2017-08-29 17:54:14 +02:00