Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
First time bitcoin-cli uptime is called, output is always zero.
Expected behaviour
Expected behavior should be first time invocation of bitcoin-cli uptime shows the actual bitcoind uptime.
Steps to reproduce
On Linux:
./build/bin/bitcoind -regtest -daemonsleep 10./build/bin/bitcoin-cli -regtest uptime
Output is zero, while non-zero is expected.
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v30.99.0-c0e6556e4f51
Operating system and version
Ubuntu 22.04.5 LTS
Machine specifications
No response