/
mainnet.json
84 lines (84 loc) · 2.29 KB
/
mainnet.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
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
{
"alert_webhook_url": "",
"bitcoin_config_path": "",
"genesis_keys": [
"02a1589f2c8e1a4e7cbf28d4d6b676aa2f30811277883211027950e82a83eb2768",
"03aec1d40f02ac7f6df701ef8f629515812f1bcd949b6aa6c7a8dd778b748b2433",
"03ddb2806f3cc48aa36bd4aea6b9f1c7ed3ffc8b9302b198ca963f15beff123678",
"036846e3e8f4f944af644b6a6c6243889dd90d7b6c3593abb9ccf2acb8c9e606e2",
"03e45c9dd2b34829c1d27c8b5d16917dd0dc2c88fa0d7bad7bffb9b542229a9304"
],
"log_output_file": "",
"log_level": "info",
"disable_rpc_verification": false,
"request_logging": true,
"alert_processing_interval": "5m",
"web_server": {
"idle_timeout": "60s",
"port": "3000",
"read_timeout": "15s",
"write_timeout": "15s"
},
"environment": "mainnet",
"datastore": {
"auto_migrate": true,
"debug": true,
"engine": "sqlite",
"password": "",
"table_prefix": "alert_system_mainnet",
"sqlite": {
"database_path": "alert_system_mainnet_datastore.db",
"shared": false
},
"sql_read": {
"driver": "postgresql",
"host": "localhost",
"max_connection_idle_time": "20s",
"max_connection_time": "20s",
"max_idle_connections": 2,
"max_open_connections": 5,
"name": "alert_system_db",
"password": "",
"port": "5432",
"replica": true,
"skip_initialize_with_version": true,
"time_zone": "UTC",
"tx_timeout": "20s",
"user": "your_user"
},
"sql_write": {
"driver": "postgresql",
"host": "localhost",
"max_connection_idle_time": "20s",
"max_connection_time": "20s",
"max_idle_connections": 2,
"max_open_connections": 5,
"name": "alert_system_db",
"password": "",
"port": "5432",
"replica": false,
"skip_initialize_with_version": true,
"time_zone": "UTC",
"tx_timeout": "20s",
"user": "your_user"
}
},
"p2p": {
"ip": "0.0.0.0",
"port": "9906",
"dht_mode": "client",
"broadcast_ip": "",
"alert_system_protocol_id": "/bitcoin/alert-system/1.0.0",
"bootstrap_peer": "",
"private_key_path": "",
"allow_private_ip_addresses": false,
"topic_name": "bitcoin_alert_system"
},
"rpc_connections": [
{
"user": "your_user",
"password": "",
"host": "http://localhost:8332"
}
]
}