File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,19 @@ using namespace boost::assign;
27
27
using namespace json_spirit ;
28
28
using namespace std ;
29
29
30
+ /* *
31
+ * @note Do not add or change anything in the information returned by this
32
+ * method. `getinfo` exists for backwards-compatibilty only. It combines
33
+ * information from wildly different sources in the program, which is a mess,
34
+ * and is thus planned to be deprecated eventually.
35
+ *
36
+ * Based on the source of the information, new information should be added to:
37
+ * - `getblockchaininfo`,
38
+ * - `getnetworkinfo` or
39
+ * - `getwalletinfo`
40
+ *
41
+ * Or alternatively, create a specific query method for the information.
42
+ **/
30
43
Value getinfo (const Array& params, bool fHelp )
31
44
{
32
45
if (fHelp || params.size () != 0 )
You can’t perform that action at this time.
0 commit comments