Bitcoin Forum
November 09, 2024, 04:39:27 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Change pushpool difficulty - [BOUNTY]  (Read 5719 times)
froggy
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile WWW
July 31, 2011, 04:46:50 PM
 #21

<snip>
And simply check hash32[1] against 0x051EB333 instead of 0x19998000.
<snip>
Should this be hash32[7] rather than hash32[1]   (because of the little endian reversal)?
 
drawoc
Full Member
***
Offline Offline

Activity: 168
Merit: 100

Firstbits: 175wn


View Profile
July 31, 2011, 05:01:22 PM
 #22

<snip>
And simply check hash32[1] against 0x051EB333 instead of 0x19998000.
<snip>
Should this be hash32[7] rather than hash32[1]   (because of the little endian reversal)?

Thanks for catching that. It should be hash32[6] actually because we should be checking the second to last 32 bit part, and the last is 7 because we start counting at zero. I'll edit my post.

Donate: 175WNXmJ1WVhFgVGKUqEhYtAQGRYAvqPA
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!