github.com/turingchain2020/turingchain@v1.1.21/executor/authority/test/sm2/turingchain.auth.test.toml (about)

     1  Title="turingchain"
     2  
     3  [log]
     4  # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
     5  loglevel = "debug"
     6  logConsoleLevel = "info"
     7  # 日志文件名,可带目录,所有生成的日志文件都放到此目录下
     8  logFile = "logs/turingchain.log"
     9  # 单个日志文件的最大值(单位:兆)
    10  maxFileSize = 20
    11  # 最多保存的历史日志文件个数
    12  maxBackups = 20
    13  # 最多保存的历史日志消息(单位:天)
    14  maxAge = 28
    15  # 日志文件名是否使用本地事件(否则使用UTC时间)
    16  localTime = true
    17  # 历史日志文件是否压缩(压缩格式为gz)
    18  compress = false
    19  # 是否打印调用源文件和行号
    20  callerFile = true
    21  # 是否打印调用方法
    22  callerFunction = true
    23  
    24  [blockchain]
    25  defCacheSize=512
    26  maxFetchBlockNum=128
    27  timeoutSeconds=5
    28  batchBlockNum=128
    29  driver="memdb"
    30  dbPath="datadir"
    31  dbCache=64
    32  isStrongConsistency=false
    33  singleMode=true
    34  batchsync=false
    35  isRecordBlockSequence=true
    36  
    37  [p2p]
    38  types=["dht"]
    39  enable=true
    40  msgCacheSize=10240
    41  driver="memdb"
    42  dbPath="datadir/addrbook"
    43  dbCache=4
    44  grpcLogFile="grpc33.log"
    45  
    46  
    47  [rpc]
    48  jrpcBindAddr="localhost:9671"
    49  grpcBindAddr="localhost:9672"
    50  whitelist=["127.0.0.1"]
    51  jrpcFuncWhitelist=["*"]
    52  grpcFuncWhitelist=["*"]
    53  
    54  [mempool]
    55  poolCacheSize=10240
    56  minTxFeeRate=0
    57  
    58  [consensus]
    59  name="solo"
    60  minerstart=true
    61  genesis="14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
    62  genesisBlockTime=1514533394
    63  hotkeyAddr="12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
    64  
    65  [store]
    66  name="mavl"
    67  driver="memdb"
    68  dbPath="datadir/mavltree"
    69  dbCache=128
    70  
    71  [wallet]
    72  minFee=1000000
    73  driver="memdb"
    74  dbPath="datadir/wallet"
    75  dbCache=16
    76  signType="secp256k1"
    77  minerwhitelist=["*"]
    78  
    79  [exec]
    80  enableStat=false
    81  
    82  [exec.sub.cert]
    83  # 是否启用证书验证和签名
    84  enable=true
    85  # 加密文件路径
    86  cryptoPath="./authdir/crypto"
    87  # 带证书签名类型,支持"auth_ecdsa", "auth_sm2"
    88  signType="auth_sm2"