Show Posts
|
Pages: [1]
|
Intel is the newcomer here and based on those links it doesn't look that promising however to be sure we have to watch them in action,see the hash rate,power consumption and stability of this Arc GPU before jumping to conclusions.In normal conditions when a new competitor wants to enter in a business area he usually brings a better product compared to the competition (if he is serious about his business) and also a bit cheaper just to get the market share.Let's see how Intel will play this game.
True and I do hope they will shake the GPU industry to boost it up, new engineers, new point of view, new vision, technology is constant needing of that. Else it's funny how NVIDIA CEO reacted to the announcement of this new toolkit, he appear to be scared of this competitor https://www.pcgamesn.com/nvidia/intel-one-api-jen-hsun-huang
|
|
|
I want to do it in C# because it's my main language I do everything with and I do love WPF ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) It's your choice but you'll have to learn c anyway to port the algos to c#. And don't use scrypt, it's no longer viable for CPU mining. Choose a CPU mineable algo. Is there a simple algorithm to understand ? I do not understand what this code is trying to do, what does meet the target means. // Reference: https://github.com/replicon/Replicon.Cryptography.SCrypt public void doScrypt(Byte[] Tempdata, Byte[] Target, uint Nonce, uint Increment) { var StartTime = DateTime.Now; var Hashcount = 0.0; var Databyte = new Byte[80];
Array.Copy(Tempdata, 0, Databyte, 0, 76);
// Loop until done is set or we meet the target while (!done) { Databyte[76] = (Byte)(Nonce >> 0); Databyte[77] = (Byte)(Nonce >> 8); Databyte[78] = (Byte)(Nonce >> 16); Databyte[79] = (Byte)(Nonce >> 24);
var ScryptResult = Replicon.Cryptography.SCrypt.SCrypt.DeriveKey(Databyte, Databyte, 1024, 1, 1, 32);
Hashcount++;
if (meetsTarget(ScryptResult, Target)) // Did we meet the target? { if (!done) { FinalNonce = Nonce; }
done = true;
break; } else { Nonce += Increment; // If not, increment the nonce and try again } }
var Elapsedtime = (DateTime.Now - StartTime).TotalMilliseconds; Console.WriteLine("Thread finished - {0:0} hashes in {1:0.00} ms. Speed: {2:0.00} kHash/s", Hashcount, Elapsedtime, Hashcount / Elapsedtime); }
public bool meetsTarget(Byte[] Hash, Byte[] Target) { for (var Index = Hash.Length - 1; Index >= 0; Index--) { var ItemA = Hash[Index] & 0xFF; var ItemB = Target[Index] & 0xFF;
if (ItemA > ItemB) { return false; } else if (ItemA < ItemB) { return true; } }
return false; }
|
|
|
I plan to use green energy as well but with wind turbine, solar panel is good but the price per watt produced is too high, between 1~2 euro while the wind turbine come with 0.50~1 euro the watt.
|
|
|
That program can only mine scrypt and uses a library for the POW code so you can't see it. The only thing you can learn from it is how to do stratum with C#. The heart of any miner is the POW algorithm and there are hundreds of different ones.
If this is about learning C# there are better ways, if it's about learning mining SW there are also better ways. Don't try to do both. All good mining SW is written in c/c++, there's no benefit rewriting everything in C#.
I want to do it in C# because it's my main language I do everything with and I do love WPF ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) Indeed, I have hit a function that target the dll that come with the source, thus I will try to merge https://github.com/lithander/Minimal-Bitcoin-Miner that do not rely on third party dll, with DotNetStratumMiner
|
|
|
Aight, I forgot bitcoin and seek for altcoins https://coinwut.com/mining-pool-single-gpu/And I will ask a mod to migrate to altcoin section. Else I am actually studying https://en.bitcoinwiki.org/wiki/Stratum_mining_protocol actually, there is such stuff in the source code I am reading. For Bitcoin? No GPU/CPU became useless many years ago. If you want to mine Bitcoin you will need to invest into a dedicated bitcoin miner. Before doing that be sure that you can afford the electricity costs
If you do not understand mining why are you developing a app for it? knowledge is needed to create a app for something
I always learn stuff that way lole
|
|
|
they do show no Hash rate after I run the miner (I have like 3 Khash).
Bitcoin's total hashrate is currently around 180 EHS (that is 10 18), so your 3*10 3h/s is so little in comparison that the pools you connect to consider it to be nothing. I see and it's confirming a reaction I had telling those mining pools are for ASIC, not GPU nor CPU, so is there any mining pools that is fit for GPU/CPU hash power ? Edit: I am trying https://minexmr.com/
|
|
|
|