bitcore-wallet-service/config.js

35 lines
709 B
JavaScript

var config = {
basePath: '/bws/api',
disableLogs: false,
port: 3232,
// Uncomment to make BWS a forking server
cluster: true,
// Uncomment to use the nr of availalbe CPUs
clusterInstances: 4,
storageOpts: {
// dbPath: './db',
multiLevel: {
host: 'localhost',
port: 3230,
},
},
lockOpts: {
// To use locker-server, uncomment this:
lockerServer: {
host: 'localhost',
port: 3231,
},
},
blockchainExplorerOpts: {
livenet: {
provider: 'insight',
url: 'https://insight.bitpay.com:443',
},
testnet: {
provider: 'insight',
url: 'https://test-insight.bitpay.com:443',
},
},
};
module.exports = config;