Organize RPCCommands table

Use sensible categories (overall control, P2P, blockchain/UTXO and
mining, wallet, wallet-enabled mining) and sort within each.

Also remove unnecessary #ifdef ENABLE_WALLET from `rpcnet.cpp`.

Functionality-neutral change.
This commit is contained in:
Wladimir J. van der Laan
2014-03-26 12:26:43 +01:00
parent ad603f815f
commit ab88ed93ef
2 changed files with 58 additions and 53 deletions

View File

@@ -10,10 +10,6 @@
#include "protocol.h"
#include "sync.h"
#include "util.h"
#ifdef ENABLE_WALLET
#include "init.h" // for getinfo
#include "wallet.h" // for getinfo
#endif
#include <boost/foreach.hpp>
#include "json/json_spirit_value.h"