Title: C# mining app project Post by: Sokander on January 30, 2022, 09:33:06 AM Hello,
I would like to start programming for mining app but clearly have no idea how to start it, so I am searching for working open source miners. Do you know if https://github.com/ma261065/DotNetStratumMiner is working, else with what pools, I have tried a number of them but they do show no Hash rate after I run the miner (I have like 3 Khash). https://trustpool.cc/ https://aikapool.com/doge/ https://www.viabtc.com/ Is this miner not compatible with those pools or I am missing something. Title: Re: C# mining app project Post by: pooya87 on January 30, 2022, 09:51:09 AM 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 1018), so your 3*103h/s is so little in comparison that the pools you connect to consider it to be nothing.Title: Re: C# mining app project Post by: Sokander on January 30, 2022, 10:05:07 AM 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 1018), so your 3*103h/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/ Title: Re: C# mining app project Post by: funsponge on January 30, 2022, 11:56:26 AM 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 1018), so your 3*103h/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/ If you do not understand mining why are you developing a app for it? knowledge is needed to create a app for something Title: Re: C# mining app project Post by: n0nce on January 30, 2022, 12:07:00 PM 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 1018), so your 3*103h/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/ Furthermore, any CPU mining software for Bitcoin won't work with it since the algorithms are completely different. They do have an open source miner available. Here (https://www.getmonero.org/get-started/mining/) you can learn about getting started and here (https://github.com/xmrig/xmrig) is the software for it. It's 95% C and C++ code already, so you'd be trying to rewrite it in a different way somehow (I don't get the point of doing so). You would also need to first learn how Monero works, if your understanding so far only covers Bitcoin. Title: Re: C# mining app project Post by: Sokander on January 30, 2022, 12:18:16 PM 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 Title: Re: C# mining app project Post by: funsponge on January 30, 2022, 12:30:41 PM I always learn stuff that way lole I respect that! I thought it was going to be released to the public and not used to learn my bad. Aight, I forgot bitcoin and seek for altcoins https://coinwut.com/mining-pool-single-gpu/ Use the report to moderator button And I will ask a mod to migrate to altcoin section. Title: Re: C# mining app project Post by: Sokander on January 30, 2022, 03:46:12 PM Finally I found a mining pool that is accepting DotNetStratumMiner, it's https://doge.mininghub.eu/index.php 8) 8)
Title: Re: C# mining app project Post by: JayDDee on January 30, 2022, 05:48:42 PM 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#. Title: Re: C# mining app project Post by: Sokander on January 30, 2022, 07:07:48 PM 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 8) 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 Title: Re: C# mining app project Post by: JayDDee on January 30, 2022, 08:09:50 PM I want to do it in C# because it's my main language I do everything with and I do love WPF 8) 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. Title: Re: C# mining app project Post by: Sokander on January 31, 2022, 01:48:30 PM I want to do it in C# because it's my main language I do everything with and I do love WPF 8) 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. Code: // Reference: https://github.com/replicon/Replicon.Cryptography.SCrypt Code: public bool meetsTarget(Byte[] Hash, Byte[] Target) Title: Re: C# mining app project Post by: JayDDee on January 31, 2022, 02:25:21 PM Is there a simple algorithm to understand ? I do not understand what this code is trying to do, what does meet the target means. No. That's not even the POW algo, just the loop that calls it and tests the result. This is the algo: Code: var ScryptResult = Replicon.Cryptography.SCrypt.SCrypt.DeriveKey(Databyte, Databyte, 1024, 1, 1, 32); If you don't know what the target means you have a very long way to go. |