|
| 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 = 1 |
| 21 | +# Block height of BEP9 upgrade |
| 22 | +BEP9Height = 1 |
| 23 | +# Block height of BEP10 upgrade |
| 24 | +BEP10Height = 1 |
| 25 | +# Block height of BEP19Height upgrade |
| 26 | +BEP19Height = 1 |
| 27 | +# Block height of BEP12 upgrade |
| 28 | +BEP12Height = 1 |
| 29 | +# Block height of BEP3 upgrade |
| 30 | +BEP3Height = 1 |
| 31 | +# Block height of FixSignBytesOverflow upgrade |
| 32 | +FixSignBytesOverflowHeight = 1 |
| 33 | +# Block height of LotSizeOptimization upgrade |
| 34 | +LotSizeUpgradeHeight = 1 |
| 35 | +# Block height of changing listing rule upgrade |
| 36 | +ListingRuleUpgradeHeight = 1 |
| 37 | +# Block height of FixZeroBalanceHeight upgrade |
| 38 | +FixZeroBalanceHeight = 1 |
| 39 | +BEP70Height = 1 |
| 40 | +BEP67Height = 1 |
| 41 | +BEP8Height = 1 |
| 42 | +LaunchBscUpgradeHeight = 1 |
| 43 | +# Block height of Fix Distribution upgrade |
| 44 | +FixSideChainRewardDistribution = 2208000 |
| 45 | + |
| 46 | +[query] |
| 47 | +# ABCI query interface black list, suggested value: ["custom/gov/proposals", "custom/timelock/timelocks", "custom/atomicSwap/swapcreator", "custom/atomicSwap/swaprecipient"] |
| 48 | +ABCIQueryBlackList = [] |
| 49 | + |
| 50 | +[addr] |
| 51 | +# Bech32PrefixAccAddr defines the Bech32 prefix of an account's address |
| 52 | +bech32PrefixAccAddr = "tbnb" |
| 53 | +# Bech32PrefixAccPub defines the Bech32 prefix of an account's public key |
| 54 | +bech32PrefixAccPub = "bnbp" |
| 55 | +# Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address |
| 56 | +bech32PrefixValAddr = "bva" |
| 57 | +# Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key |
| 58 | +bech32PrefixValPub = "bvap" |
| 59 | +# Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address |
| 60 | +bech32PrefixConsAddr = "bca" |
| 61 | +# Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key |
| 62 | +bech32PrefixConsPub = "bcap" |
| 63 | + |
| 64 | +##### publication related configurations ##### |
| 65 | +[publication] |
| 66 | +# configurations ends with Kafka can be a semi-colon separated host-port list |
| 67 | +# Whether we want publish market data (this includes trades and order) |
| 68 | +publishOrderUpdates = false |
| 69 | +orderUpdatesTopic = "orders" |
| 70 | +orderUpdatesKafka = "127.0.0.1:9092" |
| 71 | + |
| 72 | +# Whether we want publish account balance to notify browser db indexer persist latest account balance change |
| 73 | +publishAccountBalance = false |
| 74 | +accountBalanceTopic = "accounts" |
| 75 | +accountBalanceKafka = "127.0.0.1:9092" |
| 76 | + |
| 77 | +# Whether we want publish order book changes |
| 78 | +publishOrderBook = false |
| 79 | +orderBookTopic = "orders" |
| 80 | +orderBookKafka = "127.0.0.1:9092" |
| 81 | + |
| 82 | +# Whether we want publish block fee changes |
| 83 | +publishBlockFee = false |
| 84 | +blockFeeTopic = "accounts" |
| 85 | +blockFeeKafka = "127.0.0.1:9092" |
| 86 | + |
| 87 | +# Whether we want publish transfers |
| 88 | +publishTransfer = false |
| 89 | +transferTopic = "transfers" |
| 90 | +transferKafka = "127.0.0.1:9092" |
| 91 | + |
| 92 | +# Whether we want publish block |
| 93 | +publishBlock = false |
| 94 | +blockTopic = "block" |
| 95 | +blockKafka = "127.0.0.1:9092" |
| 96 | + |
| 97 | +# Whether we want publish distribution |
| 98 | +publishDistributeReward = false |
| 99 | +distributeRewardTopic = "distribution" |
| 100 | +distributeRewardKafka = "127.0.0.1:9092" |
| 101 | + |
| 102 | +# Whether we want publish staking |
| 103 | +publishStaking = false |
| 104 | +stakingTopic = "staking" |
| 105 | +stakingKafka = "127.0.0.1:9092" |
| 106 | + |
| 107 | +# Whether we want publish slashing |
| 108 | +publishSlashing = false |
| 109 | +slashingTopic = "slashing" |
| 110 | +slashingKafka = "127.0.0.1:9092" |
| 111 | + |
| 112 | +# Whether we want publish cross transfer |
| 113 | +publishCrossTransfer = false |
| 114 | +crossTransferTopic = "crossTransfer" |
| 115 | +crossTransferKafka = "127.0.0.1:9092" |
| 116 | + |
| 117 | +# Whether we want publish side proposals |
| 118 | +publishSideProposal = false |
| 119 | +sideProposalTopic = "sideProposal" |
| 120 | +sideProposalKafka = "127.0.0.1:9092" |
| 121 | + |
| 122 | +# Whether we want publish breatheBlock |
| 123 | +publishBreatheBlock = false |
| 124 | +breatheBlockTopic = "breatheBlock" |
| 125 | +breatheBlockKafka = "127.0.0.1:9092" |
| 126 | + |
| 127 | +# Global setting |
| 128 | +publicationChannelSize = 10000 |
| 129 | +publishKafka = false |
| 130 | +publishLocal = false |
| 131 | +# max size in megabytes of marketdata json file before rotate |
| 132 | +localMaxSize = 1024 |
| 133 | +# max days of marketdata json files to keep before deleted |
| 134 | +localMaxAge = 7 |
| 135 | + |
| 136 | +# whether the kafka open SASL_PLAINTEXT auth |
| 137 | +auth = false |
| 138 | +kafkaUserName = "" |
| 139 | +kafkaPassword = "" |
| 140 | + |
| 141 | +# stop process when publish to Kafka failed |
| 142 | +stopOnKafkaFail = false |
| 143 | + |
| 144 | +# please modify the default value into the version of Kafka you are using |
| 145 | +# kafka broker version, default (and most recommended) is 2.1.0. Minimal supported version could be 0.8.2.0 |
| 146 | +kafkaVersion = "2.1.0" |
| 147 | + |
| 148 | +[log] |
| 149 | + |
| 150 | +# Write logs to console instead of file |
| 151 | +logToConsole = false |
| 152 | + |
| 153 | +## The below parameters take effect only when logToConsole is false |
| 154 | +# Log file root, if not set, use home path |
| 155 | +logFileRoot = "" |
| 156 | +# Log file path relative to log file root path |
| 157 | +logFilePath = "bnc.log" |
| 158 | +# Number of logs keep in memory before writing to file |
| 159 | +logBuffSize = 10000 |
| 160 | +[cross_chain] |
| 161 | +ibcChainId = 1 |
| 162 | +bscChainId = "chapel" |
| 163 | +bscIbcChainId = 97 |
| 164 | +[dex] |
| 165 | +BUSDSymbol = "BUSD-BAF" |
0 commit comments