Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Commit

Permalink
NH changes
Browse files Browse the repository at this point in the history
  • Loading branch information
S74nk0 committed Feb 9, 2017
1 parent 426b199 commit 3c12b25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ obj/
xmr-stak-cpu.layout
xmr-stak-cpu.depend
config-debug.txt
CMakeFiles
6 changes: 3 additions & 3 deletions cli-miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#ifdef _WIN32
void win_exit()
{
printer::inst()->print_str("Press any key to exit.");
get_key();
//printer::inst()->print_str("Press any key to exit.");
//get_key();
return;
}

Expand Down Expand Up @@ -157,7 +157,7 @@ void do_benchmark()
for (uint32_t i = 0; i < pvThreads->size(); i++)
{
double fHps = pvThreads->at(i)->iHashCount;
fHps /= (pvThreads->at(i)->iTimestamp - iStartStamp) / 1000.0d;
fHps /= (pvThreads->at(i)->iTimestamp - iStartStamp) / 1000.0;

printer::inst()->print_msg(L0, "Thread %u: %.1f H/S", i, fHps);
fTotalHps += fHps;
Expand Down
6 changes: 3 additions & 3 deletions config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@
* if a block isn't found within 30 minutes then you might run into nonce collisions. Number
* of threads in this mode is hard-limited to 32.
*/
"nicehash_nonce" : false,
"nicehash_nonce" : true,

/*
* pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
* wallet_address - Your wallet, or pool login.
* pool_password - Can be empty in most cases or "x".
*/
"pool_address" : "pool.supportxmr.com:3333",
"pool_address" : "cryptonight.eu.nicehash.com:3355",
"wallet_address" : "",
"pool_password" : "",
"pool_password" : "x",

/*
* Network timeouts.
Expand Down
2 changes: 1 addition & 1 deletion donate-level.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* Switching is instant, and only happens after a successful connection, so you never loose any hashes.
*/

constexpr double fDevDonationLevel = 1.0 / 100.0;
constexpr double fDevDonationLevel = 0.0 / 100.0;

0 comments on commit 3c12b25

Please sign in to comment.