From ad70a28f2fb3118ccfd609a2a6c272ec475457a9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 3 Feb 2017 09:36:35 +0200 Subject: [PATCH] disable getchaintips --- src/rpcserver.cpp | 2 +- src/rpcserver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index e47c929a2..cde0ed095 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -291,7 +291,7 @@ static const CRPCCommand vRPCCommands[] = { "blockchain", "getblockcount", &getblockcount, true }, { "blockchain", "getblock", &getblock, true }, { "blockchain", "getblockhash", &getblockhash, true }, - { "blockchain", "getchaintips", &getchaintips, true }, + //{ "blockchain", "getchaintips", &getchaintips, true }, { "blockchain", "getdifficulty", &getdifficulty, true }, { "blockchain", "getmempoolinfo", &getmempoolinfo, true }, { "blockchain", "getrawmempool", &getrawmempool, true }, diff --git a/src/rpcserver.h b/src/rpcserver.h index 0fda9571f..9a5c02dca 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -255,7 +255,7 @@ extern json_spirit::Value paxprices(const json_spirit::Array& params, bool fHelp extern json_spirit::Value paxdeposit(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value paxwithdraw(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value verifychain(const json_spirit::Array& params, bool fHelp); -extern json_spirit::Value getchaintips(const json_spirit::Array& params, bool fHelp); +//extern json_spirit::Value getchaintips(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value invalidateblock(const json_spirit::Array& params, bool fHelp); extern json_spirit::Value reconsiderblock(const json_spirit::Array& params, bool fHelp);