Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4684,10 +4684,20 @@ void static BitcoinMiner(CWallet *pwallet)
else
{
#ifdef __GNUC__
#ifdef __powerpc__
nPrimeCounter += nPrimesHit;
nTestCounter += nTests;
nChainCounter += nChainsHit;
#elif __powerpc64__
nPrimeCounter += nPrimesHit;
nTestCounter += nTests;
nChainCounter += nChainsHit;
#else
// Use atomic increment
__sync_add_and_fetch(&nPrimeCounter, nPrimesHit);
__sync_add_and_fetch(&nTestCounter, nTests);
__sync_add_and_fetch(&nChainCounter, nChainsHit);
#endif
#else
nPrimeCounter += nPrimesHit;
nTestCounter += nTests;
Expand Down
1 change: 1 addition & 0 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ static const char *strMainNetDNSSeed[][2] = {
{"xpm.altcointech.net", "dnsseed.xpm.altcointech.net"},
{"xpm2.altcointech.net", "dnsseed.xpm2.altcointech.net"},
{"primeseed.muuttuja.org", "primeseed.muuttuja.org"},*/
{"datacoin.darkgamex.ch", "dtc.dnsseed01.datacoin.darkgamex.ch"},
{NULL, NULL}
};

Expand Down