|
|
@ -57,6 +57,8 @@ public: |
|
|
|
int GetDefaultPort() const { return nDefaultPort; } |
|
|
|
int GetDefaultPort() const { return nDefaultPort; } |
|
|
|
const uint256& ProofOfWorkLimit() const { return bnProofOfWorkLimit; } |
|
|
|
const uint256& ProofOfWorkLimit() const { return bnProofOfWorkLimit; } |
|
|
|
int SubsidyHalvingInterval() const { return nSubsidyHalvingInterval; } |
|
|
|
int SubsidyHalvingInterval() const { return nSubsidyHalvingInterval; } |
|
|
|
|
|
|
|
/* Used if GenerateBitcoins is called with a negative number of threads */ |
|
|
|
|
|
|
|
int DefaultMinerThreads() const { return nMinerThreads; } |
|
|
|
virtual const CBlock& GenesisBlock() const = 0; |
|
|
|
virtual const CBlock& GenesisBlock() const = 0; |
|
|
|
virtual bool RequireRPCPassword() const { return true; } |
|
|
|
virtual bool RequireRPCPassword() const { return true; } |
|
|
|
/* Make miner wait to have peers to avoid wasting work */ |
|
|
|
/* Make miner wait to have peers to avoid wasting work */ |
|
|
@ -82,6 +84,7 @@ protected: |
|
|
|
uint256 bnProofOfWorkLimit; |
|
|
|
uint256 bnProofOfWorkLimit; |
|
|
|
int nSubsidyHalvingInterval; |
|
|
|
int nSubsidyHalvingInterval; |
|
|
|
string strDataDir; |
|
|
|
string strDataDir; |
|
|
|
|
|
|
|
int nMinerThreads; |
|
|
|
vector<CDNSSeedData> vSeeds; |
|
|
|
vector<CDNSSeedData> vSeeds; |
|
|
|
std::vector<unsigned char> base58Prefixes[MAX_BASE58_TYPES]; |
|
|
|
std::vector<unsigned char> base58Prefixes[MAX_BASE58_TYPES]; |
|
|
|
}; |
|
|
|
}; |
|
|
|