Open davidebaldini opened 8 years ago
I'll investigate this problem later when I have bitcoind
set up to test. I'm not sure what has changed recently in Bitcoin to break this, as the JSONRPC should still be the same.
Update: Today I discovered Bitcoin has reached 60GB. That makes it expensive to spin up a server. Do you know if this affects other coins (ones with a less ridiculous sized blockchain?) such as Litecoin, Dogecoin or Namecoin?
After minimal debugging I found that this error 500 is simply due to header.php
calling $nmc->walletlock()
with an unencrypted wallet. AFAIK this is not supported by bitcoind and causes the error response. Apart from this, no actual disruption seems to occur at all.
From jsonRPCClient.php, line 132:
the exception is thrown by simply invoking
$ php5 index.php
from the console. The output I get is;The credentials are set and the daemon is running. Fore reference, with curl I get:
The
getbalance
lines fromindex.php
are modified as suggested here.