class MinerManager {

    public void mineBlock(Blockchain blockchain, MinerClient minerClient, MinerServer minerServer) {
        minerServer.buildBlockToMine(blockchain.getBestBlock(), false);
        minerClient.mineBlock();
    }

}