forked from tronscan/tronscan-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.conf
129 lines (102 loc) · 1.9 KB
/
application.conf
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
include "framework"
net {
type = mainnet
}
play.http.secret.key = ${?SECRET_KEY}
# https://www.playframework.com/documentation/latest/Configuration
# Default Database Configuration
slick.dbs.default {
host = "127.0.0.1"
dbname = "tron-explorer"
username = "postgres"
password = "postgres"
db.url = "jdbc:postgresql://"${slick.dbs.default.host}"/"${slick.dbs.default.dbname}"?user="${slick.dbs.default.username}"&password="${slick.dbs.default.password}
db.driver = "org.postgresql.Driver"
driver = "slick.driver.PostgresDriver$"
}
testnet {
# Distribution Account Private Key
trx-distribution = {
pk = ""
amount = 0
captcha = {
enabled = false
sitekey = ""
}
}
}
play.cache.redis {
# bind the instance to unqualified APIs
bind-default: false
# unqualified APIs bind to "local" instance
default-cache: "redis"
instances {
redis {
host: "127.0.0.1"
port: 6379
database: 2
}
}
}
api.version = "beta"
fullnode {
ip = "13.57.30.186"
ip = ${?NODE_FULL_IP}
port = 50051
port = ${?NODE_FULL_PORT}
list = [
${fullnode.ip}":"${fullnode.port}
]
}
solidity {
ip = "47.75.108.229"
ip = ${?NODE_SOLIDITY_IP}
port = 50051
port = ${?NODE_SOLIDITY_PORT}
list = [
${solidity.ip}":"${solidity.port}
]
}
# Page Caching options
cache {
# /api/* related caches
api {
# /api/node cache
nodes = true
}
}
grpc {
balancer {
maxClients = 12
}
}
# Synchronisation Settings
sync {
full = true
full = ${?ENABLE_SYNC}
solidity = true
solidity = ${?ENABLE_SYNC}
}
network {
scanner {
enabled = true
enabled = ${?ENABLE_NETWORK_SCANNER}
debug = false
debug = ${?ENABLE_NETWORK_DEBUG}
}
}
slack {
token = ""
verificationCode = ""
}
tokens {
blacklist = [
"XP",
"WWGoneWGA",
"ZTX",
"Fortnite",
"ZZZ",
"VBucks",
"CheapAirGoCoin"
]
}