Page MenuHomePhabricator

Merge #12198: rpc: Add deprecation error for `getinfo`
ClosedPublic

Authored by markblundeberg on Jun 3 2019, 15:16.

Details

Summary

PR12198 backport https://github.com/bitcoin/bitcoin/pull/12198/files
49e5f3f rpc: Add deprecation error for getinfo (Wladimir J. van der Laan)

Pull request description:

Add a short informative deprecation message when users use `getinfo`, that points them to the new calls
 here to get the different information fields.
This is meant to be temporary, for one release only.

Depends on D3120

Test Plan

make check
test_runner.py
Try it out:
bitcoin-cli getinfo
bitcoin-cli -getinfo

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 3 2019, 15:56