Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-bin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
袁兴强
chain33-bin
Commits
30c432c9
Commit
30c432c9
authored
Jul 07, 2020
by
袁兴强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add bityuan
parent
c476482e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
0 deletions
+139
-0
bityuan
bityuan
+0
-0
bityuan.toml
bityuan.toml
+139
-0
No files found.
bityuan
0 → 100755
View file @
30c432c9
File added
bityuan.toml
0 → 100644
View file @
30c432c9
Title
=
"bityuan"
FixTime
=
false
[pprof]
listenAddr
=
":6060"
[log]
# 日志级别,支持debug(dbug)/info/warn/error(eror)/crit
loglevel
=
"debug"
logConsoleLevel
=
"info"
# 日志文件名,可带目录,所有生成的日志文件都放到此目录下
logFile
=
"logs/chain33.log"
# 单个日志文件的最大值(单位:兆)
maxFileSize
=
300
# 最多保存的历史日志文件个数
maxBackups
=
100
# 最多保存的历史日志消息(单位:天)
maxAge
=
28
# 日志文件名是否使用本地事件(否则使用UTC时间)
localTime
=
true
# 历史日志文件是否压缩(压缩格式为gz)
compress
=
true
# 是否打印调用源文件和行号
callerFile
=
false
# 是否打印调用方法
callerFunction
=
false
[blockchain]
dbPath
=
"datadir"
dbCache
=
64
batchsync
=
false
isRecordBlockSequence
=
false
enableTxQuickIndex
=
true
# 升级storedb是否重新执行localdb,bityuan主链升级不需要开启,平行链升级需要开启
enableReExecLocal
=
false
# 使能精简localdb
enableReduceLocaldb
=
true
# 分片存储中每个大块包含的区块数
chunkblockNum
=
1000
# 使能从P2pStore中获取数据
enableFetchP2pstore
=
false
# 使能假设已删除已归档数据后,获取数据情况
enableIfDelLocalChunk
=
false
[p2p]
types
=[
"gossip"
,
"dht"
]
dbPath
=
"datadir/addrbook"
dbCache
=
4
grpcLogFile
=
"grpc33.log"
#waitPid 等待seed导入
waitPid
=
false
[p2p.sub.gossip]
port
=
13802
seeds
=[]
isSeed
=
false
innerSeedEnable
=
true
useGithub
=
true
innerBounds
=
300
[p2p.sub.dht]
#可以自定义设置连接节点
seeds
=[
"/ip4/139.196.200.22/tcp/13803/p2p/16Uiu2HAmEZHWVYk2xBuCaCLibrZFUcgHzxuvGJgcjTp34n4yyTcU"
,
"/ip4/106.14.77.14/tcp/13803/p2p/16Uiu2HAm2o1y9y5ZLmSUCYykxQcgzAkVYPfvjRjDyK7uZsdui1A3"
,
"/ip4/139.196.200.106/tcp/13803/p2p/16Uiu2HAm5SCHL62N12TW3w5XmeX4hvFq8NyaQdThZYErtAraYJRC"
]
port
=
13803
#dht 版本还不稳定,暂时限定较小的连接数
maxConnectNum
=
300
#区块轻广播最低区块大小,1k
minLtBlockSize
=
1
fullNodes
=
["/ip4/139.196.200.22/tcp/13803/p2p/16Uiu2HAmEZHWVYk2xBuCaCLibrZFUcgHzxuvGJgcjTp34n4yyTcU"]
[rpc]
jrpcBindAddr
=
"localhost:8801"
grpcBindAddr
=
"localhost:8802"
whitelist
=
["127.0.0.1"]
jrpcFuncWhitelist
=
["*"]
grpcFuncWhitelist
=
["*"]
enableTLS
=
false
certFile
=
"cert.pem"
keyFile
=
"key.pem"
[mempool]
maxTxNumPerAccount
=
100
[store]
dbPath
=
"datadir/mavltree"
dbCache
=
128
[store.sub.mavl]
enableMavlPrefix
=
true
enableMVCC
=
false
enableMavlPrune
=
true
pruneHeight
=
10000
enableMemTree
=
true
enableMemVal
=
true
# 缓存close ticket数目,该缓存越大同步速度越快,最大设置到1500000,默认200000
tkCloseCacheLen
=
200000
[store.sub.kvmvccmavl]
enableMVCCIter
=
true
enableMavlPrefix
=
true
enableMVCC
=
false
enableMavlPrune
=
true
pruneMavlHeight
=
10000
enableMVCCPrune
=
false
pruneMVCCHeight
=
10000
enableMemTree
=
true
enableMemVal
=
true
# 缓存close ticket数目,该缓存越大同步速度越快,最大设置到1500000,默认200000
tkCloseCacheLen
=
200000
[wallet]
dbPath
=
"wallet"
dbCache
=
16
[wallet.sub.ticket]
minerdisable
=
false
minerwhitelist
=
["*"]
[exec]
enableStat
=
false
enableMVCC
=
false
[exec.sub.token]
saveTokenTxList
=
false
[metrics]
#是否使能发送metrics数据的发送
enableMetrics
=
false
#数据保存模式
dataEmitMode
=
"influxdb"
[metrics.sub.influxdb]
#以纳秒为单位的发送间隔
duration
=
1000000000
url
=
"http://influxdb:8086"
database
=
"chain33metrics"
username
=
""
password
=
""
namespace
=
""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment