Bitcoin Forum
May 08, 2024, 07:42:37 PM *
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.
1715197357
Hero Member
*
Offline Offline

Posts: 1715197357

View Profile Personal Message (Offline)

Ignore
1715197357
Reply with quote  #2

1715197357
Report to moderator
1715197357
Hero Member
*
Offline Offline

Posts: 1715197357

View Profile Personal Message (Offline)

Ignore
1715197357
Reply with quote  #2

1715197357
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715197357
Hero Member
*
Offline Offline

Posts: 1715197357

View Profile Personal Message (Offline)

Ignore
1715197357
Reply with quote  #2

1715197357
Report to moderator
1715197357
Hero Member
*
Offline Offline

Posts: 1715197357

View Profile Personal Message (Offline)

Ignore
1715197357
Reply with quote  #2

1715197357
Report to moderator
1715197357
Hero Member
*
Offline Offline

Posts: 1715197357

View Profile Personal Message (Offline)

Ignore
1715197357
Reply with quote  #2

1715197357
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!