aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2017-10-24 09:26:05 +0100
committerSuhas Daftuar <sdaftuar@gmail.com>2017-11-02 12:39:14 -0400
commit83df25736ebaa23777e965d265ed677a8d79f23f (patch)
tree781000ee1e9b246db0ff115229e53171b69b7c96 /src/net.h
parentac7b37cd2bd612a64a4009ba82f1cd1d57f37434 (diff)
Add CConnmanTest to mutate g_connman in tests
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index c90df64992..edca1171ab 100644
--- a/src/net.h
+++ b/src/net.h
@@ -431,6 +431,8 @@ private:
* in excess of nMaxOutbound
* This takes the place of a feeler connection */
std::atomic_bool m_try_another_outbound_peer;
+
+ friend struct CConnmanTest;
};
extern std::unique_ptr<CConnman> g_connman;
void Discover(boost::thread_group& threadGroup);