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;
2727using namespace json_spirit ;
2828using namespace std ;
2929
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+ **/
3043Value getinfo (const Array& params, bool fHelp )
3144{
3245 if (fHelp || params.size () != 0 )
You can’t perform that action at this time.
0 commit comments