Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
68f55015
Commit
68f55015
authored
Jul 03, 2020
by
袁兴强
Committed by
33cn
Jul 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add config
parent
e9e43cb7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
chain33.toml
chain33.toml
+19
-0
No files found.
chain33.toml
View file @
68f55015
...
@@ -44,6 +44,15 @@ enableReExecLocal=true
...
@@ -44,6 +44,15 @@ enableReExecLocal=true
enableReduceLocaldb
=
true
enableReduceLocaldb
=
true
enablePushSubscribe
=
false
enablePushSubscribe
=
false
# 关闭分片存储,默认false为开启分片存储;平行链不需要分片需要修改此默认参数为true
disableShard
=
false
# 分片存储中每个大块包含的区块数
chunkblockNum
=
1000
# 使能从P2pStore中获取数据
enableFetchP2pstore
=
false
# 使能假设已删除已归档数据后,获取数据情况
enableIfDelLocalChunk
=
false
[p2p]
[p2p]
# p2p类型
# p2p类型
types
=[
"dht"
,
"gossip"
]
types
=[
"dht"
,
"gossip"
]
...
@@ -70,6 +79,16 @@ useGithub=true
...
@@ -70,6 +79,16 @@ useGithub=true
innerBounds
=
300
innerBounds
=
300
[p2p.sub.dht]
[p2p.sub.dht]
seeds
=[]
port
=
13803
maxConnectNum
=
100
# 禁止通过局域网发现节点
disableFindLANPeers
=
false
# 配置为全节点模式,全节点保存所有分片数据
isFullNode
=
true
# 若本节点不是全节点,则需要配置全节点地址,当在分片网络中查不到数据时,会到全节点上获取数据
# 格式: "/ip4/139.196.46.175/tcp/13803/p2p/16Uiu2HAkvnDRF8HQTTU5Uu5GmtbLDrgPxCwgVsn2QQ9VEU7Eiwjw"
fullNodes
=[]
...
...
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