diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-09-28 13:46:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-09-28 16:39:15 +0200 |
commit | 9a8e9167f2636fdc2fc047dfed1747920b0f047f (patch) | |
tree | a8a8ab490e3a53f7fc4b17c16e17f73ba99d3af7 /src/netbase.cpp | |
parent | 4202273ffa45bb175ef5b55eb3025b52fc7d4c26 (diff) | |
parent | 395cef7601479b97f5794b0c98067c859f00fc7f (diff) |
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
Diffstat (limited to 'src/netbase.cpp')
0 files changed, 0 insertions, 0 deletions