Files
lightning/lightningd
Rusty Russell 7b9f1b72c6 lightningd: don't print zero blockheight while we're syncing.
In v0.11 (71f736678f) we changed lightningd to wait for gossipd to
acknowledge blocks before updating blockheight: this resolved a problem
which lnprototest had where it wanted to know when we'd fully digested
a block.

However, it broke the syncing case: until then we don't even tell
gossipd, so this stayed at zero.  We should use the current blockheight
for that corner case!

Fixes: #5894
Changelog-Fixed: JSON-RPC: `getinfo` `blockheight` no longer sits on 0 while we sync with bitcoind the first time.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-02-06 10:15:48 -06:00
..
2022-07-15 12:24:00 -05:00
2022-07-15 12:24:00 -05:00
2023-01-21 08:05:31 -06:00
2022-03-10 09:40:09 +10:30
2022-09-19 10:18:55 +09:30
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00