@ -77,7 +77,10 @@ private:
class Host: public Worker
{
friend class HostNodeTableHandler;
friend struct PeerHandshake;
friend struct RLPXHandshake;
friend class Session;
friend class HostCapabilityFace;
@ -237,6 +240,8 @@ private:
struct PeerSecrets
protected:
Secret encryptK;
Secret macK;
@ -54,7 +54,9 @@ class Peer: public Node
friend class Session; /// Allows Session to update score and rating.
friend class Host; /// For Host: saveNetwork(), restoreNetwork()
public:
bool isOffline() const { return !m_session.lock(); }