|
|
@ -106,7 +106,7 @@ public: |
|
|
|
|
|
|
|
bool haveNetwork() const { return m_net.isStarted(); } |
|
|
|
|
|
|
|
void setNetworkPreferences(p2p::NetworkPreferences const& _n) { auto had = haveNetwork(); if (had) stopNetwork(); m_net.setNetworkPreferences(_n); if (had) startNetwork(); } |
|
|
|
void setNetworkPreferences(p2p::NetworkPreferences const& _n); |
|
|
|
|
|
|
|
p2p::NodeId id() const { return m_net.id(); } |
|
|
|
|
|
|
|