aboutsummaryrefslogtreecommitdiff
path: root/src/rpcnet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-14 08:59:12 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-14 10:23:39 +0200
commitc9bc398ad9de9c2a625e3316abca5fb7e6d33638 (patch)
tree7702c2e4ce1e97a4db17c7e7d1a629e6db9abd09 /src/rpcnet.cpp
parent77ed583f0f12fd160613feae495663ff538315d3 (diff)
parentdc942e6f276b9fabc21f06d11cd16871d4054f82 (diff)
Merge pull request #4378
dc942e6 Introduce whitelisted peers. (Pieter Wuille)
Diffstat (limited to 'src/rpcnet.cpp')
-rw-r--r--src/rpcnet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp
index cf2c293caf..680717930b 100644
--- a/src/rpcnet.cpp
+++ b/src/rpcnet.cpp
@@ -137,6 +137,7 @@ Value getpeerinfo(const Array& params, bool fHelp)
obj.push_back(Pair("syncheight", statestats.nSyncHeight));
}
obj.push_back(Pair("syncnode", stats.fSyncNode));
+ obj.push_back(Pair("whitelisted", stats.fWhitelisted));
ret.push_back(obj);
}