diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-01-02 13:13:50 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-01-03 15:49:24 +0100 |
commit | fab3f1467823c854cc88bc5a7e087263866ed87e (patch) | |
tree | ea6cfb5fd3f6fa4a955a48862ae30ee7042b9410 /src/net.h | |
parent | df894fa69a09ff2b7f00af0cf220e5132a69c70a (diff) |
rpc: Document bytessent_per_msg and bytesrecv_per_msg
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |