Remove Komodo interest code and various other improvements
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <boost/assign/list_of.hpp>
|
||||
#include <univalue.h>
|
||||
#include "zcash/Address.hpp"
|
||||
#include "build.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -54,7 +55,6 @@ using namespace std;
|
||||
* Or alternatively, create a specific query method for the information.
|
||||
**/
|
||||
|
||||
uint64_t komodo_interestsum();
|
||||
int32_t hush_longestchain();
|
||||
int32_t hush_notarized_height(int32_t *prevMoMheightp,uint256 *hashp,uint256 *txidp);
|
||||
bool komodo_txnotarizedconfirmed(uint256 txid);
|
||||
@@ -275,6 +275,7 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
||||
#endif
|
||||
obj.push_back(Pair("sapling", ASSETCHAINS_SAPLING));
|
||||
}
|
||||
obj.push_back(Pair("build_date", BUILD_DATE));
|
||||
obj.push_back(Pair("timeoffset", 0));
|
||||
obj.push_back(Pair("connections", (int)vNodes.size()));
|
||||
obj.push_back(Pair("tls_connections", (int)std::count_if(vNodes.begin(), vNodes.end(), [](CNode* n) {return n->ssl != NULL;})));
|
||||
|
||||
Reference in New Issue
Block a user