Bitcoin Forum

Other => Beginners & Help => Topic started by: tomtommcjohn on August 31, 2011, 02:28:46 AM



Title: (Mining question)What data to submit after processing hash?
Post by: tomtommcjohn on August 31, 2011, 02:28:46 AM
Hello! Hopefully someone here can help me out. I'm building my own custom miner, and I'm not sure what data to send in.
As far as I know from the documentation, if I find the nonce that makes the hash smaller then the target, I submit the data with getwork.
My problem is, I don't know WHAT data to send  ;D I didn't think it would work, but I tried sending back the "data" I got from the initial getwork command, and all that resulted in was stale shares(I'm mining through a pool).

Do I need to append the nonce to the end of data somehow? Or is it something else entirely? Thanks for your help!