5#ifndef BITCOIN_SEEDER_BITCOIN_H
6#define BITCOIN_SEEDER_BITCOIN_H
8#include <chainparams.h>
38 friend class ::CSeederNodeTest;
41 std::unique_ptr<Sock>
sock;
const CChainParams & Params()
Return the currently selected parameters.
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)
bool IsCheckpointVerified() const
std::string GetClientSubVersion()
std::vector< CAddress > * vAddr
ServiceFlags yourServices
PeerMessagingState ProcessMessage(std::string strCommand, CDataStream &recv)
std::chrono::seconds GetTimeout()
std::unique_ptr< Sock > sock
A combination of a network address (CNetAddr) and a (TCP) port.
RAII helper class that manages a socket.
ServiceFlags
nServices flags.
static const unsigned int ADDR_SOFT_CAP
static uint16_t GetDefaultPort()
std::chrono::time_point< NodeClock, std::chrono::seconds > NodeSeconds