Bitcoin Forum
June 23, 2024, 07:31:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bad feeling about the mining profit of incoming Intel Arc GPU on: February 04, 2022, 02:51:14 PM
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  Cool
https://www.pcgamesn.com/nvidia/intel-one-api-jen-hsun-huang
2  Alternate cryptocurrencies / Mining (Altcoins) / Bad feeling about the mining profit of incoming Intel Arc GPU on: February 04, 2022, 02:06:26 PM
It could be the same as AMD GPU one since both of them are using OpenCL to run the mining algo.

Here's how Intel arc GPU will run GPU parallel programming (GPGPU):
https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html
https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-dpcpp-compiler/top.html
https://www.khronos.org/sycl/

Thus only nonLHR NVIDIA GPU will still rule the mining world if it's just a matter of performance between OpenCL and CUDA for the same GPU price.
3  Alternate cryptocurrencies / Mining (Altcoins) / The lack of Intel OneAPI use among mining softwares on: February 01, 2022, 10:47:35 AM
https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html
https://devcloud.intel.com/oneapi/get_started/baseToolkitSamples/prod-category.html

Intel OneAPI is a recent API (2020) for loop parallelization similar as CUDA but since CUDA only work for NVIDIA products, Intel OneAPI is for Intel products (CPU and GPU).

And since Intel Arc GPU will come real soon, it's a need to port the actual mining software with OneAPI asap.

That's one of the reason why I decided to understand how to make one but using OneAPI, else I do hope that actual mining programmers think about implementing OneAPI in their code since the learning of mining algo programming is a linux difficulty grade Grin

Actually OneAPI use OpenCL specification.
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: C# mining app project 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  Cool

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
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);
}

Code:
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;
}
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: Solar panel config for 24x 3060ti on: January 30, 2022, 10:09:01 PM
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.
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: C# mining app project 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  Cool

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
7  Alternate cryptocurrencies / Mining (Altcoins) / Re: C# mining app project 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  Cool Cool
8  Alternate cryptocurrencies / Mining (Altcoins) / Re: C# mining app project 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
9  Alternate cryptocurrencies / Mining (Altcoins) / Re: C# mining app project 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/
10  Alternate cryptocurrencies / Mining (Altcoins) / C# mining app project 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.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!