mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
PeerFinder work and refactoring:
* Implement PeerFinder business logic. * Support fixed peers (including DNS support). * Add journal support to Peer and Peers. * Refactor PeerDoor support. * Tidy up Peers and eliminate connection functionality and timers. * Refactor Peer interface and add journal support. * Allow construction of incoming Peer using an existing socket. * Remove TESTNET support. * Allow connections from/to cluster peers without consuming slots * Misc. cleanups.
This commit is contained in:
committed by
Vinnie Falco
parent
a253b2ef4b
commit
e60b28980a
@@ -45,11 +45,11 @@ private:
|
||||
static boost::asio::ip::tcp::endpoint fromIPAddress (
|
||||
IPAddress const& ipEndpoint)
|
||||
{
|
||||
if (ipEndpoint.isV4 ())
|
||||
if (ipEndpoint.is_v4 ())
|
||||
{
|
||||
return boost::asio::ip::tcp::endpoint (
|
||||
boost::asio::ip::address_v4 (
|
||||
ipEndpoint.v4().value),
|
||||
ipEndpoint.to_v4().value),
|
||||
ipEndpoint.port ());
|
||||
}
|
||||
bassertfalse;
|
||||
|
||||
Reference in New Issue
Block a user