]> Git Repo - VerusCoin.git/blobdiff - src/httprpc.cpp
Build fix
[VerusCoin.git] / src / httprpc.cpp
index 519798d347badb458efbc199dd86dfdb251512f1..e8dca1c6f6ba0d9219af111f75b7b9136d224f22 100644 (file)
@@ -1,10 +1,10 @@
 #include "httprpc.h"
 
-#include "base58.h"
 #include "chainparams.h"
 #include "httpserver.h"
-#include "rpcprotocol.h"
-#include "rpcserver.h"
+#include "key_io.h"
+#include "rpc/protocol.h"
+#include "rpc/server.h"
 #include "random.h"
 #include "sync.h"
 #include "util.h"
@@ -136,6 +136,12 @@ static bool HTTPReq_JSONRPC(HTTPRequest* req, const std::string &)
                 return false;
             }
 
+            extern bool printoutAPI;
+            if (printoutAPI ==  true)
+            {
+                printf("%s %s\n", jreq.strMethod.c_str(), jreq.params.write().c_str());
+            }
+
             UniValue result = tableRPC.execute(jreq.strMethod, jreq.params);
 
             // Send reply
This page took 0.023274 seconds and 4 git commands to generate.