Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/bitcoin.h
#ifndef BITCOIN_SEEDER_BITCOIN_H | #ifndef BITCOIN_SEEDER_BITCOIN_H | ||||
#define BITCOIN_SEEDER_BITCOIN_H | #define BITCOIN_SEEDER_BITCOIN_H | ||||
#include "protocol.h" | #include "protocol.h" | ||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
class CAddress; | |||||
/** | /** | ||||
* The seeder do not use the Params facility. | * The seeder do not use the Params facility. | ||||
* | * | ||||
* While this is sorted out, we need a replacement. | * While this is sorted out, we need a replacement. | ||||
*/ | */ | ||||
extern bool fTestNet; | extern bool fTestNet; | ||||
static inline unsigned short GetDefaultPort(const bool testnet = fTestNet) { | static inline unsigned short GetDefaultPort(const bool testnet = fTestNet) { | ||||
return testnet ? 18333 : 8333; | return testnet ? 18333 : 8333; | ||||
Show All 9 Lines |