Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/net.cpp
Show All 13 Lines | |||||
#include "protocol.h" | #include "protocol.h" | ||||
#include "sync.h" | #include "sync.h" | ||||
#include "timedata.h" | #include "timedata.h" | ||||
#include "ui_interface.h" | #include "ui_interface.h" | ||||
#include "util.h" | #include "util.h" | ||||
#include "utilstrencodings.h" | #include "utilstrencodings.h" | ||||
#include "validation.h" | #include "validation.h" | ||||
#include "version.h" | #include "version.h" | ||||
#include "warnings.h" | |||||
#include <univalue.h> | #include <univalue.h> | ||||
static UniValue getconnectioncount(const Config &config, | static UniValue getconnectioncount(const Config &config, | ||||
const JSONRPCRequest &request) { | const JSONRPCRequest &request) { | ||||
if (request.fHelp || request.params.size() != 0) { | if (request.fHelp || request.params.size() != 0) { | ||||
throw std::runtime_error( | throw std::runtime_error( | ||||
"getconnectioncount\n" | "getconnectioncount\n" | ||||
▲ Show 20 Lines • Show All 770 Lines • Show Last 20 Lines |