Bitcoin Forum
June 24, 2024, 07:34:13 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there any working CPU/GPU solo mining software still available for learning?  (Read 443 times)
powvex (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 22, 2023, 07:12:50 PM
 #1

Is there any working CPU/GPU BTC solo mining open source software still available for learning purpose?
Preferably in C

Any help appreciated.
kano
Legendary
*
Offline Offline

Activity: 4536
Merit: 1847


Linux since 1997 RedHat 4


View Profile
August 22, 2023, 10:46:52 PM
 #2

No.
... and you wont learn anything using it.

You're pretty much saying, I want to learn about mining for gold by picking apples at an apple orchard.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
powvex (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 23, 2023, 05:22:59 AM
 #3

No.
... and you wont learn anything using it.

You're pretty much saying, I want to learn about mining for gold by picking apples at an apple orchard.

Thanks kano, you're the only remaining active developer of cgminer I assume. you did a great job.
I've used cgminer a long time ago for that purpose but now I think everything has been changed. So I need a working example in order to achieve my goal.
Skot
Full Member
***
Offline Offline

Activity: 220
Merit: 245

bitaxe.org


View Profile
August 23, 2023, 03:53:02 PM
 #4

Is there any working CPU/GPU BTC solo mining open source software still available for learning purpose?
Preferably in C

Any help appreciated.

Yup! Pooler’s cpuminer compiles on recent machines and has optimizations for various CPU architectures. Give it a try, I found the C source very informative. https://github.com/pooler/cpuminer

To solo mine you’ll need to point it at a stratum server configured for solo mining. Public-pool is a good option; https://web.public-pool.io/ but there are several others too!
powvex (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 23, 2023, 08:00:15 PM
 #5

Thanks skot. will give it a shot.

I have some question/ideas will ask you in your topic.
BitMaxz
Legendary
*
Offline Offline

Activity: 3290
Merit: 3030


BTC price road to $80k


View Profile WWW
August 24, 2023, 05:13:58 PM
 #6

I've used cgminer a long time ago for that purpose but now I think everything has been changed. So I need a working example in order to achieve my goal.

Why not share your thoughts here what exactly do you want to achieve?
We can maybe give you some idea of what you want to achieve.

I don't know if GPU/CPU still works on mining BTC but why not buy a USB stick miner Compact F or 2pac for your project?

If you are interested check this thread below

- https://bitcointalk.org/index.php?topic=1764803.0

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
powvex (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 25, 2023, 07:33:23 AM
 #7

I've used cgminer a long time ago for that purpose but now I think everything has been changed. So I need a working example in order to achieve my goal.

Why not share your thoughts here what exactly do you want to achieve?
We can maybe give you some idea of what you want to achieve.

I don't know if GPU/CPU still works on mining BTC but why not buy a USB stick miner Compact F or 2pac for your project?

If you are interested check this thread below

- https://bitcointalk.org/index.php?topic=1764803.0

I like to see how connections are made to a pool and get header info in btc version 25, how merkle root replaced and calculated after 4GH nonce reached or how extranonce come to sense and also middle state involved in live action. those boards use bitmain asics and I'm not sure something like midstate could be included in asics, or a way to manipulate sha256 calculations in asics.
Skot
Full Member
***
Offline Offline

Activity: 220
Merit: 245

bitaxe.org


View Profile
August 25, 2023, 12:06:17 PM
 #8

I like to see how connections are made to a pool and get header info in btc version 25, how merkle root replaced and calculated after 4GH nonce reached or how extranonce come to sense and also middle state involved in live action. those boards use bitmain asics and I'm not sure something like midstate could be included in asics, or a way to manipulate sha256 calculations in asics.

You should check out the nerdminer source; https://github.com/BitMaker-hub/NerdMiner_v2
Skot
Full Member
***
Offline Offline

Activity: 220
Merit: 245

bitaxe.org


View Profile
August 25, 2023, 01:25:17 PM
 #9

Oh, also for learning, nightminer is excellent; https://github.com/ricmoo/nightminer
powvex (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
August 26, 2023, 05:28:34 AM
 #10

Oh, also for learning, nightminer is excellent; https://github.com/ricmoo/nightminer
Thanks skot
deepblue01
Full Member
***
Offline Offline

Activity: 826
Merit: 117



View Profile WWW
December 29, 2023, 03:57:50 AM
 #11

I dont think CPU/GPU mining is profitable especially for bitcoin/litecoin.
I've tried it with i5 gen 12400f and Nvidia GTX 1630 and you got less than 0.5$ per day

No.
... and you wont learn anything using it.

You're pretty much saying, I want to learn about mining for gold by picking apples at an apple orchard.
lol

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!