I'm using utreexod, which is based on btcd. The uptime command returns the current time:
~/utreexod/utreexod$ ./utreexoctl --datadir=/mnt/T9/utreexod/bridge-assume-prune uptime
1719253093
~/utreexod/utreexod$ date +%s
1719253095
Looks like this happens because the startupTime in the server struct is 0 when its set in the rpc server config. startupTime is set later when the server Start() is called.
I'm using utreexod, which is based on btcd. The uptime command returns the current time:
~/utreexod/utreexod$ ./utreexoctl --datadir=/mnt/T9/utreexod/bridge-assume-prune uptime 1719253093 ~/utreexod/utreexod$ date +%s 1719253095
Looks like this happens because the startupTime in the server struct is 0 when its set in the rpc server config. startupTime is set later when the server Start() is called.