You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.6 KiB
70 lines
1.6 KiB
/* jshint node: true */ |
|
|
|
module.exports = function(environment) { |
|
var ENV = { |
|
modulePrefix: 'open-social-pool', |
|
environment: environment, |
|
rootURL: '/', |
|
locationType: 'hash', |
|
EmberENV: { |
|
FEATURES: { |
|
// Here you can enable experimental features on an ember canary build |
|
// e.g. 'with-controller': true |
|
} |
|
}, |
|
|
|
APP: { |
|
// API host and port |
|
ApiUrl: '//127.0.0.1/', |
|
PoolName: 'yuriy0803', |
|
CompanyName: '127.0.0.1', |
|
// HTTP mining endpoint |
|
HttpHost: 'https://127.0.0.1', |
|
HttpPort: 8882, |
|
|
|
// Stratum mining endpoint |
|
StratumHost: '127.0.0.1', |
|
StratumPort: 8002, |
|
|
|
// Fee and payout details |
|
PoolFee: '0.5%', |
|
PayoutThreshold: '1.0', |
|
PayoutInterval: '3h', |
|
|
|
// For network hashrate (change for your favourite fork) |
|
BlockTime: 14.4, |
|
BlockReward: 3.2, |
|
Unit: 'ETC:', |
|
|
|
} |
|
}; |
|
|
|
if (environment === 'development') { |
|
/* Override ApiUrl just for development, while you are customizing |
|
frontend markup and css theme on your workstation. |
|
*/ |
|
ENV.APP.ApiUrl = 'http://localhost:8080/' |
|
// ENV.APP.LOG_RESOLVER = true; |
|
// ENV.APP.LOG_ACTIVE_GENERATION = true; |
|
// ENV.APP.LOG_TRANSITIONS = true; |
|
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true; |
|
// ENV.APP.LOG_VIEW_LOOKUPS = true; |
|
} |
|
|
|
if (environment === 'test') { |
|
// Testem prefers this... |
|
ENV.locationType = 'none'; |
|
|
|
// keep test console output quieter |
|
ENV.APP.LOG_ACTIVE_GENERATION = false; |
|
ENV.APP.LOG_VIEW_LOOKUPS = false; |
|
|
|
ENV.APP.rootElement = '#ember-testing'; |
|
} |
|
|
|
if (environment === 'production') { |
|
|
|
} |
|
|
|
return ENV; |
|
};
|
|
|