Commit 0870ab753231c229050d48e6766a27e573061818

Con Kolivas 2013-02-04T11:06:05

Cache the header length when generating stratum work to avoid calculating it on every work generation, and to only need one alloc+sprintf, speeding up work generation.