Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/protocol.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void CAddress::print() const { | void CAddress::print() const { | ||||
printf("CAddress(%s)\n", ToString().c_str()); | printf("CAddress(%s)\n", ToString().c_str()); | ||||
} | } | ||||
CInv::CInv() { | CInv::CInv() { | ||||
type = 0; | type = 0; | ||||
hash = 0; | hash.SetNull(); | ||||
} | } | ||||
CInv::CInv(int typeIn, const uint256 &hashIn) { | CInv::CInv(int typeIn, const uint256 &hashIn) { | ||||
type = typeIn; | type = typeIn; | ||||
hash = hashIn; | hash = hashIn; | ||||
} | } | ||||
CInv::CInv(const std::string &strType, const uint256 &hashIn) { | CInv::CInv(const std::string &strType, const uint256 &hashIn) { | ||||
Show All 33 Lines |