--- Log opened Sun Jul 20 00:00:46 2025 00:36 -!- entropyx [~blackbox@user/entropyx] has quit [Quit: no love here!] 01:16 -!- tromp [~textual@2001:1c00:3487:1b00:ed2e:c1ec:99e:6acd] has joined #bitcoin-wizards 02:05 -!- entropyx [~blackbox@user/entropyx] has joined #bitcoin-wizards 04:00 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 04:05 -!- tromp [~textual@2001:1c00:3487:1b00:ed2e:c1ec:99e:6acd] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 04:35 -!- jerryf [~jerryf@user/jerryf] has quit [Ping timeout: 244 seconds] 04:35 -!- jerryf_ [~jerryf@user/jerryf] has joined #bitcoin-wizards 04:41 -!- jerryf [~jerryf@user/jerryf] has joined #bitcoin-wizards 04:44 -!- jerryf_ [~jerryf@user/jerryf] has quit [Ping timeout: 244 seconds] 05:29 -!- tromp [~textual@2001:1c00:3487:1b00:e568:6986:f662:22ea] has joined #bitcoin-wizards 07:01 -!- prout [~prout@user/prout] has quit [Ping timeout: 252 seconds] 07:10 -!- prout [~prout@user/prout] has joined #bitcoin-wizards 08:08 -!- darkness [uid711240@user/darkness] has quit [Quit: Connection closed for inactivity] 08:32 -!- jerryf_ [~jerryf@user/jerryf] has joined #bitcoin-wizards 08:33 -!- jerryf [~jerryf@user/jerryf] has quit [Ping timeout: 244 seconds] 08:41 -!- jerryf_ is now known as jerryf 09:41 -!- tromp [~textual@2001:1c00:3487:1b00:e568:6986:f662:22ea] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 10:05 -!- tromp [~textual@2001:1c00:3487:1b00:e568:6986:f662:22ea] has joined #bitcoin-wizards 10:18 -!- narodnik [~narodnik@bba-2-50-79-10.alshamil.net.ae] has quit [Ping timeout: 240 seconds] 10:24 -!- narodnik [~narodnik@bba-2-50-79-10.alshamil.net.ae] has joined #bitcoin-wizards 11:01 -!- tromp [~textual@2001:1c00:3487:1b00:e568:6986:f662:22ea] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 12:42 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Quit: Leaving] 12:42 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-wizards 12:47 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 12:58 -!- jon_atack [~jonatack@user/jonatack] has joined #bitcoin-wizards 13:00 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 276 seconds] 13:01 -!- narodnik [~narodnik@bba-2-50-79-10.alshamil.net.ae] has quit [Ping timeout: 240 seconds] 13:31 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 14:03 -!- narodnik [~narodnik@bba-2-50-79-10.alshamil.net.ae] has joined #bitcoin-wizards 14:30 -!- jon_atack [~jonatack@user/jonatack] has quit [Ping timeout: 265 seconds] 14:35 -!- xoth1337 [~xoth1337@user/xoth1337] has joined #bitcoin-wizards 14:39 < xoth1337> Hi. Has anyone here built a bitcoin miner? I'm trying to learn how the internals work, so I can setup a proof-of-concept miner in the Julia programming language 14:58 < Ademan> xoth1337: I haven't but what you're looking for has a lot of variables. If you want to learn how a modern ASIC miner works, you 14:59 < Ademan> re not really doing the hashing yourself, just stratum communication and job delegation to the ASIC chips 14:59 < Ademan> There are several (related) FOSS projects implementing this portion here https://osmu.wiki/ 15:01 < xoth1337> Ademan thanks for the response! You are correct. I phrased my question slightly incorrectly though, I meant to say that I am looking at the specific hashing and job completion algorithms 15:02 < xoth1337> Pretty much all of the parts of this are built, but I want to learn about the math/computational part of completing a proof-of-work task 15:08 -!- jerryf [~jerryf@user/jerryf] has quit [Remote host closed the connection] 15:08 -!- jerryf [~jerryf@user/jerryf] has joined #bitcoin-wizards 15:12 < Ademan> The bitcoin core RPC call "generatetoaddress" performs a mining operation, so all of the math you're interested in should be covered there. https://github.com/bitcoin/bitcoin/blob/master/src/rpc/mining.cpp#L264 note that you'll have to follow the execution to see where the things you want are done. 15:15 < xoth1337> This helps, thanks! 16:11 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-wizards 16:54 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 248 seconds] 17:11 -!- CrashTestDummy [~CrashTest@ool-ad028351.dyn.optonline.net] has joined #bitcoin-wizards 17:14 -!- CrashTestDummy [~CrashTest@ool-ad028351.dyn.optonline.net] has quit [Read error: Connection reset by peer] 17:19 -!- narodnik [~narodnik@bba-2-50-79-10.alshamil.net.ae] has quit [Read error: Connection reset by peer] 17:19 -!- narodnik2 [~narodnik@bba-2-50-79-10.alshamil.net.ae] has joined #bitcoin-wizards 17:30 -!- xoth1337 [~xoth1337@user/xoth1337] has quit [Quit: xoth1337] 18:22 -!- jerryf_ [~jerryf@user/jerryf] has joined #bitcoin-wizards 18:25 -!- jerryf [~jerryf@user/jerryf] has quit [Remote host closed the connection] 22:30 -!- eremitah [~int@user/eremitah] has quit [Remote host closed the connection] --- Log closed Mon Jul 21 00:00:47 2025