Bitcoin Institute

[PATCH] modularize BitcoinMiner a bit (code movement)

1 messages BitcoinTalk Jeff Garzik November 21, 2010 — November 21, 2010

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.