Collect per-peer statistics into the given vector.
Declared in <net.h>
<net.h>
void GetNodeStats(std::vector<CNodeStats>& vstats) const;