This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add bnbcli * add bnbchaind * add bnbchaind * add bnbchaind * replace binaries * add bnbcli * add bnbcli * edit changelog * edit changelog Co-authored-by: suyu <[email protected]>
- Loading branch information
1 parent
3a19f39
commit 79b7f1e
Showing
13 changed files
with
1,590 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a59b7da5c9cb63f5b947c3212f03feac21cf4c97a819cef132452d22198897b9 bnbcli |
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d835b27f17acea9fb223108f8c5279a2ac08b06b20b279868f999be1587e2a78 bnbcli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
# This is a TOML config file. | ||
# For more information, see https://github.com/toml-lang/toml | ||
|
||
[base] | ||
# Interval blocks of breathe block, if breatheBlockInterval is 0, breathe block will be created every day. | ||
breatheBlockInterval = 0 | ||
# Size of account cache | ||
accountCacheSize = 30000 | ||
# Size of signature cache | ||
signatureCacheSize = 30000 | ||
# Running mode when start up, 0: Normal, 1: TransferOnly, 2: RecoverOnly | ||
startMode = 0 | ||
# Concurrency of OrderKeeper, should be power of 2 | ||
orderKeeperConcurrency = 2 | ||
# Days count back for breathe block | ||
breatheBlockDaysCountBack = 7 | ||
|
||
[upgrade] | ||
# Block height of BEP6 upgrade | ||
BEP6Height = 20300000 | ||
# Block height of BEP9 upgrade | ||
BEP9Height = 20300000 | ||
# Block height of BEP10 upgrade | ||
BEP10Height = 20300000 | ||
# Block height of BEP19 upgrade | ||
BEP19Height = 20300000 | ||
# Block height of BEP12 upgrade | ||
BEP12Height = 25120000 | ||
# Block height of BEP3 upgrade | ||
BEP3Height = 41277000 | ||
# Block height of FixSignBytesOverflow upgrade | ||
FixSignBytesOverflowHeight = 51467800 | ||
# Block height of LotSizeOptimization upgrade | ||
LotSizeUpgradeHeight = 51467800 | ||
# Block height of changing listing rule upgrade | ||
ListingRuleUpgradeHeight = 51467800 | ||
# Block height of FixZeroBalanceHeight upgrade | ||
FixZeroBalanceHeight = 51467800 | ||
# Block height of BEP8 upgrade | ||
BEP8Height = 99550000 | ||
# Block height of BEP67 upgrade | ||
BEP67Height = 99550000 | ||
# Block height of BEP70 upgrade | ||
BEP70Height = 99550000 | ||
# Block height of smart chain upgrade | ||
LaunchBscUpgradeHeight = 109999000 | ||
# Block height of BEP82Height upgrade | ||
BEP82Height = 146060000 | ||
# Block height of BEP84Height upgrade | ||
BEP84Height = 146060000 | ||
# Block height of BEP87Height upgrade | ||
BEP87Height = 146060000 | ||
# Block height of FixFailAckPackage upgrade | ||
FixFailAckPackageHeight = 146060000 | ||
# Block height of Enable Account Scripts For CrossChain Transfer upgrade | ||
EnableAccountScriptsForCrossChainTransferHeight = 146060000 | ||
|
||
[addr] | ||
# Bech32PrefixAccAddr defines the Bech32 prefix of an account's address | ||
bech32PrefixAccAddr = "bnb" | ||
# Bech32PrefixAccPub defines the Bech32 prefix of an account's public key | ||
bech32PrefixAccPub = "bnbp" | ||
# Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address | ||
bech32PrefixValAddr = "bva" | ||
# Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key | ||
bech32PrefixValPub = "bvap" | ||
# Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address | ||
bech32PrefixConsAddr = "bca" | ||
# Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key | ||
bech32PrefixConsPub = "bcap" | ||
|
||
##### publication related configurations ##### | ||
[publication] | ||
# configurations ends with Kafka can be a semi-colon separated host-port list | ||
# Whether we want publish market data (this includes trades and order) | ||
publishOrderUpdates = true | ||
orderUpdatesTopic = "orders" | ||
orderUpdatesKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish account balance to notify browser db indexer persist latest account balance change | ||
publishAccountBalance = true | ||
accountBalanceTopic = "accounts" | ||
accountBalanceKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish order book changes | ||
publishOrderBook = true | ||
orderBookTopic = "orders" | ||
orderBookKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish block fee changes | ||
publishBlockFee = true | ||
blockFeeTopic = "accounts" | ||
blockFeeKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish transfers | ||
publishTransfer = true | ||
transferTopic = "transfers" | ||
transferKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish distribution | ||
publishDistributeReward = false | ||
distributeRewardTopic = "distribution" | ||
distributeRewardKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish staking | ||
publishStaking = false | ||
stakingTopic = "staking" | ||
stakingKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish slashing | ||
publishSlashing = false | ||
slashingTopic = "slashing" | ||
slashingKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish cross transfer | ||
publishCrossTransfer = false | ||
crossTransferTopic = "crossTransfer" | ||
crossTransferKafka = "127.0.0.1:9092" | ||
|
||
## Whether we want publish mirror events | ||
publishMirror = false | ||
mirrorTopic = "mirror" | ||
mirrorKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish side proposals | ||
publishSideProposal = false | ||
sideProposalTopic = "sideProposal" | ||
sideProposalKafka = "127.0.0.1:9092" | ||
|
||
# Whether we want publish breatheBlock | ||
publishBreatheBlock = false | ||
breatheBlockTopic = "breatheBlock" | ||
breatheBlockKafka = "127.0.0.1:9092" | ||
|
||
# Global setting | ||
publicationChannelSize = "10000" | ||
publishKafka = false | ||
publishLocal = true | ||
# max size in megabytes of marketdata json file before rotate | ||
localMaxSize = 1024 | ||
# max days of marketdata json files to keep before deleted | ||
localMaxAge = 7 | ||
|
||
[log] | ||
|
||
# Write logs to console instead of file | ||
logToConsole = false | ||
|
||
## The below parameters take effect only when logToConsole is false | ||
# Log file root, if not set, use home path | ||
logFileRoot = "" | ||
# Log file path relative to log file root path | ||
logFilePath = "bnc.log" | ||
# Number of logs keep in memory before writing to file | ||
logBuffSize = 10000 | ||
|
||
[cross_chain] | ||
ibcChainId = 1 | ||
bscChainId = "bsc" | ||
bscIbcChainId = 56 | ||
|
||
[dex] | ||
# The suffixed symbol of BUSD | ||
BUSDSymbol = "BUSD-BD1" |
Oops, something went wrong.