github.com/turingchain2020/turingchain@v1.1.21/types/testdata/turingchain.toml (about) 1 Title="turingchain" 2 TestNet=true 3 FixTime=false 4 TxHeight=true 5 6 [log] 7 # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit 8 loglevel = "debug" 9 logConsoleLevel = "info" 10 # 日志文件名,可带目录,所有生成的日志文件都放到此目录下 11 logFile = "logs/turingchain.log" 12 # 单个日志文件的最大值(单位:兆) 13 maxFileSize = 300 14 # 最多保存的历史日志文件个数 15 maxBackups = 100 16 # 最多保存的历史日志消息(单位:天) 17 maxAge = 28 18 # 日志文件名是否使用本地事件(否则使用UTC时间) 19 localTime = true 20 # 历史日志文件是否压缩(压缩格式为gz) 21 compress = true 22 # 是否打印调用源文件和行号 23 callerFile = false 24 # 是否打印调用方法 25 callerFunction = false 26 27 28 [blockchain] 29 defCacheSize=128 30 maxFetchBlockNum=128 31 timeoutSeconds=5 32 batchBlockNum=128 33 driver="leveldb" 34 dbPath="datadir" 35 dbCache=64 36 isStrongConsistency=false 37 singleMode=false 38 batchsync=false 39 isRecordBlockSequence=true 40 isParaChain=false 41 enableTxQuickIndex=false 42 43 [p2p] 44 enable=true 45 driver="leveldb" 46 dbPath="datadir/addrbook" 47 dbCache=4 48 grpcLogFile="grpc33.log" 49 50 [p2p.sub.dht] 51 52 53 [rpc] 54 jrpcBindAddr="localhost:9671" 55 grpcBindAddr="localhost:9672" 56 whitelist=["127.0.0.1"] 57 jrpcFuncWhitelist=["*"] 58 grpcFuncWhitelist=["*"] 59 60 [mempool] 61 poolCacheSize=10240 62 # 最小得交易手续费率,这个没有默认值,必填,一般是0.001 coins 63 minTxFeeRate=10000 64 # 最大的交易手续费率, 0.1 coins 65 maxTxFeeRate=1000000 66 # 单笔交易最大的手续费, 10 coins 67 maxTxFee=100000000 68 maxTxNumPerAccount=10000 69 70 [consensus] 71 name="ticket" 72 minerstart=true 73 74 [mver.consensus.sub.ticket] 75 coinReward = 18 76 coinDevFund = 12 77 ticketPrice = 10000 78 powLimitBits = "0x1f00ffff" 79 retargetAdjustmentFactor = 4 80 futureBlockTime = 16 81 ticketFrozenTime = 5 #5s only for test 82 ticketWithdrawTime = 10 #10s only for test 83 ticketMinerWaitTime = 2 #2s only for test 84 maxTxNumber = 1600 #160 85 targetTimespan = 2304 86 targetTimePerBlock = 16 87 88 [mver.consensus.sub.ticket.ForkBlockHash] 89 maxTxNumber = 10000 90 targetTimespan = 288 #only for test 91 targetTimePerBlock = 2 92 powLimitBits = "0x1f2fffff" 93 94 95 [store] 96 name="mavl" 97 driver="leveldb" 98 dbPath="datadir/mavltree" 99 dbCache=128 100 101 [store.sub.mavl] 102 enableMavlPrefix=false 103 enableMVCC=false 104 105 [store.sub.mavl2] 106 enableMavlPrefix=false 107 enableMVCC=false 108 109 [wallet] 110 minFee=100000 111 driver="leveldb" 112 dbPath="wallet" 113 dbCache=16 114 signType="secp256k1" 115 116 [wallet.sub.ticket] 117 minerdisable=false 118 minerwhitelist=["*"] 119 120 [exec] 121 #交易费相关统一在mempool中配置0 122 enableStat=false 123 enableMVCC=false 124 alias=["token1:token","token2:token","token3:token"] 125 saveTokenTxList=false 126 127 [exec.sub.cert] 128 # 是否启用证书验证和签名 129 enable=false 130 # 加密文件路径 131 cryptoPath="authdir/crypto" 132 # 带证书签名类型,支持"auth_ecdsa", "auth_sm2" 133 signType="auth_ecdsa" 134 135 #系统中所有的fork,默认用turingchain的测试网络的 136 #但是我们可以替换 137 [fork.system] 138 ForkV1=75260 139 ForkV3= 110000 140 ForkBlockHash= 209186 141 ForkV9= 350000 142 ForkV12TransferExec= 408400 143 ForkV13ExecKey= 408400 144 ForkV14TxGroup= 408400 145 ForkV15ResetTx0= 453400 146 ForkV16Withdraw= 480000 147 ForkV22ExecRollback= 706531 148 ForkV23TxHeight= 806578 149 ForkV24TxGroupPara= 806578 150 ForkStateDBSet=-1 151 152 [fork.sub.manage] 153 Enable=120000 154 ForkV11ManageExec= 400000 155 156 [fork.sub.retrive] 157 Enable=0 158 ForkRetrive= 180000 159 160 [fork.sub.token] 161 Enable=100899 162 ForkTokenBlackList= 190000 163 ForkBadTokenSymbol= 184000 164 ForkTokenPrice= 560000 165 166 [fork.sub.trade] 167 Enable=100899 168 ForkTradeBuyLimit= 301000 169 ForkV27TradeAsset= 1010000 170 171 [fork.sub.evm] 172 Enable=500000 173 ForkEVMState= 650000 174 ForkEVMKVHash= 1000000 175 176 [fork.sub.relay] 177 Enable=570000 178 179 [fork.sub.privacy] 180 Enable=980000 181 182 [fork.sub.blackwhite] 183 Enable=850000 184 ForkBlackWhiteV2= 900000