DotNetStratumMiner
DotNetStratumMiner copied to clipboard
Question about the code.
Hello, I saw that your code uses Scrypt. What's the difference between using scrypt and double sha256?
Thanks.
I mean, if I were to use this algorithm to mine with sha256, should I modify anything in the sequence of the hash sequence? Or just do a double sha256 instead of the scrypt? (Since they both return a 32bit sequence)
Change to use sha256d
for hashing function. It should work.
Hi,
I'm so sorry for asking a very basic question but I couldn't find any info on internet. I just updated doScrypt() function in order to use SHA256 with just adding two lines bellow and connected to "btc.f2pool.com" for live testing, but whenever SW post a share, I always get "Share rejected" error.
SHA256Result = mySHA256.ComputeHash(Databyte); ScryptResult = mySHA256.ComputeHash(SHA256Result);
I got no extra info, so what could be wrong ? And how can I get approved nonce for this job ?
There is a sample just above of GenerateMerkleRoot() function which helps me to validate my results but by somehow if I could get a nonce of a job, I can backtrace and find my problem.
Could you please help me on this ?
Best Regards, Bora