aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-01-02 13:13:50 +0100
committerMarcoFalke <falke.marco@gmail.com>2019-01-03 15:49:24 +0100
commitfab3f1467823c854cc88bc5a7e087263866ed87e (patch)
treeea6cfb5fd3f6fa4a955a48862ae30ee7042b9410 /src/net.h
parentdf894fa69a09ff2b7f00af0cf220e5132a69c70a (diff)
downloadbitcoin-fab3f1467823c854cc88bc5a7e087263866ed87e.tar.xz
rpc: Document bytessent_per_msg and bytesrecv_per_msg
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 915a8e5b35..4af3318656 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1,5 +1,5 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
-// Copyright (c) 2009-2018 The Bitcoin Core developers
+// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -550,6 +550,8 @@ struct LocalServiceInfo {
extern CCriticalSection cs_mapLocalHost;
extern std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(cs_mapLocalHost);
+
+extern const std::string NET_MESSAGE_COMMAND_OTHER;
typedef std::map<std::string, uint64_t> mapMsgCmdSize; //command, total bytes
class CNodeStats
@@ -696,8 +698,8 @@ public:
const uint64_t nKeyedNetGroup;
std::atomic_bool fPauseRecv;
std::atomic_bool fPauseSend;
-protected:
+protected:
mapMsgCmdSize mapSendBytesPerMsgCmd;
mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY(cs_vRecv);