aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-06 16:34:31 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-06 16:36:55 +0200
commitacc2d2ca5f7dadcf9807ed1bfcac6c010fe3649d (patch)
tree0a60cf794c0f9568b9ced1797c137b2878819c51 /src/net.h
parentb733288d95842d13a6559477bc9e8b5a93457ef0 (diff)
parentd387b8ec15e553db9b9c370314ee359e981fb374 (diff)
downloadbitcoin-acc2d2ca5f7dadcf9807ed1bfcac6c010fe3649d.tar.xz
Merge pull request #4127
d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 6210ed80c1..729b1bcd57 100644
--- a/src/net.h
+++ b/src/net.h
@@ -116,6 +116,13 @@ extern CCriticalSection cs_vAddedNodes;
extern NodeId nLastNodeId;
extern CCriticalSection cs_nLastNodeId;
+struct LocalServiceInfo {
+ int nScore;
+ int nPort;
+};
+
+extern CCriticalSection cs_mapLocalHost;
+extern map<CNetAddr, LocalServiceInfo> mapLocalHost;
class CNodeStats
{