How do Solo Miners Get Block Updates?

3 replies 295 views
nick2009Member
Posts: 3 · Reputation: 234
#1Dec 11, 2024, 07:47 AM
Hey folks, Quick question about how solo miners get updates from full nodes. Let’s say I’ve got a full node on one machine and a solo miner on another. How does the miner know when another miner finds a block? Does it keep checking the node for updates or does the node send alerts when a new block is found? Thanks a lot! Sandy
4 Reply Quote Share
0xRavenSenior Member
Posts: 38 · Reputation: 991
#2Dec 11, 2024, 08:47 AM
When you’re running a miner like cgminer, it uses a longpoll_thread that checks back with the full node, like Bitcoin Core, every few seconds. If a new block pops up, its header is different, and the miner grabs the new data to build its own block header for hashing. Simple as that.
2 Reply Quote Share
planktonHero Member
Posts: 1284 · Reputation: 2049
#3Dec 11, 2024, 10:32 AM
Honestly, this whole thing seems kinda pointless to me. Suggest you go read the pinned message here, it's got some foundational info you might be missing.
1 Reply Quote Share
nick2009Member
Posts: 3 · Reputation: 234
#4Dec 11, 2024, 01:38 PM
Thanks for the tip @jack1cryptotalk007 Totally agree with you @NotFuzzyWarm, I’m just trying to wrap my head around how mining actually operates behind the scenes. Really appreciate the insights!
0 Reply Quote Share

Related topics