This PR updates several tests and then removes the getunconfirmedbalance
RPC which was deprecated in facfb4111d14a3b06c46690a2cca7ca91cea8a96 a year ago.
Next steps: remove the deprecated getwalletinfo
fields and the getbalance
RPC in follow-ups, if there seems to be consensus on those removals.
Update:
getunconfirmedbalance
RPC was deprecated in facfb4111d14a3b06c46690a2cca7ca91cea8a96 a year ago, but following the review comments below, this PR now only updates the test coverage to use getbalances
while still leaving basic coverage for getunconfirmedbalance
in wallet_balance.py.
That said, I’ve seen 3 regular contributors confused in the past 10 days by “DEPRECATED” warnings in the code that are not following the deprecation policy in JSON-RPC-interface.md#versioning.
ISTM these warnings should either be removed, or the calls deprecated (-deprecatedrpc
), or the policy updated to describe these warnings as a pre-deprecation practice.