Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bootstrap #6084

Merged
merged 2 commits into from
Aug 3, 2023
Merged

feat: add bootstrap #6084

merged 2 commits into from
Aug 3, 2023

Conversation

simlecode
Copy link
Collaborator

@simlecode simlecode commented Aug 1, 2023

关联的Issues (Related Issues)

close #6080

改动 (Proposed Changes)

"swarm": {
  "address": "/ip4/0.0.0.0/tcp/0",
  "protectedPeers": null,
  "connMgrLow": 150,
  "connMgrHigh": 180,
  "connMgrGrace": "20s"
},

"pubsub": {
  "bootstrapper": false
}

附注 (Additional Info)

自查清单 (Checklist)

在你认为本 PR 满足被审阅的标准之前,需要确保 / Before you mark the PR ready for review, please make sure that:

  • 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
  • 具有清晰明确的commit message / All commits have a clear commit message.
  • 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
  • 存在兼容性问题(接口, 配置,数据,灰度),如果存在需要进行文档说明 / This PR has compatibility issues (API, Configuration, Data, GrayRelease), if so, need to be documented.
  • 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
  • 通过必要的检查项 / All checks are green

@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2023

Codecov Report

Merging #6084 (3ba64e9) into master (643bb04) will increase coverage by 0%.
The diff coverage is 47%.

❗ Current head 3ba64e9 differs from pull request most recent head 179b2e5. Consider uploading reports for the commit 179b2e5 to get more accurate results

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6084   +/-   ##
======================================
  Coverage      24%     24%           
======================================
  Files         662     662           
  Lines       80270   80317   +47     
======================================
+ Hits        19665   19694   +29     
- Misses      58000   58015   +15     
- Partials     2605    2608    +3     

Copy link
Collaborator

@LinZexiao LinZexiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simlecode simlecode merged commit 55b6ea7 into master Aug 3, 2023
@simlecode simlecode deleted the feat/bootstrap branch August 3, 2023 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add bootstrap node config / 添加 bootstrap node = true 的相关配置和功能
3 participants