forked from tronprotocol/java-tron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-beta.conf
More file actions
201 lines (172 loc) · 4.24 KB
/
config-beta.conf
File metadata and controls
201 lines (172 loc) · 4.24 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
net {
# type = mainnet
type = testnet
}
storage {
# Directory for storing persistent data
db.directory = "database",
index.directory = "index",
# You can custom these 14 databases' configs:
# account, account-index, asset-issue, block, block-index,
# block_KDB, peers, properties, recent-block, trans,
# utxo, votes, witness, witness_schedule.
# Otherwise, db configs will remain defualt and data will be stored in
# the path of "output-directory" or which is set by "-d" ("--output-directory").
# Attention: name is a required field that must be set !!!
properties = [
// {
// name = "account",
// path = "storage_directory_test",
// createIfMissing = true,
// paranoidChecks = true,
// verifyChecksums = true,
// compressionType = 0,
// blockSize = 10485760,
// writeBufferSize = 10485760,
// cacheSize = 0,
// maxOpenFiles = 32
// },
// {
// name = "account-index",
// path = "storage_directory_test",
// createIfMissing = true,
// paranoidChecks = true,
// verifyChecksums = true,
// compressionType = 0,
// blockSize = 10485760,
// writeBufferSize = 10485760,
// cacheSize = 0,
// maxOpenFiles = 32
// }
]
}
node.discovery = {
enable = true
persist = true
bind.ip = ""
external.ip = null
}
node {
# trust node for solidity node
trustNode = "47.93.9.236:50051"
listen.port = 18888
connection.timeout = 2
active = [
# Sample entries:
# { url = "enode://<hex nodeID>@hostname.com:30303" }
# {
# ip = hostname.com
# port = 30303
# nodeId = e437a4836b77ad9d9ffe73ee782ef2614e6d8370fcf62191a6e488276e23717147073a7ce0b444d485fff5a0c34c4577251a7a990cf80d8542e21b95aa8c5e6c
# }
"47.93.9.236:18888",
"47.93.33.201:18888",
"123.56.10.6:18888",
"39.107.80.135:18888",
"47.93.184.2:18888"
]
maxActiveNodes = 30
p2p {
version = 102 # 47: testnet; 101: debug
}
}
sync {
node.count = 30
}
seed.node = {
# List of the seed nodes
# Seed nodes are stable full nodes
# example:
# ip.list = [
# "ip:port",
# "ip:port"
# ]
ip.list = [
"47.93.9.236:18888",
"47.93.33.201:18888",
"123.56.10.6:18888",
"39.107.80.135:18888",
"47.93.184.2:18888"
]
}
genesis.block = {
# Reserve balance
assets = [
# the account of foundation.
{
accountName = "Zion"
accountType = "AssetIssue"
address = "27WuXYGzxHXU7ynKDzoudJd9mS9Bw4vmbER"
balance = "25000000000000000"
},
# the account of payment
{
accountName = "Sun"
accountType = "AssetIssue"
address = "27Vm12vh5Mm9HzPSWBDvbZu1U25xvyFvexF"
balance = "10000000000000000"
},
# the account of coin burn
{
accountName = "Blackhole"
accountType = "AssetIssue"
address = "27WnTihwXsqCqpiNedWvtKCZHsLg5LjQ4XD"
balance = "-9223372036854775808"
},
#testng001
{
accountName = "Testng001"
accountType = "AssetIssue"
address = "27YcHNYcxHGRf5aujYzWQaJSpQ4WN4fJkiU"
balance = "10000000000000000"
},
#testng002
{
accountName = "Testng002"
accountType = "AssetIssue"
address = "27WvzgdLiUvNAStq2BCvA1LZisdD3fBX8jv"
balance = "20000000000000000"
},
#testng003
{
accountName = "Testng003"
accountType = "AssetIssue"
address = "27iDPGt91DX3ybXtExHaYvrgDt5q5d6EtFM"
balance = "30000000000000000"
}
]
witnesses = [
{
address: 27QAUYjg5FXfxcvyHcWF3Aokd5eu9iYgs1c
url = "http://Mercury.org",
voteCount = 105
},
{
address: 27g8BKC65R7qsnEr2vf7R2Nm7MQfvuJ7im4
url = "http://Venus.org",
voteCount = 104
},
{
address: 27Uoo1DVmYT1fFYPdnTtueyqHkjR3DaDjwo
url = "http://Earth.org",
voteCount = 103
},
{
address: 27mEGtrpetip67KuXHFShryhGWd8nbSfLRW
url = "http://Mars.org",
voteCount = 102
},
{
address: 27jvZ4iJ7LQ8UP3VKPGQLp3oj7c7jFf6Q32
url = "http://Jupiter.org",
voteCount = 101
}
]
timestamp = "0" #2017-8-26 12:00:00
parentHash = "0x0000000000000000000000000000000000000000000000000000000000000000"
}
localwitness = [
]
block = {
needSyncCheck = true # first node : false, other : true
}