bitcore-wallet-service/config.js

38 lines
791 B
JavaScript
Raw Normal View History

2015-04-05 09:56:56 -07:00
var config = {
basePath: '/bws/api',
disableLogs: false,
2015-04-20 16:46:45 -07:00
port: 3232,
2015-04-15 11:56:08 -07:00
// Uncomment to make BWS a forking server
2015-04-15 14:36:18 -07:00
// cluster: true,
2015-04-15 11:56:08 -07:00
// Uncomment to use the nr of availalbe CPUs
2015-04-15 14:36:18 -07:00
// clusterInstances: 4,
2015-04-15 12:25:31 -07:00
// https: true,
// privateKeyFile: 'private.pem',
// certificateFile: 'cert.pem',
2015-04-15 06:59:25 -07:00
storageOpts: {
2015-04-20 16:46:45 -07:00
mongoDb: {
2015-04-23 12:30:16 -07:00
uri: 'mongodb://localhost:27017/bws',
2015-04-20 16:46:45 -07:00
},
2015-04-15 06:59:25 -07:00
},
lockOpts: {
// To use locker-server, uncomment this:
2015-04-20 16:46:45 -07:00
// lockerServer: {
// host: 'localhost',
// port: 3231,
// },
2015-04-15 06:59:25 -07:00
},
blockchainExplorerOpts: {
2015-04-05 09:56:56 -07:00
livenet: {
2015-04-15 09:23:30 -07:00
provider: 'insight',
2015-04-05 09:56:56 -07:00
url: 'https://insight.bitpay.com:443',
},
testnet: {
2015-04-15 09:23:30 -07:00
provider: 'insight',
2015-04-05 09:56:56 -07:00
url: 'https://test-insight.bitpay.com:443',
},
},
};
module.exports = config;