@ -34,6 +34,9 @@ using namespace dev;
using namespace dev::eth;
using namespace p2p;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
EthereumPeer::EthereumPeer(Session* _s, HostCapabilityFace* _h, unsigned _i):
@ -27,6 +27,9 @@ using namespace std;
using namespace dev;
using namespace dev::p2p;
Capability::Capability(Session* _s, HostCapabilityFace* _h, unsigned _idOffset): m_session(_s), m_host(_h), m_idOffset(_idOffset)
@ -31,6 +31,9 @@ using namespace std;
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << m_socket.native_handle() << "] "
Session::Session(Host* _s, bi::tcp::socket _socket, bi::address _peerAddress, unsigned short _peerPort):
@ -29,6 +29,9 @@ using namespace dev;
using namespace dev::shh;
bool MessageFilter::matches(Message const& _m) const
@ -25,4 +25,3 @@ using namespace std;
@ -28,6 +28,9 @@ using namespace dev;
WhisperHost::WhisperHost()
@ -28,6 +28,10 @@ using namespace std;
WhisperPeer::WhisperPeer(Session* _s, HostCapabilityFace* _h, unsigned _i): Capability(_s, _h, _i)