-
Notifications
You must be signed in to change notification settings - Fork 54
/
module-beta.ncf
162 lines (147 loc) · 4.8 KB
/
module-beta.ncf
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
[global]
encoding=UTF-8
language=en
logPath=../../../../Logs
logLevel=DEBUG
dataPath=../../../../data
#Default This ChainID
chainId=2
#Address prefix
addressPrefix=tNULS
#Default main asset of this chainID
assetId=1
#Default Chain Name
chainName=nuls2
#The default asset symbol for this chain
symbol=NULS
#The exact decimal places of default assets
decimals=8
#Main network chainid
mainChainId=2
#Main network assetsid
mainAssetId=1
#Main network main asset symbol
mainSymbol=NULS
blackHolePublicKey=000000000000000000000000000000000000000000000000000000000000000000
packageVersion=2.7.0-a4354e9
[network]
port=18001
crossPort=18002
#Magic parameters
packetMagic=20200120
#Seed node
selfSeedIps=39.98.226.51:18001,47.244.186.65:18001,47.254.234.223:18001,47.74.86.85:18001,192.168.1.145:18001
#Cross chain seed connection nodes of the main network
moonSeedIps=39.98.226.51:18002,47.244.186.65:18002,47.254.234.223:18002,47.74.86.85:18002
#Maximum number of network connections
maxInCount=100
#Maximum number of outbound connections
maxOutCount=20
[account]
blockAccountManager=tNULSeBaNE8nFpFo6qYiPiNHSbsGyKSceJLwQt
keystoreFolder=/keystore/backup
[block]
#Maximum number of bytes in a block
blockMaxSize=5242880
#Maximum number of bytes for block extension fields
extendMaxSize=1024
#Threshold of height difference that triggers fork chain switching
chainSwtichThreshold=3
#Minimum number of linked nodes,When the network node linked to is below this parameter,Will continue to wait
minNodeAmount=2
#During block synchronization process,The number of blocks downloaded from nodes on the network each time
downloadNumber=10
#The timeout for downloading a single block from a network node
singleDownloadTimeout=15000
#Maximum number of cached block bytes during block synchronization process(20M)
cachedBlockSizeLimit=20971520
#Genesis block file path(Supports absolute and relative paths,Relative path relative to the directory of this configuration file)
genesisBlockPath=genesis-block.json
dependent=cross-chain,protocol-update,smart-contract
[consensus]
#Seed node list
seedNodes=tNULSeBaMkrt4z9FYEkkR9D6choPVvQr94oYZp,tNULSeBaMoGr2RkLZPfJeS5dFzZeNj1oXmaYNe,tNULSeBaMmShSTVwbU4rHkZjpD98JgFgg6rmhF
#Block address password
password=nuls123456
#Block output interval time(unit:s)
packingInterval=10
#Consensus entrusted mortgage asset chainID
agentChainId=2
#Consensus entrusted mortgage assetsID
agentAssetId=1
#Consensus reward assetsID(Consensus rewards must be assets of the same chain)
awardAssetId=1
#Consensus transaction fee unit price
feeUnit=100000
#Total Inflation
totalInflationAmount=11000000000000000
#Initial inflation amount500w/265*30
inflationAmount=41095890410959
#Inflation start calculation time(unit:S)2020-07-12 00:00:00
initTime=1594483200
#Deflationary ratio(If there is no deflation, set to100)
deflationRatio=99.6
#Deflation interval time(unit:S),30day
deflationTimeInterval=2592000
dataPath=../../../../../data
logPath=../../../../../Logs
dependent=protocol-update,smart-contract,cross-chain
[transaction]
dependent=protocol-update,smart-contract
blackListPath=/Users/zhouwei/data/nuls-v2/account
[ledger]
dependent=protocol-update
[smart-contract]
#The maximum consumption of contract view method callsGas
maxViewGas=100000000
systemLogLevel=WARN
crossTokenSystemContract=tNULSeBaMy9k29Nj4rd3U4tonVr93mrDLHMNNd
dependent=protocol-update
[chain-manager]
dependent=smart-contract,protocol-update
[public-service]
#public-serviceModule ExternalrpcPort number
rpcPort=18003
#databaseurladdress
databaseUrl=192.168.1.204
#Database port number
databasePort=27017
#Maximum number of connection pools
maxAliveConnect=20
#Maximum waiting time for connection
maxWaitTime=120000
#Maximum duration of connection
socketTimeout=300000
#Connection timeout
connectTimeOut=30000
dependent=smart-contract,cross-chain,chain-manager
[cross-chain]
#The minimum value of cross chain node links
minNodeAmount=2
#Maximum value of cross chain node links
sendHeight=6
#Byzantine proportion of cross chain transactions
byzantineRatio=66
#Main network cross chain seed node list
crossSeedIps=39.98.226.51:18002,47.244.186.65:18002,47.254.234.223:18002,47.74.86.85:18002,192.168.1.145:18002
#List of main network validators
verifiers=tNULSeBaMkrt4z9FYEkkR9D6choPVvQr94oYZp,tNULSeBaMmShSTVwbU4rHkZjpD98JgFgg6rmhF,tNULSeBaMoGr2RkLZPfJeS5dFzZeNj1oXmaYNe
#Main network signature Byzantine comparison
mainByzantineRatio=66
#Maximum number of signatures on the main network
maxSignatureCount=100
dataPath=../../../../../data
logPath=../../../../../Logs
dependent=protocol-update,smart-contract
[nuls-api]
#httpServerStart ofip
serverIp=0.0.0.0
#httpServerStart ofport
serverPort=18004
dependent=smart-contract,cross-chain,chain-manager
[protocol-update]
#How many blocks do we count the proportion of protocols per second
interval=10
dependent=smart-contract,cross-chain
[cmd-client]
clientVersion=2.7.0