(247 . 7)(247 . 7)
232
233 void CAddress::print() const
234 {
235 printf("CAddress(%s)\n", ToString().c_str());
236 printf(SINF SADR "CAddress<%s>\n", ToString().c_str());
237 }
238
239 CInv::CInv()
(297 . 10)(297 . 10)
241
242 std::string CInv::ToString() const
243 {
244 return strprintf("%s %s", GetCommand(), hash.ToString().substr(0,20).c_str());
245 return strprintf("%s %s", GetCommand(), hash.ToString().c_str());
246 }
247
248 void CInv::print() const
249 {
250 printf("CInv(%s)\n", ToString().c_str());
251 printf(SINF SNET "CInv<%s>\n", ToString().c_str());
252 }