Skip to content

Commit 2de60a5

Browse files
chainwhispersuyu
andauthored
add hotfix (bnb-chain#226)
Co-authored-by: suyu <[email protected]>
1 parent 779679f commit 2de60a5

File tree

9 files changed

+1505
-0
lines changed

9 files changed

+1505
-0
lines changed
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# This is a TOML config file.
2+
# For more information, see https://github.com/toml-lang/toml
3+
4+
[base]
5+
# Interval blocks of breathe block, if breatheBlockInterval is 0, breathe block will be created every day.
6+
breatheBlockInterval = 0
7+
# Size of account cache
8+
accountCacheSize = 30000
9+
# Size of signature cache
10+
signatureCacheSize = 30000
11+
# Running mode when start up, 0: Normal, 1: TransferOnly, 2: RecoverOnly
12+
startMode = 0
13+
# Concurrency of OrderKeeper, should be power of 2
14+
orderKeeperConcurrency = 2
15+
# Days count back for breathe block
16+
breatheBlockDaysCountBack = 7
17+
18+
[upgrade]
19+
# Block height of BEP6 upgrade
20+
BEP6Height = 20300000
21+
# Block height of BEP9 upgrade
22+
BEP9Height = 20300000
23+
# Block height of BEP10 upgrade
24+
BEP10Height = 20300000
25+
# Block height of BEP19 upgrade
26+
BEP19Height = 20300000
27+
# Block height of BEP12 upgrade
28+
BEP12Height = 25120000
29+
# Block height of BEP3 upgrade
30+
BEP3Height = 41277000
31+
# Block height of FixSignBytesOverflow upgrade
32+
FixSignBytesOverflowHeight = 51467800
33+
# Block height of LotSizeOptimization upgrade
34+
LotSizeUpgradeHeight = 51467800
35+
# Block height of changing listing rule upgrade
36+
ListingRuleUpgradeHeight = 51467800
37+
# Block height of FixZeroBalanceHeight upgrade
38+
FixZeroBalanceHeight = 51467800
39+
# Block height of BEP8 upgrade
40+
BEP8Height = 99550000
41+
# Block height of BEP67 upgrade
42+
BEP67Height = 99550000
43+
# Block height of BEP70 upgrade
44+
BEP70Height = 99550000
45+
46+
[addr]
47+
# Bech32PrefixAccAddr defines the Bech32 prefix of an account's address
48+
bech32PrefixAccAddr = "bnb"
49+
# Bech32PrefixAccPub defines the Bech32 prefix of an account's public key
50+
bech32PrefixAccPub = "bnbp"
51+
# Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address
52+
bech32PrefixValAddr = "bva"
53+
# Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key
54+
bech32PrefixValPub = "bvap"
55+
# Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address
56+
bech32PrefixConsAddr = "bca"
57+
# Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key
58+
bech32PrefixConsPub = "bcap"
59+
60+
##### publication related configurations #####
61+
[publication]
62+
# configurations ends with Kafka can be a semi-colon separated host-port list
63+
# Whether we want publish market data (this includes trades and order)
64+
publishOrderUpdates = true
65+
orderUpdatesTopic = "orders"
66+
orderUpdatesKafka = "127.0.0.1:9092"
67+
68+
# Whether we want publish account balance to notify browser db indexer persist latest account balance change
69+
publishAccountBalance = true
70+
accountBalanceTopic = "accounts"
71+
accountBalanceKafka = "127.0.0.1:9092"
72+
73+
# Whether we want publish order book changes
74+
publishOrderBook = true
75+
orderBookTopic = "orders"
76+
orderBookKafka = "127.0.0.1:9092"
77+
78+
# Whether we want publish block fee changes
79+
publishBlockFee = true
80+
blockFeeTopic = "accounts"
81+
blockFeeKafka = "127.0.0.1:9092"
82+
83+
# Whether we want publish transfers
84+
publishTransfer = true
85+
transferTopic = "transfers"
86+
transferKafka = "127.0.0.1:9092"
87+
88+
# Global setting
89+
publicationChannelSize = "10000"
90+
publishKafka = false
91+
publishLocal = true
92+
# max size in megabytes of marketdata json file before rotate
93+
localMaxSize = 1024
94+
# max days of marketdata json files to keep before deleted
95+
localMaxAge = 7
96+
97+
[log]
98+
99+
# Write logs to console instead of file
100+
logToConsole = false
101+
102+
## The below parameters take effect only when logToConsole is false
103+
# Log file root, if not set, use home path
104+
logFileRoot = ""
105+
# Log file path relative to log file root path
106+
logFilePath = "bnc.log"
107+
# Number of logs keep in memory before writing to file
108+
logBuffSize = 10000
109+
110+
111+
[dex]
112+
# The suffixed symbol of BUSD
113+
BUSDSymbol = "BUSD-BD1"

0 commit comments

Comments
 (0)