File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -2915,10 +2915,11 @@ uint64_t CConnman::CalculateKeyedNetGroup(const CAddress& address) const
2915
2915
return GetDeterministicRandomizer (RANDOMIZER_ID_NETGROUP).Write (vchNetGroup.data (), vchNetGroup.size ()).Finalize ();
2916
2916
}
2917
2917
2918
- void CaptureMessageToFile (const CAddress& addr,
2919
- const std::string& msg_type,
2920
- Span<const unsigned char > data,
2921
- bool is_incoming)
2918
+ // Dump binary message to file, with timestamp.
2919
+ static void CaptureMessageToFile (const CAddress& addr,
2920
+ const std::string& msg_type,
2921
+ Span<const unsigned char > data,
2922
+ bool is_incoming)
2922
2923
{
2923
2924
// Note: This function captures the message at the time of processing,
2924
2925
// not at socket receive/send time.
Original file line number Diff line number Diff line change @@ -1221,12 +1221,6 @@ class CConnman
1221
1221
friend struct ConnmanTestMsg ;
1222
1222
};
1223
1223
1224
- /* * Dump binary message to file, with timestamp */
1225
- void CaptureMessageToFile (const CAddress& addr,
1226
- const std::string& msg_type,
1227
- Span<const unsigned char > data,
1228
- bool is_incoming);
1229
-
1230
1224
/* * Defaults to `CaptureMessageToFile()`, but can be overridden by unit tests. */
1231
1225
extern std::function<void (const CAddress& addr,
1232
1226
const std::string& msg_type,
You can’t perform that action at this time.
0 commit comments