I'm trying to understand how the whole process flows. Here's how I currently understand it working.
Mining client -> Pool server -> Bitcoind
getwork:
- Mining client calls
getworkfrom Pool server, and it in turn callsgetwork(or something else?) from Bitcoind.
stratum:
- Mining client ingages the Pool server using the stratum protocol, and the Pool server calls
getwork(or something else?) from Bitcoind.
getblocktemplate:
- Mining client calls
getblocktemplate, and the Pool server callsgetblocktemplatefrom Bitcoind.
And I understand that the pool server does more than just relay information, but I wanted to keep it simple. I just want to get a grasp of how it all flows together, and what calls it makes.
Any help is greatly appreciated!