[PATCH] modularize BitcoinMiner a bit (code movement)
URL: http://yyz.us/bitcoin/patch.bitcoin-modularize_miner
This patch is similar to patches sometimes seen in the Linux kernel. Analogous to an algebraic reduction, or a step in a mathematic proof, this patch intentionally makes zero functional code changes. It moves two chunks of code — hash meter and check-solution — from the BitcoinMiner() function into separate functions.
This change makes it easier to integrate remote mining.