RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module

This commit is contained in:
Jeff Garzik
2012-08-21 11:03:38 -04:00
committed by Jeff Garzik
parent e3bc569865
commit c625ae04d2
11 changed files with 215 additions and 197 deletions

View File

@@ -11,9 +11,6 @@
using namespace json_spirit;
using namespace std;
extern double GetDifficulty(const CBlockIndex* blockindex = NULL);
extern std::string HexBits(unsigned int nBits);
Value getgenerate(const Array& params, bool fHelp)
{
if (fHelp || params.size() != 0)