mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
This commit is contained in:
parent
e3bc569865
commit
c625ae04d2
11 changed files with 215 additions and 197 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue