github.com/turingchain2020/turingchain@v1.1.21/types/testdata/local.mvertest.toml (about)

     1  Title="testtilte"
     2  TestNet=false
     3  FixTime=false
     4  
     5  [mver]
     6  hello="world"
     7  nofork="nofork"
     8  
     9  [mver.ForkMinerTime]
    10  hello="forkworld"
    11  
    12  [log]
    13  # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
    14  loglevel = "debug"
    15  logConsoleLevel = "info"
    16  # 日志文件名,可带目录,所有生成的日志文件都放到此目录下
    17  logFile = "logs/turingchain.log"
    18  # 单个日志文件的最大值(单位:兆)
    19  maxFileSize = 300
    20  # 最多保存的历史日志文件个数
    21  maxBackups = 100
    22  # 最多保存的历史日志消息(单位:天)
    23  maxAge = 28
    24  # 日志文件名是否使用本地事件(否则使用UTC时间)
    25  localTime = true
    26  # 历史日志文件是否压缩(压缩格式为gz)
    27  compress = true
    28  # 是否打印调用源文件和行号
    29  callerFile = false
    30  # 是否打印调用方法
    31  callerFunction = false
    32  
    33  [blockchain]
    34  defCacheSize=128
    35  maxFetchBlockNum=128
    36  timeoutSeconds=5
    37  batchBlockNum=128
    38  driver="leveldb"
    39  dbPath="datadir"
    40  dbCache=64
    41  isStrongConsistency=false
    42  singleMode=false
    43  batchsync=false
    44  isRecordBlockSequence=false
    45  enableTxQuickIndex=false
    46  
    47  [p2p]
    48  types=["dht"]
    49  enable=true
    50  driver="leveldb"
    51  dbPath="datadir/addrbook"
    52  dbCache=4
    53  grpcLogFile="grpc33.log"
    54  
    55  [p2p.sub.dht]
    56  
    57  [rpc]
    58  jrpcBindAddr="localhost:9671"
    59  grpcBindAddr="localhost:9672"
    60  whitelist=["127.0.0.1"]
    61  jrpcFuncWhitelist=["*"]
    62  grpcFuncWhitelist=["*"]
    63  
    64  [mempool]
    65  poolCacheSize=102400
    66  minTxFeeRate=100000
    67  maxTxNumPerAccount=100
    68  
    69  [consensus]
    70  name="ticket"
    71  minerstart=true
    72  genesisBlockTime=1514533394
    73  genesis="14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
    74  
    75  [mver.consensus]
    76  name2="ticket-turingchaincoin"
    77  
    78  [mver.consensus.ForkMinerTime]
    79  name2="ticket-turingchaincoinv5"
    80  
    81  [mver.consensus.ForkChainParamV1]
    82  name2="ticket-turingchaincoinv1"
    83  
    84  [mver.consensus.ForkChainParamV2]
    85  name2="ticket-turingchaincoinv2"
    86  
    87  [mver.consensus.ticket]
    88  ticketPrice = 10000
    89  ticketFrozenTime = 5    #5s only for test
    90  ticketWithdrawTime = 10 #10s only for test
    91  ticketMinerWaitTime = 2 #2s only for test
    92  targetTimespan = 1304
    93  targetTimePerBlock = 16
    94  retargetAdjustmentFactor = 4
    95  futureBlockTime = 16
    96  
    97  [mver.consensus.ticket.ForkChainParamV1]
    98  ticketPrice = 20000
    99  targetTimespan = 2304
   100  targetTimePerBlock = 26
   101  
   102  
   103  [mver.consensus.ticket.ForkChainParamV2]
   104  ticketPrice = 30000
   105  targetTimespan =3304
   106  targetTimePerBlock = 36
   107  
   108  
   109  [consensus.sub.ticket]
   110  genesisBlockTime=1526486816
   111  [[consensus.sub.ticket.genesis]]
   112  minerAddr="184wj4nsgVxKyz2NhM3Yb5RK5Ap6AFRFq2"
   113  returnAddr="1FB8L3DykVF7Y78bRfUrRcMZwesKue7CyR"
   114  count=3000
   115  
   116  [[consensus.sub.ticket.genesis]]
   117  minerAddr="1M4ns1eGHdHak3SNc2UTQB75vnXyJQd91s"
   118  returnAddr="1Lw6QLShKVbKM6QvMaCQwTh5Uhmy4644CG"
   119  count=3000
   120  
   121  [[consensus.sub.ticket.genesis]]
   122  minerAddr="19ozyoUGPAQ9spsFiz9CJfnUCFeszpaFuF"
   123  returnAddr="1PSYYfCbtSeT1vJTvSKmQvhz8y6VhtddWi"
   124  count=3000
   125  
   126  [[consensus.sub.ticket.genesis]]
   127  minerAddr="1MoEnCDhXZ6Qv5fNDGYoW6MVEBTBK62HP2"
   128  returnAddr="1BG9ZoKtgU5bhKLpcsrncZ6xdzFCgjrZud"
   129  count=3000
   130  
   131  [[consensus.sub.ticket.genesis]]
   132  minerAddr="1FjKcxY7vpmMH6iB5kxNYLvJkdkQXddfrp"
   133  returnAddr="1G7s64AgX1ySDcUdSW5vDa8jTYQMnZktCd"
   134  count=3000
   135  
   136  [[consensus.sub.ticket.genesis]]
   137  minerAddr="12T8QfKbCRBhQdRfnAfFbUwdnH7TDTm4vx"
   138  returnAddr="1FiDC6XWHLe7fDMhof8wJ3dty24f6aKKjK"
   139  count=3000
   140  
   141  [[consensus.sub.ticket.genesis]]
   142  minerAddr="1bgg6HwQretMiVcSWvayPRvVtwjyKfz1J"
   143  returnAddr="1AMvuuQ7V7FPQ4hkvHQdgNWy8wVL4d4hmp"
   144  count=3000
   145  
   146  [[consensus.sub.ticket.genesis]]
   147  minerAddr="1EwkKd9iU1pL2ZwmRAC5RrBoqFD1aMrQ2"
   148  returnAddr="1ExRRLoJXa8LzXdNxnJvBkVNZpVw3QWMi4"
   149  count=3000
   150  
   151  [[consensus.sub.ticket.genesis]]
   152  minerAddr="1HFUhgxarjC7JLru1FLEY6aJbQvCSL58CB"
   153  returnAddr="1KNGHukhbBnbWWnMYxu1C7YMoCj45Z3amm"
   154  count=3000
   155  
   156  [[consensus.sub.ticket.genesis]]
   157  minerAddr="1C9M1RCv2e9b4GThN9ddBgyxAphqMgh5zq"
   158  returnAddr="1AH9HRd4WBJ824h9PP1jYpvRZ4BSA4oN6Y"
   159  count=4733
   160  
   161  [store]
   162  name="mavl"
   163  driver="leveldb"
   164  dbPath="datadir/mavltree"
   165  dbCache=128
   166  enableMavlPrefix=false
   167  enableMVCC=false
   168  
   169  [wallet]
   170  minFee=100000
   171  driver="leveldb"
   172  dbPath="wallet"
   173  dbCache=16
   174  signType="secp256k1"
   175  minerdisable=false
   176  minerwhitelist=["*"]
   177  
   178  [exec]
   179  isFree=false
   180  minExecFee=100000
   181  enableStat=false
   182  enableMVCC=false
   183  
   184  [exec.sub.token]
   185  saveTokenTxList=false
   186  
   187  [mver.exec.sub.coins]
   188  name2="ticket-turingchaincoin"
   189  
   190  [mver.exec.sub.coins.ForkMinerTime]
   191  name2="ticket-turingchaincoinv5"
   192  
   193  [mver.exec.sub.coins.Enable]
   194  name2="ticket-turingchaincoinv5-enable"
   195  
   196  #系统中所有的fork,默认用turingchain的测试网络的
   197  #但是我们可以替换
   198  [fork.system]
   199  ForkChainParamV1= 10
   200  ForkChainParamV2= 20
   201  ForkStateDBSet=-1
   202  ForkCheckTxDup=0
   203  ForkBlockHash= 1
   204  ForkMinerTime= 10
   205  ForkTransferExec= 100000
   206  ForkExecKey= 200000
   207  ForkTxGroup= 200000
   208  ForkResetTx0= 200000
   209  ForkWithdraw= 200000
   210  ForkExecRollback= 450000
   211  ForkTxHeight= -1
   212  ForkTxGroupPara= -1
   213  ForkCheckBlockTime=1200000
   214  ForkMultiSignAddress=1298600
   215  ForkBlockCheck=1
   216  ForkLocalDBAccess=0
   217  ForkBase58AddressCheck=1800000
   218  ForkEnableParaRegExec=0
   219  ForkCacheDriver=0
   220  ForkTicketFundAddrV1=-1
   221  ForkRootHash=1
   222  [fork.sub.coins]
   223  Enable=0
   224  
   225  [fork.sub.manage]
   226  Enable=0
   227  ForkManageExec=100000
   228  
   229  [fork.sub.store-kvmvccmavl]
   230  ForkKvmvccmavl=1