Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/net.cpp
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() != 0) { | ||||
"(string) network address\n" | "(string) network address\n" | ||||
" \"port\": xxx, " | " \"port\": xxx, " | ||||
"(numeric) network port\n" | "(numeric) network port\n" | ||||
" \"score\": xxx " | " \"score\": xxx " | ||||
"(numeric) relative score\n" | "(numeric) relative score\n" | ||||
" }\n" | " }\n" | ||||
" ,...\n" | " ,...\n" | ||||
" ]\n" | " ]\n" | ||||
" \"warnings\": \"...\" " | " \"warnings\": \"...\" (string) any network " | ||||
"(string) any network warnings\n" | "and blockchain warnings\n" | ||||
"}\n" | "}\n" | ||||
"\nExamples:\n" + | "\nExamples:\n" + | ||||
HelpExampleCli("getnetworkinfo", "") + | HelpExampleCli("getnetworkinfo", "") + | ||||
HelpExampleRpc("getnetworkinfo", "")); | HelpExampleRpc("getnetworkinfo", "")); | ||||
} | } | ||||
LOCK(cs_main); | LOCK(cs_main); | ||||
UniValue obj(UniValue::VOBJ); | UniValue obj(UniValue::VOBJ); | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |