core-lightning/gossipd/test
Rusty Russell 71f736678f lightningd: make sure gossipd knows before we update blockheight.
Without this, we can get spurious failures from lnprototest, which
is waiting for lightningd to acknowledge the blockheight in getinfo:

```
2021-12-21T00:56:21.460Z DEBUG   lightningd: Adding block 109: 57a7bd3ade3a88a899e5b442075e9722ccec07e0205f9a913b304a3e2e038e26
2021-12-21T00:56:21.470Z DEBUG   lightningd: Adding block 110: 11a280eb76f588e92e20c39999be9d2baff016c3c6bac1837b649a270570b7dd
2021-12-21T00:56:21.479Z DEBUG   lightningd: Adding block 111: 02977fc9529b2ab4e0a805c4bc1bcfbff5a4e6577a8b31266341d22e204a1d27
2021-12-21T00:56:21.487Z DEBUG   lightningd: Adding block 112: 2402f31c5ddfc9e847e8bbfb7df084d29a5d5d936a4358c109f2f4cf9ea8d828
2021-12-21T00:56:21.496Z DEBUG   lightningd: Adding block 113: 5a561fe9423b4df33f004fc09985ee3ef38364d692a56a8b27ecbc6098a16d39
2021-12-21T00:56:21.505Z DEBUG   lightningd: Adding block 114: 4502f5ec23c89177872846848848322e8fa6c3fb6f5eb361194e4cd47596dfe9
2021-12-21T00:56:21.511Z DEBUG   02f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9-gossipd: Ignoring future channel_announcment for 109x1x0 (current block 108)
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-01-20 15:24:06 +10:30
..
.gitignore gossipd/test/run-bench-find_route: don't abort if we try to route to ourselves 2017-12-20 13:57:28 +01:00
Makefile test: hack in test for (now-obsolete!) test vector Thomas emailed me. 2021-12-01 05:44:28 +10:30
run-check_channel_announcement.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
run-check_node_announcement.c update mocks 2022-01-20 15:24:06 +10:30
run-crc32_of_update.c update mocks 2022-01-20 15:24:06 +10:30
run-extended-info.c update mocks 2022-01-20 15:24:06 +10:30
run-next_block_range.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
run-onion_message.c lightningd: make sure gossipd knows before we update blockheight. 2022-01-20 15:24:06 +10:30
run-txout_failure.c common: cleanup unsused parameter in timer_expired() 2021-12-14 09:33:10 +10:30