5 #ifndef BITCOIN_SEEDER_BITCOIN_H
6 #define BITCOIN_SEEDER_BITCOIN_H
32 class CSeederNodeTest;
36 friend class ::CSeederNodeTest;
39 std::unique_ptr<Sock>
sock;
const CChainParams & Params()
Return the currently selected parameters.
A CService with information about it as peer.
uint16_t GetDefaultPort() const
Double ended buffer combining vector and stream-like interfaces.
bool IsTor() const
Check whether this object represents a TOR address.
void BeginMessage(const char *pszCommand)
CSeederNode(const CService &ip, std::vector< CAddress > *vAddrIn)
std::string GetClientSubVersion()
std::vector< CAddress > * vAddr
PeerMessagingState ProcessMessage(std::string strCommand, CDataStream &recv)
std::unique_ptr< Sock > sock
A combination of a network address (CNetAddr) and a (TCP) port.
RAII helper class that manages a socket.
static const unsigned int ADDR_SOFT_CAP
static uint16_t GetDefaultPort()