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 bnbcli * add bnbcli * add lightd * add lightd * add lightd * add bnbchaind * add bnbchaind * add bnbchaind * add bnbchaind * add files * add files * add files
- Loading branch information
1 parent
2089b24
commit fe4c9de
Showing
30 changed files
with
1,535 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bnbcli filter=lfs diff=lfs merge=lfs -text |
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,4 @@ | ||
|
||
a2bdee9b836accffac94705776d2f8a872b0eef6db11e31b56ede64318ded1ce ./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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bnbcli filter=lfs diff=lfs merge=lfs -text |
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,3 @@ | ||
|
||
2022b7d02892bdd6dda40573901471512827064d57b8f6bf4bad613628115ec4 ./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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bnbcli.exe filter=lfs diff=lfs merge=lfs -text |
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,3 @@ | ||
|
||
4715822cfb8a3f22cfbe2467b37b581b9ea80e4b29fcbd7af7f1c3652bddb484 bnbcli.exe | ||
|
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,102 @@ | ||
# 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 | ||
|
||
[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" | ||
|
||
# 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 |
Oops, something went wrong.