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