|
|
@ -140,8 +140,7 @@ Value getpeerinfo(const Array& params, bool fHelp) |
|
|
|
if (fStateStats) { |
|
|
|
if (fStateStats) { |
|
|
|
obj.push_back(Pair("banscore", statestats.nMisbehavior)); |
|
|
|
obj.push_back(Pair("banscore", statestats.nMisbehavior)); |
|
|
|
} |
|
|
|
} |
|
|
|
if (stats.fSyncNode) |
|
|
|
obj.push_back(Pair("syncnode", stats.fSyncNode)); |
|
|
|
obj.push_back(Pair("syncnode", true)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ret.push_back(obj); |
|
|
|
ret.push_back(obj); |
|
|
|
} |
|
|
|
} |
|
|
|