Track peers' available blocks
This commit is contained in:
@@ -134,6 +134,7 @@ Value getpeerinfo(const Array& params, bool fHelp)
|
||||
obj.push_back(Pair("startingheight", stats.nStartingHeight));
|
||||
if (fStateStats) {
|
||||
obj.push_back(Pair("banscore", statestats.nMisbehavior));
|
||||
obj.push_back(Pair("syncheight", statestats.nSyncHeight));
|
||||
}
|
||||
obj.push_back(Pair("syncnode", stats.fSyncNode));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user