HomePhabricator

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

Description

Merge #12198: rpc: Add deprecation error for getinfo

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

Reviewers: jasonbcox, Fabien, #bitcoin_abc, deadalnix

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D3182

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jan 17 2018, 11:07
Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com>Committed on Jun 3 2019, 17:42
markblundebergPushed on Jun 3 2019, 17:42
Reviewer
Restricted Project
Differential Revision
D3182: Merge #12198: rpc: Add deprecation error for `getinfo`
Parents
rABC3979bf03baa4: Merge #12333: Make CWallet::ListCoins atomic
Branches
Unknown
Tags
Unknown

Event Timeline