Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: qrs on August 25, 2012, 08:22:51 PM



Title: data to hash
Post by: qrs on August 25, 2012, 08:22:51 PM
while mining I see in terminal something like

Quote
qrs@localhost:~/Desktop$ ./bitcoin-miner -t 2 -v -o http://***:***@***:***
bitcoin-miner 0.10  Copyright (c) 2011 Ufasoft  http://ufasoft.com/open/bitcoin
Mining for http://***:***@***:***
2 threads   Using SSE2
Switching back to http://***:***@***:***
25.08.2012 20:44:08   Accepted BF271FF2EBEF8FBC0B2C76B00CCC9362FE63FCE71FFEB1A2AAA1D1EE00000000
25.08.2012 21:10:34   Accepted F83ECFB3AA003361F6711F19A004C97B6DC9183178EFB00D517EA2BE00000000
4.59 MHash/s

question is what kind of data has been hashed?


Title: Re: data to hash
Post by: kjj on August 26, 2012, 02:54:35 PM
Someone (you or a pool) generates a block and a partial header for that block.  That partial header is sent to your mining system.  The miner completes the header by hashing the initial part of it.  If the result of that hashing is low enough, it gets sent back up the chain and becomes either a share in your pool, or a block in the chain.


Title: Re: data to hash
Post by: qrs on August 26, 2012, 03:04:56 PM
ok I see, thx for explain