aboutsummaryrefslogtreecommitdiff
path: root/sha256_4way.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-02-02 18:47:04 -0500
committerJeff Garzik <jgarzik@redhat.com>2011-02-02 18:47:04 -0500
commitc68ffb30dd17b32f69665af18b72687875770972 (patch)
tree748110c309233117b7f26bd4dc575a2904266aba /sha256_4way.c
parent453101d9e9f8b7408ca645dd174aa3e8af1d87ac (diff)
Display proof-of-work hash when one is discovered
Diffstat (limited to 'sha256_4way.c')
-rw-r--r--sha256_4way.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sha256_4way.c b/sha256_4way.c
index bdc4c23..556a07a 100644
--- a/sha256_4way.c
+++ b/sha256_4way.c
@@ -123,6 +123,9 @@ unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate, unsigned char *pd
for (i = 0; i < 32/4; i++)
((unsigned int*)phash)[i] = thash[i][j];
+
+ print_pow(phash);
+
*nHashesDone = nonce;
*nNonce_p = nonce + j;
return nonce + j;