core-lightning/onchaind
Rusty Russell 25cb8caae8 onchaind: fix confusing message about delayed txs.
We say "in N blocks" but we actually mean "N blocks after this tx" which is
actually N-1 or less.  Change wording and tighten tests which misunderstood
this.

Also, the 'assert not l1.daemon.is_in_log('onchaind complete, forgetting peer')'
are unlikely to work until the daemon has actually seen the block, so add
sync_blockheight before all of those.

These changes reveal some sloppy testing, which we fix.
  
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-07 18:55:51 +01:00
..
Makefile onchaind: keep billboard uptodate. 2018-02-23 18:02:00 +01:00
onchain_types.h onchaind: add a new state for where we're not producing an output. 2018-03-07 18:55:51 +01:00
onchain_wire.c Rename subdaemons, move them into top level. 2017-08-29 17:54:14 +02:00
onchain_wire.csv channel_states: fold all the ONCHAIND states into one. 2018-02-23 18:02:00 +01:00
onchain_wire.h Fix a-vs-an typos 2018-02-08 22:49:34 +01:00
onchain.c onchaind: fix confusing message about delayed txs. 2018-03-07 18:55:51 +01:00