const char* CInv::GetCommand() const { if (!IsKnownType()) throw std::out_of_range(strprintf("CInv::GetCommand() : type=%d unknown type", type)); return ppszTypeName[type]; }
const char* CInv::GetCommand() const { if (!IsKnownType()) throw std::out_of_range("CInv::GetCommand() : unknown type"); return ppszTypeName[type]; }
const char* CInv::GetCommand() const { if (!IsKnownType()) LogPrint("net", "CInv::GetCommand() : type=%d unknown type", type); return ppszTypeName[type]; }