Bitcoin Forum
March 24, 2017, 04:38:14 AM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Change pushpool difficulty - [BOUNTY]  (Read 5371 times)
froggy
Full Member
***
Offline Offline

Activity: 127


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)?
 
1490330294
Hero Member
*
Offline Offline

Posts: 1490330294

View Profile Personal Message (Offline)

Ignore
1490330294
Reply with quote  #2

1490330294
Report to moderator
1490330294
Hero Member
*
Offline Offline

Posts: 1490330294

View Profile Personal Message (Offline)

Ignore
1490330294
Reply with quote  #2

1490330294
Report to moderator
1490330294
Hero Member
*
Offline Offline

Posts: 1490330294

View Profile Personal Message (Offline)

Ignore
1490330294
Reply with quote  #2

1490330294
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1490330294
Hero Member
*
Offline Offline

Posts: 1490330294

View Profile Personal Message (Offline)

Ignore
1490330294
Reply with quote  #2

1490330294
Report to moderator
drawoc
Full Member
***
Offline Offline

Activity: 168

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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!