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
How do Solo Miners Get Block Updates?
3 replies 295 views
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.
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.
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!