37 lines
701 B
JavaScript
37 lines
701 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: 10,
|
|
request_ttl: 100000,
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|