Support for 64-bit peer IDs.

This commit is contained in:
JoelKatz
2012-10-31 19:46:30 -07:00
parent 0830cf4ca8
commit 41da9c740f
4 changed files with 39 additions and 3 deletions

View File

@@ -30,7 +30,8 @@ Peer::Peer(boost::asio::io_service& io_service, boost::asio::ssl::context& ctx)
mSocketSsl(io_service, ctx),
mVerifyTimer(io_service)
{
// cLog(lsDEBUG) << "CREATING PEER: " << ADDRESS(this);
cLog(lsDEBUG) << "CREATING PEER: " << ADDRESS(this);
mPeerId = theApp->getConnectionPool().assignPeerId();
}
void Peer::handle_write(const boost::system::error_code& error, size_t bytes_transferred)