|
|
|
|
@ -561,7 +561,11 @@ void CReflector::PutDHTPeers()
|
|
|
|
|
node.putSigned(
|
|
|
|
|
refhash,
|
|
|
|
|
nv,
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
[](bool success){ std::cout << "PutDHTPeers() " << (success ? "successful" : "unsuccessful") << std::endl; },
|
|
|
|
|
#else
|
|
|
|
|
[](bool success){ if (! success) std::cout << "PutDHTPeers() unsuccessful" << std::endl; },
|
|
|
|
|
#endif
|
|
|
|
|
true // permanent!
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
@ -586,7 +590,11 @@ void CReflector::PutDHTClients()
|
|
|
|
|
node.putSigned(
|
|
|
|
|
refhash,
|
|
|
|
|
nv,
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
[](bool success){ std::cout << "PutDHTClients() " << (success ? "successful" : "unsuccessful") << std::endl; },
|
|
|
|
|
#else
|
|
|
|
|
[](bool success){ if (! success) std::cout << "PutDHTClients() unsuccessful" << std::endl; },
|
|
|
|
|
#endif
|
|
|
|
|
true // permanent!
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
@ -611,7 +619,11 @@ void CReflector::PutDHTUsers()
|
|
|
|
|
node.putSigned(
|
|
|
|
|
refhash,
|
|
|
|
|
nv,
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
[](bool success){ std::cout << "PutDHTUsers() " << (success ? "successful" : "unsuccessful") << std::endl; },
|
|
|
|
|
#else
|
|
|
|
|
[](bool success){ if (! success) std::cout << "PutDHTUsers() unsuccessful" << std::endl; },
|
|
|
|
|
#endif
|
|
|
|
|
true // permanent!
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
@ -661,7 +673,11 @@ void CReflector::PutDHTConfig()
|
|
|
|
|
node.putSigned(
|
|
|
|
|
refhash,
|
|
|
|
|
nv,
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
[](bool success){ std::cout << "PutDHTConfig() " << (success ? "successful" : "unsuccessful") << std::endl; },
|
|
|
|
|
#else
|
|
|
|
|
[](bool success){ if(! success) std::cout << "PutDHTConfig() unsuccessful" << std::endl; },
|
|
|
|
|
#endif
|
|
|
|
|
true
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|