flosight-api/server/config/index.js
2017-08-17 17:41:07 -04:00

38 lines
723 B
JavaScript

const config = {
start_node: true,
logging: 'debug',
bcoin_http: 'localhost',
bcoin: {
network: 'main',
db: 'leveldb',
prefix: '.',
checkpoints: true,
workers: false,
logLevel: 'info',
'max-inbound': 10,
'max-outbound': 10,
'index-tx': true,
'index-address': true,
'http-port': 8332,
},
mongodb: {
uri: 'mongodb://localhost/bitcore',
options: {
useMongoClient: true,
},
},
api: {
port: 3000,
json_spaces: 2,
currency_refresh: 60,
ticker_url: 'https://www.bitstamp.net/api/ticker/',
ticker_prop: 'bitstamp',
max_blocks: 72,
max_txs: 50,
max_page_txs: 10,
request_ttl: 100000,
},
};
module.exports = config;