Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
documents
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
jiangpeng
documents
Commits
6fc64144
Commit
6fc64144
authored
Feb 10, 2022
by
jiangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add p2p shard config doc
parent
f8ae6100
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
分片配置.md
分片配置.md
+1
-1
分片配置.toml
分片配置.toml
+26
-0
No files found.
分片配置.md
deleted
100644 → 0
View file @
f8ae6100
-- "a/\345\210\206\347\211\207\351\205\215\347\275\256.md"
++ /dev/null
分片配置.toml
0 → 100644
View file @
6fc64144
[blockchain]
# 分片存储中每个大块包含的区块数,固定参数
chunkblockNum
=
1000
# blockchain模块保留的区块数,指定最新的reservedBlockNum个区块不参与分片
reservedBlockNum
=
300000
# 是否禁止分片功能,默认开启分片功能
disableShard
=
false
# 使能从P2pStore中获取数据
enableFetchP2pstore
=
true
[p2p]
# 分片需要基于dht网络
types
=
["dht"]
# dht子配置
[p2p.sub.dht]
# 分片全节点模式,即分片模式下保留所有分片数据
isFullNode
=
false
# 分片数据保存比例, 默认30%, 最低10%, 最高100%
Percentage
=
30
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