-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsettings.json.default
103 lines (103 loc) · 2.81 KB
/
settings.json.default
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"node_url": "http://[::1]:7076",
"node_ws_url": "ws://127.0.0.1:7078",
"http_port": 9950,
"https_port": 9951,
"request_path": "/proxy",
"websocket_http_port": 9952,
"websocket_https_port": 9953,
"use_auth": false,
"use_slow_down": true,
"use_rate_limiter": true,
"use_cache": true,
"use_http": true,
"use_https": false,
"https_cert": "/etc/letsencrypt/live/example.com/fullchain.pem",
"https_key": "/etc/letsencrypt/live/example.com/privkey.pem",
"use_output_limiter": true,
"use_ip_blacklist": true,
"use_tokens": false,
"use_websocket": false,
"allow_websocket_all": false,
"use_cors": true,
"use_dpow": false,
"use_bpow": false,
"use_work_server": false,
"use_work_peers": false,
"disable_watch_work": true,
"enable_prometheus_for_ips": [],
"allowed_commands": [
"account_history",
"account_info",
"account_balance",
"accounts_balances",
"account_key",
"account_representative",
"account_weight",
"accounts_frontiers",
"accounts_pending",
"active_difficulty",
"available_supply",
"block_account",
"block_info",
"block_count",
"block_create",
"block_confirm",
"blocks_info",
"chain",
"confirmation_quorum",
"delegators_count",
"frontiers",
"key_create",
"pending",
"pending_exists",
"process",
"representatives",
"representatives_online",
"sign",
"successors",
"price",
"mnano_to_raw",
"mnano_from_raw",
"work_validate",
"validate_account_number",
"version",
"verified_accounts"
],
"cached_commands": {
"block_count": 30,
"available_supply": 3600,
"active_difficulty": 30,
"representatives_online": 300
},
"limited_commands": {
"account_history": 500,
"accounts_frontiers": 500,
"accounts_balances": 500,
"accounts_pending": 50,
"chain": 500,
"frontiers": 500,
"pending": 500
},
"ip_blacklist": [
"8.8.8.8"
],
"slow_down": {
"time_window": 600000,
"request_limit": 400,
"delay_increment": 100,
"max_delay": 2000
},
"rate_limiter": {
"time_window": 86400000,
"request_limit": 5000
},
"ddos_protection": {
"time_window": 10000,
"request_limit": 100
},
"proxy_hops": 0,
"websocket_max_accounts": 100,
"cors_whitelist": [],
"log_level": "info"
}