Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Add release for mainnet #121

Merged
merged 8 commits into from
Sep 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/prod/0.6.2/linux/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bnbcli filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions cli/prod/0.6.2/linux/bnbcli
Git LFS file not shown
4 changes: 4 additions & 0 deletions cli/prod/0.6.2/linux/sha256checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

66cb440087002296c4bff2f9d864f4ae5cede927ef377a7985a44de603ba4805 ./bnbcli


1 change: 1 addition & 0 deletions cli/prod/0.6.2/mac/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bnbcli filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions cli/prod/0.6.2/mac/bnbcli
Git LFS file not shown
3 changes: 3 additions & 0 deletions cli/prod/0.6.2/mac/sha256checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

af7d895b50ea996325e1788a093769f111f655f5753331be4128f5050d1ea144 ./bnbcli

1 change: 1 addition & 0 deletions cli/prod/0.6.2/windows/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bnbcli.exe filter=lfs diff=lfs merge=lfs -text
Binary file added cli/prod/0.6.2/windows/bnbcli.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions cli/prod/0.6.2/windows/sha256checksum
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

1891a9fae11559384d7645b98145a353edd17c2a919ae1382861bcd5ea32f5b7 bnbcli.exe

94 changes: 94 additions & 0 deletions fullnode/prod/0.6.2/config/app.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# 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 = 41270000

[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
Loading