Consolidate use of pingAll into keepAlivePeers. Add bool operators for Node and NodeIPEndpoint population. NodeTable returns Node instead of NodeEntry (subject to change). Begin transition from NodeInfo to NodeTable Node.

This commit is contained in:
subtly 2015-01-08 22:26:21 +01:00
parent 7f4ca13035
commit 6418132263

View File

@ -55,7 +55,7 @@ int peerTest(int argc, char** argv)
{
this_thread::sleep_for(chrono::milliseconds(100));
if (!(i % 10))
ph.pingAll();
ph.keepAlivePeers();
}
return 0;