Title="local" [log] # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit loglevel = "debug" logConsoleLevel = "info" # 日志文件名,可带目录,所有生成的日志文件都放到此目录下 logFile = "logs/chain33.log" # 单个日志文件的最大值(单位:兆) maxFileSize = 300 # 最多保存的历史日志文件个数 maxBackups = 100 # 最多保存的历史日志消息(单位:天) maxAge = 28 # 日志文件名是否使用本地事件(否则使用UTC时间) localTime = true # 历史日志文件是否压缩(压缩格式为gz) compress = true # 是否打印调用源文件和行号 callerFile = false # 是否打印调用方法 callerFunction = false [blockchain] defCacheSize=512 maxFetchBlockNum=128 timeoutSeconds=5 batchBlockNum=128 driver="leveldb" dbPath="datadir" dbCache=64 isStrongConsistency=true singleMode=true batchsync=false enableTxQuickIndex=true [p2p] seeds=["127.0.0.1:13802"] enable=true isSeed=true serverStart=true innerSeedEnable=false useGithub=false innerBounds=300 msgCacheSize=10240 driver="leveldb" dbPath="datadir/addrbook" dbCache=4 grpcLogFile="grpc33.log" version=199 verMix=199 verMax=199 [rpc] jrpcBindAddr="localhost:8801" grpcBindAddr="localhost:8802" whitelist=["127.0.0.1"] jrpcFuncWhitelist=["*"] grpcFuncWhitelist=["*"] [mempool] poolCacheSize=10240 minTxFee=100000 [consensus] name="tendermint" minerstart=false [mver.consensus] fundKeyAddr = "1BQXS6TxaYYG5mADaWij4AxhZZUTpw95a5" coinReward = 18 coinDevFund = 12 ticketPrice = 10000 powLimitBits = "0x1f00ffff" retargetAdjustmentFactor = 4 futureBlockTime = 16 ticketFrozenTime = 5 #5s only for test ticketWithdrawTime = 10 #10s only for test ticketMinerWaitTime = 2 #2s only for test maxTxNumber = 1600 #160 targetTimespan = 2304 targetTimePerBlock = 16 [mver.consensus.ForkChainParamV1] maxTxNumber = 10000 targetTimespan = 288 #only for test targetTimePerBlock = 2 [mver.consensus.ForkChainParamV2] powLimitBits = "0x1f2fffff" [consensus.sub.tendermint] genesis="14KEKbYtKKQm4wMthSK9J4La4nAiidGozt" genesisBlockTime=1514533394 timeoutTxAvail=1000 timeoutPropose=3000 timeoutProposeDelta=500 timeoutPrevote=1000 timeoutPrevoteDelta=500 timeoutPrecommit=1000 timeoutPrecommitDelta=500 timeoutCommit=1000 skipTimeoutCommit=false createEmptyBlocks=false createEmptyBlocksInterval=0 validatorNodes=["127.0.0.1:46656"] [store] name="kvdb" driver="leveldb" dbPath="datadir/mavltree" dbCache=128 [store.sub.kvdb] enableMavlPrefix=false enableMVCC=false [wallet] minFee=100000 driver="leveldb" dbPath="wallet" dbCache=16 signType="secp256k1" [wallet.sub.ticket] minerdisable=false minerwhitelist=["*"] [exec] isFree=false minExecFee=100000 enableStat=false enableMVCC=false alias=["token1:token","token2:token","token3:token"] saveTokenTxList=false [exec.sub.cert] # 是否启用证书验证和签名 enable=false # 加密文件路径 cryptoPath="authdir/crypto" # 带证书签名类型,支持"auth_ecdsa", "auth_sm2" signType="auth_ecdsa"