1
OSX Sierra
it seems all the other command bitcoin-cli working on my Mac, except,
bitcoin-cli getinfo only always returns an error.
$ bitcoin-cli getinfo error code: -28
error message:
Rewinding blocks...
Why does it happen?
1
OSX Sierra
it seems all the other command bitcoin-cli working on my Mac, except,
bitcoin-cli getinfo only always returns an error.
$ bitcoin-cli getinfo error code: -28
error message:
Rewinding blocks...
Why does it happen?
3
Wait a few minutes and the error will be gone.
The source code defines error 28 as
Client still warming up
-1
use bitcoin-cli -getinfo instead of getinfo
thank you for reply. After waiting 20 minutes, message was changed into "error code: -32601 error message: Method not found" – user6894661 – 2017-09-21T03:48:12.573
That's because
getinfowas removed. It's marked as deprecated with a warning in 0.15, but apparently you're running master (which will become 0.16, withgetinforemoved). – Pieter Wuille – 2017-09-21T05:21:25.217You should use
getwalletinfo,getblockchaininfo,getpeerinfo,getnetworkinfo, ... to request more specific information. – Pieter Wuille – 2017-09-21T05:22:16.853I tried these commands you showed then I got return! Thank you! – user6894661 – 2017-09-21T10:49:46.137