-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconfig-example.js
55 lines (50 loc) · 1.23 KB
/
config-example.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
50
51
52
53
54
55
exports.net = {
genesis_ledger: 32570
};
exports.perf = {
/**
* Number of parallel worker threads.
*
* This specifies the number of threads to use when bulk processing historic
* ledgers.
*/
workers: 4
};
exports.stats = {
/**
* Ledger aggregation interval (in s).
*
* During statistical aggregation, data will be combined per this time period.
* A value that is too large will limit the resolution of the data. A value
* that is too small will impact performance.
*
* Default: 3600 seconds (= 1 hour)
*/
aggregation_interval: 3600
};
exports.remote = {
// trace: true,
"websocket_ip" : "127.0.0.1",
"websocket_port" : 5006,
"websocket_ssl" : false
// "websocket_ip" : "192.168.0.17",
// "websocket_port" : 5006,
// "websocket_ssl" : false
// "websocket_ip" : "ripplecharts.com",
// "websocket_port" : 5006,
// "websocket_ssl" : false
// "websocket_ip" : "s1.ripple.com",
// "websocket_port" : 51233,
// "websocket_ssl" : true
};
exports.db = {
"mysql_ip" : "127.0.0.1",
"mysql_user" : "root",
"mysql_pass" : "vertrigo",
"mysql_db" : "rpcharts"
};
exports.s3 = {
"bucket": "ripple-data",
"key": "AKIAIQUYVAHE3GAW3H5Q",
"secret": "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"
};