* class.
*
* @return void
- * @todo 0% done
+ * @todo ~10% done
*/
protected function initProducer () {
$this->partialStub('Please implement this method.');
*
* @param $stateInstance An instance of a Stateable instance
* @return void
- * @todo 0% done
+ * @todo ~5% done
*/
public function prepareBlockProduction (Stateable $stateInstance) {
- $this->partialStub('Please implement this method, stateInstance=' . $stateInstance->__toString());
+ // The state must be 'booting'
+ $stateInstance->validateMinerStateIsBooting();
+
+ /*
+ * Now that the miner is booting a genesis block for testing purposes
+ * can be created. The "real" genesis block will be created differently
+ * to this.
+ */
}
}