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

     1  Title="turingchaincoin"
     2  TestNet=false
     3  FixTime=false
     4  
     5  [log]
     6  # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
     7  loglevel = "debug"
     8  logConsoleLevel = "info"
     9  # 日志文件名,可带目录,所有生成的日志文件都放到此目录下
    10  logFile = "logs/turingchain.log"
    11  # 单个日志文件的最大值(单位:兆)
    12  maxFileSize = 300
    13  # 最多保存的历史日志文件个数
    14  maxBackups = 100
    15  # 最多保存的历史日志消息(单位:天)
    16  maxAge = 28
    17  # 日志文件名是否使用本地事件(否则使用UTC时间)
    18  localTime = true
    19  # 历史日志文件是否压缩(压缩格式为gz)
    20  compress = true
    21  # 是否打印调用源文件和行号
    22  callerFile = false
    23  # 是否打印调用方法
    24  callerFunction = false
    25  
    26  [blockchain]
    27  defCacheSize=128
    28  maxFetchBlockNum=128
    29  timeoutSeconds=5
    30  batchBlockNum=128
    31  driver="leveldb"
    32  dbPath="datadir"
    33  dbCache=64
    34  isStrongConsistency=false
    35  singleMode=false
    36  batchsync=false
    37  isRecordBlockSequence=false
    38  enableTxQuickIndex=false
    39  
    40  [p2p]
    41  # p2p类型
    42  types=[ "dht"]
    43  enable=true
    44  driver="leveldb"
    45  dbPath="datadir/addrbook"
    46  dbCache=4
    47  grpcLogFile="grpc33.log"
    48  waitPid=false
    49  
    50  [p2p.sub.dht]
    51  
    52  [rpc]
    53  jrpcBindAddr="localhost:9671"
    54  grpcBindAddr="localhost:9672"
    55  whitelist=["127.0.0.1"]
    56  jrpcFuncWhitelist=["*"]
    57  grpcFuncWhitelist=["*"]
    58  enableTLS=false
    59  certFile="cert.pem"
    60  keyFile="key.pem"
    61  
    62  [mempool]
    63  poolCacheSize=102400
    64  maxTxNumPerAccount=100
    65  # 最小得交易手续费率,这个没有默认值,必填,一般是0.001 coins
    66  minTxFeeRate=100000
    67  # 最大的交易手续费率, 0.1 coins
    68  maxTxFeeRate=10000000
    69  # 单笔交易最大的手续费, 10 coins
    70  maxTxFee=1000000000
    71  
    72  [consensus]
    73  name="ticket"
    74  minerstart=true
    75  genesisBlockTime=1514533394
    76  genesis="14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
    77  
    78  [consensus.sub.ticket]
    79  genesisBlockTime=1526486816
    80  [[consensus.sub.ticket.genesis]]
    81  minerAddr="184wj4nsgVxKyz2NhM3Yb5RK5Ap6AFRFq2"
    82  returnAddr="1FB8L3DykVF7Y78bRfUrRcMZwesKue7CyR"
    83  count=3000
    84  
    85  [[consensus.sub.ticket.genesis]]
    86  minerAddr="1M4ns1eGHdHak3SNc2UTQB75vnXyJQd91s"
    87  returnAddr="1Lw6QLShKVbKM6QvMaCQwTh5Uhmy4644CG"
    88  count=3000
    89  
    90  [[consensus.sub.ticket.genesis]]
    91  minerAddr="19ozyoUGPAQ9spsFiz9CJfnUCFeszpaFuF"
    92  returnAddr="1PSYYfCbtSeT1vJTvSKmQvhz8y6VhtddWi"
    93  count=3000
    94  
    95  [[consensus.sub.ticket.genesis]]
    96  minerAddr="1MoEnCDhXZ6Qv5fNDGYoW6MVEBTBK62HP2"
    97  returnAddr="1BG9ZoKtgU5bhKLpcsrncZ6xdzFCgjrZud"
    98  count=3000
    99  
   100  [[consensus.sub.ticket.genesis]]
   101  minerAddr="1FjKcxY7vpmMH6iB5kxNYLvJkdkQXddfrp"
   102  returnAddr="1G7s64AgX1ySDcUdSW5vDa8jTYQMnZktCd"
   103  count=3000
   104  
   105  [[consensus.sub.ticket.genesis]]
   106  minerAddr="12T8QfKbCRBhQdRfnAfFbUwdnH7TDTm4vx"
   107  returnAddr="1FiDC6XWHLe7fDMhof8wJ3dty24f6aKKjK"
   108  count=3000
   109  
   110  [[consensus.sub.ticket.genesis]]
   111  minerAddr="1bgg6HwQretMiVcSWvayPRvVtwjyKfz1J"
   112  returnAddr="1AMvuuQ7V7FPQ4hkvHQdgNWy8wVL4d4hmp"
   113  count=3000
   114  
   115  [[consensus.sub.ticket.genesis]]
   116  minerAddr="1EwkKd9iU1pL2ZwmRAC5RrBoqFD1aMrQ2"
   117  returnAddr="1ExRRLoJXa8LzXdNxnJvBkVNZpVw3QWMi4"
   118  count=3000
   119  
   120  [[consensus.sub.ticket.genesis]]
   121  minerAddr="1HFUhgxarjC7JLru1FLEY6aJbQvCSL58CB"
   122  returnAddr="1KNGHukhbBnbWWnMYxu1C7YMoCj45Z3amm"
   123  count=3000
   124  
   125  [[consensus.sub.ticket.genesis]]
   126  minerAddr="1C9M1RCv2e9b4GThN9ddBgyxAphqMgh5zq"
   127  returnAddr="1AH9HRd4WBJ824h9PP1jYpvRZ4BSA4oN6Y"
   128  count=4733
   129  
   130  [store]
   131  name="mavl"
   132  driver="leveldb"
   133  dbPath="datadir/mavltree"
   134  dbCache=128
   135  enableMavlPrefix=false
   136  enableMVCC=false
   137  
   138  [wallet]
   139  minFee=100000
   140  driver="leveldb"
   141  dbPath="wallet"
   142  dbCache=16
   143  signType="secp256k1"
   144  minerdisable=false
   145  minerwhitelist=["*"]
   146  
   147  [exec]
   148  #交易费相关统一在mempool中配置
   149  enableStat=false
   150  enableMVCC=false
   151  
   152  [exec.sub.token]
   153  saveTokenTxList=false
   154  
   155  #系统中所有的fork,默认用turingchain的测试网络的
   156  #但是我们可以替换
   157  [fork.system]
   158  ForkChainParamV1= 0
   159  ForkChainParamV2= -1
   160  ForkStateDBSet=-1
   161  ForkCheckTxDup=0
   162  ForkBlockHash= 1
   163  ForkMinerTime= 0
   164  ForkTransferExec= 100000
   165  ForkExecKey= 200000
   166  ForkTxGroup= 200000
   167  ForkResetTx0= 200000
   168  ForkWithdraw= 200000
   169  ForkExecRollback= 450000
   170  ForkTxHeight= -1
   171  ForkTxGroupPara= -1
   172  ForkCheckBlockTime=1200000
   173  ForkMultiSignAddress=1298600
   174  ForkBlockCheck=1725000
   175  ForkLocalDBAccess=1
   176  ForkBase58AddressCheck=1800000
   177  ForkTicketFundAddrV1=-1
   178  ForkRootHash=1
   179  [fork.sub.coins]
   180  Enable=0
   181  
   182  [fork.sub.manage]
   183  Enable=0
   184  ForkManageExec=100000
   185  
   186  [fork.sub.store-kvmvccmavl]
   187  ForkKvmvccmavl=1
   188