forked from pokt-network/pocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config1.json
54 lines (54 loc) · 1.64 KB
/
config1.json
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
{
"root_directory": "/go/src/github.com/pocket-network",
"private_key": "0ca1a40ddecdab4f5b04fa0bfed1d235beaa2b8082e7554425607516f0862075dfe357de55649e6d2ce889acf15eb77e94ab3c5756fe46d3c7538d37f27f115e",
"use_lib_p2p": false,
"consensus": {
"max_mempool_bytes": 500000000,
"pacemaker_config": {
"timeout_msec": 10000,
"manual": true,
"debug_time_between_steps_msec": 1000
},
"private_key": "0ca1a40ddecdab4f5b04fa0bfed1d235beaa2b8082e7554425607516f0862075dfe357de55649e6d2ce889acf15eb77e94ab3c5756fe46d3c7538d37f27f115e",
"server_mode_enabled": true
},
"utility": {
"max_mempool_transaction_bytes": 1073741824,
"max_mempool_transactions": 9000
},
"persistence": {
"postgres_url": "postgres://postgres:postgres@pocket-db:5432/postgres",
"node_schema": "node1",
"block_store_path": "/var/blockstore",
"tx_indexer_path": "",
"trees_store_dir": "/var/trees",
"max_conns_count": 50,
"min_conns_count": 1,
"max_conn_lifetime": "5m",
"max_conn_idle_time": "1m",
"health_check_period": "30s"
},
"p2p": {
"hostname": "node1.consensus",
"port": 42069,
"use_rain_tree": true,
"is_empty_connection_type": false,
"private_key": "0ca1a40ddecdab4f5b04fa0bfed1d235beaa2b8082e7554425607516f0862075dfe357de55649e6d2ce889acf15eb77e94ab3c5756fe46d3c7538d37f27f115e",
"max_mempool_count": 100000
},
"telemetry": {
"enabled": true,
"address": "0.0.0.0:9000",
"endpoint": "/metrics"
},
"logger": {
"level": "debug",
"format": "pretty"
},
"rpc": {
"enabled": true,
"port": "50832",
"timeout": 30000,
"use_cors": false
}
}