chain33.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Title="bityuan"
  2. TestNet=false
  3. FixTime= false
  4. [log]
  5. # 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
  6. loglevel = "debug"
  7. logConsoleLevel = "info"
  8. # 日志文件名,可带目录,所有生成的日志文件都放到此目录下
  9. logFile = "logs/chain33.log"
  10. # 单个日志文件的最大值(单位:兆)
  11. maxFileSize = 300
  12. # 最多保存的历史日志文件个数
  13. maxBackups = 100
  14. # 最多保存的历史日志消息(单位:天)
  15. maxAge = 28
  16. # 日志文件名是否使用本地事件(否则使用UTC时间)
  17. localTime = true
  18. # 历史日志文件是否压缩(压缩格式为gz)
  19. compress = true
  20. # 是否打印调用源文件和行号
  21. callerFile = false
  22. # 是否打印调用方法
  23. callerFunction = false
  24. [blockchain]
  25. defCacheSize=512
  26. maxFetchBlockNum=128
  27. timeoutSeconds=5
  28. batchBlockNum=128
  29. driver="leveldb"
  30. dbPath="datadir"
  31. dbCache=64
  32. isStrongConsistency=false
  33. singleMode=false
  34. batchsync=false
  35. isRecordBlockSequence=false
  36. [p2p]
  37. seeds=[]
  38. enable=true
  39. isSeed=false
  40. serverStart=true
  41. innerSeedEnable=true
  42. useGithub=true
  43. innerBounds=300
  44. msgCacheSize=10240
  45. driver="leveldb"
  46. dbPath="datadir/addrbook"
  47. dbCache=4
  48. grpcLogFile="grpc33.log"
  49. [rpc]
  50. jrpcBindAddr="localhost:8801"
  51. grpcBindAddr="localhost:8802"
  52. whitelist=["127.0.0.1"]
  53. jrpcFuncWhitelist=["*"]
  54. grpcFuncWhitelist=["*"]
  55. [mempool]
  56. poolCacheSize=10240
  57. minTxFee=100000
  58. [consensus]
  59. name="ticket"
  60. minerstart=true
  61. [store]
  62. name="mavl"
  63. driver="leveldb"
  64. dbPath="datadir/mavltree"
  65. dbCache=128
  66. [wallet]
  67. minFee=100000
  68. driver="leveldb"
  69. dbPath="datadir/wallet"
  70. dbCache=16
  71. signType="secp256k1"
  72. minerdisable=false
  73. minerwhitelist=["*"]
  74. [exec]
  75. isFree=false
  76. minExecFee=100000
  77. enableStat=false