static MinerPluginsManager()
        {
            var integratedPlugins = new List <IntegratedPlugin>
            {
                ////// testing
                //new BrokenPluginIntegratedPlugin(),
                // open source
                new CCMinerMTPIntegratedPlugin(),
                new CCMinerTpruvotIntegratedPlugin(),
                new SGminerAvemoreIntegratedPlugin(),
                new SGminerGMIntegratedPlugin(),
                new XmrStakIntegratedPlugin(),

                // 3rd party
                new BMinerIntegratedPlugin(),
                new EWBFIntegratedPlugin(),
                new GMinerIntegratedPlugin(),
                new NBMinerIntegratedPlugin(),
                new PhoenixIntegratedPlugin(),
                new TeamRedMinerIntegratedPlugin(),
                new TRexIntegratedPlugin(),
                new TTMinerIntegratedPlugin(),
                new ClaymoreDual14IntegratedPlugin(),

                // can be integrated but are not included
                // new NanoMinerIntegratedPlugin(),
                // new WildRigIntegratedPlugin(),
                // new CryptoDredgeIntegratedPlugin(),

                // service plugin
                EthlargementIntegratedPlugin.Instance,

                // plugin dependencies
                VC_REDIST_x64_2015_DEPENDENCY_PLUGIN.Instance
            };
            var filteredIntegratedPlugins = integratedPlugins.Where(p => SupportedPluginsFilter.IsSupported(p.PluginUUID)).ToList();

            foreach (var integratedPlugin in filteredIntegratedPlugins)
            {
                PluginContainer.Create(integratedPlugin);
            }
        }
Ejemplo n.º 2
0
        static MinerPluginsManager()
        {
            var integratedPlugins = new List <IntegratedPlugin>
            {
                // testing
                #if INTEGRATE_BrokenMiner_PLUGIN
                new BrokenPluginIntegratedPlugin(),
                #endif
                #if INTEGRATE_ExamplePlugin_PLUGIN
                new ExamplePluginIntegratedPlugin(),
                #endif

                // open source
                new CCMinerMTPIntegratedPlugin(),
                new CCMinerTpruvotIntegratedPlugin(),
                new SGminerAvemoreIntegratedPlugin(),
                new SGminerGMIntegratedPlugin(),
                new XmrStakIntegratedPlugin(),
#if INTEGRATE_CpuMinerOpt_PLUGIN
                new CPUMinerOptIntegratedPlugin(),
#endif
#if INTEGRATE_Ethminer_PLUGIN
                new EthminerIntegratedPlugin(),
#endif

                // 3rd party
                new EWBFIntegratedPlugin(),
                new GMinerIntegratedPlugin(),
                new NBMinerIntegratedPlugin(),
                new PhoenixIntegratedPlugin(),
                new TeamRedMinerIntegratedPlugin(),
                new TRexIntegratedPlugin(),
#if INTEGRATE_TTMiner_PLUGIN
                new TTMinerIntegratedPlugin(),
#endif
                new ClaymoreDual14IntegratedPlugin(),

                // can be integrated but are not included
#if INTEGRATE_NanoMiner_PLUGIN
                new NanoMinerIntegratedPlugin(),
#endif
#if INTEGRATE_WildRig_PLUGIN
                new WildRigIntegratedPlugin(),
#endif
#if INTEGRATE_CryptoDredge_PLUGIN
                new CryptoDredgeIntegratedPlugin(),
#endif
#if INTEGRATE_BMiner_PLUGIN
                new BMinerIntegratedPlugin(),
#endif
#if INTEGRATE_ZEnemy_PLUGIN
                new ZEnemyIntegratedPlugin(),
#endif
#if INTEGRATE_LolMinerBeam_PLUGIN
                new LolMinerIntegratedPlugin(),
#endif
#if INTEGRATE_SRBMiner_PLUGIN
                new SRBMinerIntegratedPlugin(),
#endif
#if INTEGRATE_XMRig_PLUGIN
                new XMRigIntegratedPlugin(),
#endif
#if INTEGRATE_MiniZ_PLUGIN
                new MiniZIntegratedPlugin(),
#endif

                // service plugin
                EthlargementIntegratedPlugin.Instance,

                // plugin dependencies
                VC_REDIST_x64_2015_DEPENDENCY_PLUGIN.Instance
            };
            var filteredIntegratedPlugins = integratedPlugins.Where(p => SupportedPluginsFilter.IsSupported(p.PluginUUID)).ToList();

            foreach (var integratedPlugin in filteredIntegratedPlugins)
            {
                PluginContainer.Create(integratedPlugin);
            }
        }