Bitcoin Forum
May 14, 2024, 12:37:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Finished My Own Bitcoin Miner, Keep on Recieving False, please Verify My Hash.  (Read 374 times)
Toddler (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 15, 2013, 03:23:46 PM
 #1

Code:
data = "000000029af1f43c342ad525e3c4fd9368a76fbe32a2bfc1d5503b6c0000007600000000e5a720f8ec330f06fab42bb92f24d5d4211002bb202beb163fbeed28123f8e235166d77c1a022fbe00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000";
hash1 = "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000";
target = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000";
midstate = "8147d1c8a775b41fe2fc710128f760ee61eed0022fd13fe4e0b0197dfe87cee1";

Now I have calculated that the nonce is: 635141297.

Based on Luke-JR's Suggestion in the IRC, the result should be [First 152 of Original Data] + Nonce + [The Rest of the Original Data].

Result is:
Code:
000000029af1f43c342ad525e3c4fd9368a76fbe32a2bfc1d5503b6c0000007600000000e5a720f8ec330f06fab42bb92f24d5d4211002bb202beb163fbeed28123f8e235166d77c1a022fbe63514129700000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000

However, it seems I am wrong...
Do I need to convert the Nonce "635141297" to Hexadecimal ? Because Right now, I am just Putting it in as it is here.
1715647076
Hero Member
*
Offline Offline

Posts: 1715647076

View Profile Personal Message (Offline)

Ignore
1715647076
Reply with quote  #2

1715647076
Report to moderator
1715647076
Hero Member
*
Offline Offline

Posts: 1715647076

View Profile Personal Message (Offline)

Ignore
1715647076
Reply with quote  #2

1715647076
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715647076
Hero Member
*
Offline Offline

Posts: 1715647076

View Profile Personal Message (Offline)

Ignore
1715647076
Reply with quote  #2

1715647076
Report to moderator
1715647076
Hero Member
*
Offline Offline

Posts: 1715647076

View Profile Personal Message (Offline)

Ignore
1715647076
Reply with quote  #2

1715647076
Report to moderator
1715647076
Hero Member
*
Offline Offline

Posts: 1715647076

View Profile Personal Message (Offline)

Ignore
1715647076
Reply with quote  #2

1715647076
Report to moderator
Toddler (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 16, 2013, 08:55:52 AM
 #2

Anyone Sad
homemister
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 16, 2013, 09:02:22 AM
 #3

Anyone Sad
I've got the same issue with my miner, I would also like to know!
Pages: [1]
  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!