A

src\rpcdataacq.cpp

All issues

Redundant blank line at the end of a code block should be deleted. lines of code = 1
Redundant blank line at the end of a code block should be deleted. lines of code = 1
Redundant blank line at the start of a code block should be deleted. lines of code = 1
Complex Method complexity = 26
UniValue rpc_getsupervotes(const UniValue& params, bool fHelp)
{
    if(fHelp || params.size() != 2 )
        throw runtime_error(
            "getsupervotes mode superblock\n"
Complex Method complexity = 23
UniValue rpc_getrecentblocks(const UniValue& params, bool fHelp)
{
    if(fHelp || params.size() < 1 || params.size() > 3 )
        throw runtime_error(
            "getrecentblocks detail count\n"
Complex Method complexity = 29
UniValue rpc_getblockstats(const UniValue& params, bool fHelp)
{
    if(fHelp || params.size() < 1 || params.size() > 3 )
        throw runtime_error(
            "getblockstats mode [startheight [endheight]]\n"
Complex Method complexity = 18
UniValue rpc_exportstats(const UniValue& params, bool fHelp)
{
    if(fHelp)
        throw runtime_error(
            "exportstats1 [maxblocks agregate [endblock]] \n");