Merge #10858: [RPC] Add "errors" field to getblockchaininfo and unify "errors" field...
commit9a8e9167f2636fdc2fc047dfed1747920b0f047f
authorWladimir J. van der Laan <laanwj@gmail.com>
Thu, 28 Sep 2017 11:46:00 +0000 (28 13:46 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Thu, 28 Sep 2017 14:39:15 +0000 (28 16:39 +0200)
treea8a8ab490e3a53f7fc4b17c16e17f73ba99d3af7
parent4202273ffa45bb175ef5b55eb3025b52fc7d4c26
parent395cef7601479b97f5794b0c98067c859f00fc7f
Merge #10858: [RPC] Add "errors" field to getblockchaininfo and unify "errors" field in get*info RPCs

395cef7 Change getmininginfo errors field to warnings (Andrew Chow)
8502b20 Unify help text for GetWarnings output in get*info RPCs (Andrew Chow)
f77f0e4 Add warnings field to getblockchaininfo (Andrew Chow)

Pull request description:

  The `getblockchaininfo` output does not contain the `errors` field which the `getinfo`, `getmininginfo`, and `getnetworkinfo` RPCs have. It should have it as the errors pertain to the blockchain. This PR adds that field.

  This PR also unifies the help text for the `errors` field and its output position so that all of the `get*info` commands are consistent.

  `getnetworkinfo`'s `errors` field is named `warnings`. I did not change this even though it is inconsistent since this naming has been in use for a long time.

Tree-SHA512: 385ab6acfee67fc8816f4d51ab2bd7a623264c7973906dfbab0a171f199e9db16fde19093a5bc3dfbdd4ff5f19d2186b646eb6b3bae0a4d7c9add43650a4a9d9