-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.js
executable file
·49 lines (37 loc) · 2.33 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
'use strict';
var config = require('./config.global');
// CONFIGURATION
// =======================================================================================
config.host = '0.0.0.0'; // Interface to listen on, 0.0.0.0 to listen on all available
config.port = 6040; // Port to listen on
// LISK node
config.lisk.host = '138.197.177.209';
config.lisk.port = 10000;
// FreeGeoIP server
config.freegeoip.host = '127.0.0.1';
config.freegeoip.port = 8080;
// Redis server
config.redis.host = '127.0.0.1';
config.redis.port = 6379;
config.redis.password = '';
config.cacheTTL = 20; // Time in seconds to store cache in Redis
config.walletAddress = 'https://wallet.lwf.io'; // Link to wallet login
// Header price tickers, Currency switcher
config.exchangeRates.enabled = true; // Exchange rates support (true - enabled, false - disabled)
config.exchangeRates.updateInterval = 30000; // Interval in ms for checking exchange rates (default: 30 seconds)
// Configuration for different currency pairs, set false to disable pair
config.exchangeRates.exchanges.LWF.BTC = 'bittrex'; // LWF/BTC pair, supported: poloniex
config.exchangeRates.exchanges.BTC.USD = 'bitfinex'; // BTC/USD pair, supported: bitfinex, bitstamp, btce
config.exchangeRates.exchanges.BTC.EUR = 'bitstamp'; // BTC/EUR pair, supported: bitstamp, bitmarket
config.exchangeRates.exchanges.BTC.PLN = 'bitmarket'; // BTC/PLN pair, supported: bitmarket
// Market watcher
config.marketWatcher.enabled = false; // Market watcher support (true - enabled, false - disabled)
config.marketWatcher.exchanges.poloniex = false; // Poloniex exchange support (true - enabled, false - disabled)
config.marketWatcher.exchanges.bittrex = true; // Bittrex exchange support (true - enabled, false - disabled)
config.marketWatcher.candles.updateInterval = 30000; // Interval in ms for updating candlestick data (default: 30 seconds)
config.marketWatcher.orders.updateInterval = 15000; // Interval in ms for updating order book data (default: 15 seconds)
// Delegate Proposals
config.proposals.enabled = false; // Delegate proposals support (true - enabled, false - disabled)
config.proposals.updateInterval = 600000; // Interval in ms for updating delegate proposals (default: 10 minutes)
// =======================================================================================
module.exports = config;