After updating from Bitcoin core 0.16.3 to 0.17 I've found several RPC calls are now broken, and I'm not sure on how to migrate/update my code (PHP).
Things broken so far:
getbalance
: does not detect unconfirmed balance, this command shows only confirmed balance where it used to (and should) show confirmed+unconfirmed balance. Expected to work like in 0.16.3.$btc->getbalance("*", 0);
listunspent
: does not detect unconfirmed inputs, showing nothing and returning error stating "Invalid amount". Expected to work like in 0.16.3.$btc->listunspent(0, 9999999, array(), true, array("minimumAmount" => 0.00005));
I will add more to the list as they get discovered. There is no mention of these issues online, in the 0.17 changelog or anywhere else I could find.
Already updated some other php code that used validateaddress
deprecated call and a couple more, probably still missing some editing here.
How to restore functionality as expected? Thanks.