├── .github
├── dependabot.yml
├── pull_request_template.md
└── workflows
│ ├── build_docker_buildenv.yaml
│ ├── build_docker_runtime.yaml
│ └── publish.yaml
├── .gitignore
├── LICENSE.md
├── Makefile
├── README.md
├── docs
├── .vuepress
│ ├── components
│ │ └── RedirectTutorial.vue
│ ├── config.js
│ ├── public
│ │ ├── 01-zabbix-install.jpg
│ │ ├── 02-zabbix-install.jpg
│ │ ├── 03-zabbix-config.jpg
│ │ ├── 04-zabbix-hostname.jpg
│ │ ├── 05-zabbix-all.jpg
│ │ ├── 06-zabbix-finished.jpg
│ │ ├── 07-zabbix-login.jpg
│ │ ├── 08-zabbix-dashboard.jpg
│ │ ├── 09-zabbix-agent.jpg
│ │ ├── 10-zabbix-agent-add.jpg
│ │ ├── 11-zabbix-graphs.jpg
│ │ ├── 12-zabbix-memory.jpg
│ │ ├── 13-Alarm-information.jpg
│ │ ├── CNAME
│ │ ├── assets
│ │ │ ├── filecoin-logo-v.svg
│ │ │ ├── filecoin-logo.svg
│ │ │ ├── fonts
│ │ │ │ └── oxygen
│ │ │ │ │ ├── OFL.txt
│ │ │ │ │ ├── Oxygen-Bold.ttf
│ │ │ │ │ ├── Oxygen-Light.ttf
│ │ │ │ │ └── Oxygen-Regular.ttf
│ │ │ ├── icon-coin-128.png
│ │ │ ├── venus-hero-logo.png
│ │ │ ├── venus-logo-title.svg
│ │ │ └── venus-logo.png
│ │ ├── damocles-banner.jpg
│ │ ├── droplet-banner.jpg
│ │ ├── error-message.png
│ │ ├── getting-started-node-diagram.png
│ │ ├── lotus-cluster-1.png
│ │ ├── lotus-cluster-2.png
│ │ ├── min_hardware_requirements.png
│ │ ├── monitor
│ │ │ ├── filecoin-interface.jpg
│ │ │ ├── venus-all.jpg
│ │ │ ├── venus-gateway.jpg
│ │ │ ├── venus-mesager-gateway-interface.jpg
│ │ │ ├── venus-messager.jpg
│ │ │ └── venus.jpg
│ │ ├── one-pager-venus.png
│ │ ├── research
│ │ │ ├── 20221013143419.png
│ │ │ ├── 20221013153319.png
│ │ │ ├── 20221013231224.png
│ │ │ └── 20221021131654.png
│ │ ├── sophon-banner.jpg
│ │ ├── task_resource_table.png
│ │ ├── vc_arc.jpeg
│ │ ├── venus-cluster.png
│ │ ├── venus-cluster2.png
│ │ ├── venus-components.png
│ │ ├── venus-gateway-system-design.drawio
│ │ ├── venus-gateway-system-design.png
│ │ ├── venus-messager
│ │ │ ├── venus-messager-design.jpg
│ │ │ ├── venus-messager-message-state.jpg
│ │ │ ├── venus-messager-select-message.jpg
│ │ │ └── venus-messager-token-verify.jpg
│ │ ├── venus-miner-arch.png
│ │ ├── venus-miner-main-progress.png
│ │ ├── venus-miner-submit-block.png
│ │ ├── venus-sealer-start.jpg
│ │ ├── venus-system-architecture.png
│ │ ├── venus-wallet-verify-address.png
│ │ ├── venus_sequence.png
│ │ └── vm_arc.jpg
│ └── styles
│ │ ├── fonts.styl
│ │ └── palette.styl
├── README.md
├── _Footer.md
├── about
│ └── README.md
├── intro
│ ├── README.md
│ ├── _Footer.md
│ ├── contribute-docs.md
│ ├── damocles.md
│ ├── droplet.md
│ ├── one-pager.md
│ └── sophon.md
├── operation
│ ├── Efficiency_of_sealing.md
│ ├── README.md
│ ├── System_monitor_of_Zabbix.md
│ ├── _Footer.md
│ ├── example-single-box.md
│ ├── lotus-vs-venus.md
│ ├── nv15-upgrade.md
│ ├── nv16-upgrade.md
│ ├── nv17-upgrade.md
│ ├── nv18-upgrade.md
│ ├── nv19-upgrade.md
│ ├── nv21-upgrade.md
│ ├── nv22-upgrade.md
│ └── nv23-upgrade.md
├── questions.md
└── zh
│ ├── README.md
│ ├── TODO.md
│ ├── about
│ └── README.md
│ ├── intro
│ ├── README.md
│ ├── _Footer.md
│ ├── contribute-doc.md
│ ├── damocles.md
│ ├── droplet.md
│ ├── one-pager.md
│ └── sophon.md
│ └── operation
│ ├── Efficiency_of_sealing.md
│ ├── Independent_com_access_analysis.md
│ ├── README.md
│ ├── Sealing_deploy_plan_1.md
│ ├── Sealing_deploy_plan_2.md
│ ├── System_monitor_of_Zabbix.md
│ ├── _Footer.md
│ ├── example-single-box.md
│ ├── lotus-vs-venus.md
│ ├── migrate_market_v1_to_v2.md
│ ├── nv15-upgrade.md
│ ├── nv16-upgrade.md
│ ├── nv17-upgrade.md
│ ├── nv18-upgrade.md
│ ├── nv19-upgrade.md
│ ├── nv21-upgrade.md
│ ├── nv22-upgrade.md
│ ├── nv23-upgrade.md
│ ├── prometheus-instruction.md
│ └── troubleshoot-consensus-fault.md
├── package-lock.json
├── package.json
├── script
├── docker
│ ├── common
│ │ ├── init.sh
│ │ ├── install_mod.sh
│ │ └── wait-for-it.sh
│ ├── compose
│ │ ├── venus-auth.sh
│ │ ├── venus-gateway.sh
│ │ ├── venus-market.sh
│ │ ├── venus-messager.sh
│ │ ├── venus-miner.sh
│ │ ├── venus-wallet.sh
│ │ └── venus.sh
│ ├── docker-compose.yaml
│ ├── dockerfile
│ ├── venus-buildenv.dockerfile
│ └── venus-runtime.dockerfile
└── download.js
└── yarn.lock
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "github-actions"
4 | directory: "/"
5 | schedule:
6 | interval: "weekly"
7 |
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 | ## 关联的Issues (Related Issues)
2 |
3 |
4 | close
5 |
6 | ## 改动 (Proposed Changes)
7 |
8 |
9 |
10 | ## 附注 (Additional Info)
11 |
12 |
13 |
14 | ## 自查清单 (Checklist)
15 |
16 | 在你认为本 PR 满足被审阅的标准之前,需要确保 / Before you mark the PR ready for review, please make sure that:
17 | - [ ] 符合Venus项目管理规范中关于PR的[相关标准](https://github.com/ipfs-force-community/dev-guidances/blob/master/%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/Venus/PR%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83.md) / The PR follows the PR standards set out in the Venus project management guidelines
18 | - [ ] 符合[venus-docs文档规范](https://github.com/ipfs-force-community/dev-guidances/blob/master/%E8%B4%A8%E9%87%8F%E7%AE%A1%E7%90%86/%E6%96%87%E6%A1%A3/venus-docs%E6%96%87%E6%A1%A3%E8%A7%84%E8%8C%83.md)
19 | - [ ] 具有清晰明确的[commit message](https://github.com/ipfs-force-community/dev-guidances/blob/master/%E8%B4%A8%E9%87%8F%E7%AE%A1%E7%90%86/%E4%BB%A3%E7%A0%81/git%E4%BD%BF%E7%94%A8/commit-message%E9%A3%8E%E6%A0%BC%E8%A7%84%E8%8C%83.md) / All commits have a clear commit message.
20 |
--------------------------------------------------------------------------------
/.github/workflows/build_docker_buildenv.yaml:
--------------------------------------------------------------------------------
1 | name: Build Docker Buildenv
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | paths:
8 | - 'script/docker/venus-buildenv.dockerfile'
9 | - 'script/docker/common/install_mod.sh'
10 | workflow_dispatch:
11 |
12 |
13 | jobs:
14 | build-and-deploy:
15 | runs-on: ubuntu-latest
16 | steps:
17 | - name: Checkout
18 | uses: actions/checkout@v4
19 | with:
20 | persist-credentials: false
21 |
22 | - name: Login DockerHub
23 | run: |
24 | docker login --username=filvenus --password ${{ secrets.DOCKER_PASSWORD }}
25 |
26 |
27 | - name: Build And Push Buildenv
28 | run: |
29 | make docker-buildenv
30 | make push-buildenv
31 |
32 | - name: Push Buildenv As Latest
33 | if : github.ref_name == 'master'
34 | run: |
35 | docker push filvenus/venus-buildenv:latest
36 |
37 | - name: Build And Push Runtime
38 | run: |
39 | make docker-runtime
40 | make push-runtime
41 |
42 | - name: Push Runtime As Latest
43 | if : github.ref_name == 'master'
44 | run: |
45 | docker push filvenus/venus-runtime:latest
46 |
--------------------------------------------------------------------------------
/.github/workflows/build_docker_runtime.yaml:
--------------------------------------------------------------------------------
1 | name: Build Docker Runtime
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | - 'dev/**'
8 | paths:
9 | - 'script/docker/**'
10 | - '!script/docker/venus-buildenv.dockerfile'
11 | - '!script/docker/common/install_mod.sh'
12 | workflow_dispatch:
13 |
14 |
15 | jobs:
16 | build-and-deploy:
17 | runs-on: ubuntu-latest
18 | steps:
19 | - name: Checkout
20 | uses: actions/checkout@v4
21 | with:
22 | persist-credentials: false
23 |
24 | - name: Login DockerHub
25 | run: |
26 | docker login --username=filvenus --password ${{ secrets.DOCKER_PASSWORD }}
27 |
28 |
29 | - name: Build And Push
30 | run: |
31 | make docker-runtime
32 | make push-runtime
33 |
34 | - name: Push As Latest
35 | if : github.ref_name == 'master'
36 | run: |
37 | docker push filvenus/venus-runtime:latest
38 |
--------------------------------------------------------------------------------
/.github/workflows/publish.yaml:
--------------------------------------------------------------------------------
1 | name: Publish page
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 | schedule:
8 | - cron: '0 0 1/2 * *'
9 | workflow_dispatch:
10 |
11 |
12 | jobs:
13 | build-and-deploy:
14 | runs-on: ubuntu-latest
15 | steps:
16 | - name: Checkout
17 | uses: actions/checkout@v4
18 | with:
19 | persist-credentials: false
20 |
21 | - name: Set up Node.js
22 | uses: actions/setup-node@v4
23 | with:
24 | node-version: 16
25 |
26 | - name: Install and Build
27 | run: |
28 | npm install
29 | make build
30 | - name: Deploy
31 | uses: JamesIves/github-pages-deploy-action@v4
32 | with:
33 | token: ${{ secrets.GITHUB_TOKEN }}
34 | branch: gh-pages
35 | folder: docs/.vuepress/dist
36 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # fs & dev
2 | .DS_Store
3 | node_modules
4 | dist
5 | .temp
6 |
7 | # logs
8 | logs
9 | *.log
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 |
14 | # editor
15 | .vscode
16 | .idea
17 |
18 | deploy.sh
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | build:
2 | npm run predownload
3 | npm run docs:build
4 |
5 | dev:
6 | npm run predownload
7 | npm run docs:dev
8 |
9 | TAG:=v1.17.0
10 | docker-buildenv:
11 | docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t filvenus/venus-buildenv:$(TAG) -f script/docker/venus-buildenv.dockerfile .
12 | docker tag filvenus/venus-buildenv:$(TAG) filvenus/venus-buildenv:latest
13 |
14 | push-buildenv:
15 | docker push filvenus/venus-buildenv:$(TAG)
16 | # docker push filvenus/venus-buildenv:latest
17 |
18 | docker-runtime:
19 | docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t filvenus/venus-runtime:$(TAG) -f script/docker/venus-runtime.dockerfile .
20 | docker tag filvenus/venus-runtime:$(TAG) filvenus/venus-runtime:latest
21 |
22 | push-runtime:
23 | docker push filvenus/venus-runtime:$(TAG)
24 | # docker push filvenus/venus-runtime:latest
25 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Venus Docs
2 |
3 | This repository contains documentation content for the [Venus](https://github.com/filecoin-project/venus) implementation **only**. It is hosted at **[venus.filecoin.io](https://venus.filecoin.io)**. For mandarin speakers, please visit [https://venus.filecoin.io/zh/](https://venus.filecoin.io/zh/).
4 |
5 | For general [Filecoin Documentation](https://docs.filecoin.io), please visit [docs.filecoin.io](https://docs.filecoin.io). The repository with its source can be found in [/filecoin-project/filecoin-docs](https://github.com/filecoin-project/filecoin-docs).
6 |
7 |
8 | ## Contributing
9 |
10 | PRs, bug reports, and issue suggestions are welcome! For major changes, please propose in an issue first so benefits and impacts can be discussed.
11 |
12 | 👉 You can also click on click on :pencil: `Suggest an Edit` links at the bottom of each page to jump directly to Edit mode.
13 |
14 | ## Deployment
15 |
16 | ### Running locally:
17 |
18 | ```
19 | $ yarn install
20 | $ yarn docs:dev
21 | ```
22 |
23 | ### Building:
24 |
25 | ```
26 | $ yarn docs:links # verify all links are well-formed
27 | $ yarn docs:build
28 | ```
29 |
30 | Then deploy the `docs/.vuepress/dist` directory to the `gh-pages` branch of this repo.
31 |
32 | ### Notes:
33 |
34 | - When new documentation pages are added `./docs/.vuepress/config.js` will need to be **manually updated** in this repo
35 |
36 | ## Licenses
37 |
38 | The Filecoin Project's software code is dual-licensed under Apache 2.0 and MIT terms:
39 |
40 | - Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
41 | - MIT License ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
42 |
43 | Documentation and other written content is copyright (c) Protocol Labs under the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.
44 |
45 | See the [LICENSE.md](LICENSE.md) file for details.
46 |
47 |
48 |
--------------------------------------------------------------------------------
/docs/.vuepress/components/RedirectTutorial.vue:
--------------------------------------------------------------------------------
1 | // RedirectTutorial.vue
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/docs/.vuepress/config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | title: 'Venus Filecoin',
3 | description: 'Venus is a Go implementation of the Filecoin Distributed Storage Network.',
4 | base: '/',
5 | markdown: {
6 | config: md => {
7 | md.set({
8 | linkify: true
9 | })
10 | md.use(require('markdown-it-emoji'))
11 | md.use(require('markdown-it-container'))
12 | md.use(require('markdown-it-footnote'))
13 | md.use(require('markdown-it-deflist'))
14 | md.use(require('markdown-it-task-lists'))
15 | }
16 | },
17 | plugins: [
18 | 'vuepress-plugin-check-md',
19 | '@vuepress/active-header-links',
20 | '@vuepress/back-to-top',
21 | '@vuepress/nprogress',
22 | '@vuepress/medium-zoom',
23 | '@vuepress-plugin-zooming',
24 | 'fulltext-search',
25 | ['vuepress-plugin-code-copy', true]
26 | ],
27 | head: [
28 | ['link', {
29 | rel: 'icon',
30 | href: '/assets/venus-logo.png'
31 | }],
32 | [
33 | 'script',
34 | {
35 | async: true,
36 | src: 'https://www.googletagmanager.com/gtag/js?id=G-SMSDTMGLTV',
37 | },
38 | ],
39 | [
40 | 'script',
41 | {},
42 | [
43 | "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-SMSDTMGLTV');",
44 | ],
45 | ],
46 | ],
47 | locales: {
48 | '/': {
49 | lang: 'en-US',
50 | title: 'Venus Filecoin',
51 | description: 'Venus is a Go implementation of the Filecoin Distributed Storage Network.',
52 | },
53 | '/zh/': {
54 | lang: 'zh-CN',
55 | title: '启明星',
56 | description: 'GO语言实现的Filecoin分布式存储网络',
57 | }
58 | },
59 | themeConfig: {
60 | logo: '/assets/venus-logo-title.svg',
61 | lastUpdated: 'Last Updated',
62 | // Optional options for generating "Edit this page" link
63 | // if your docs are in a different repo from your main project:
64 | docsRepo: 'filecoin-project/venus-docs',
65 | // if your docs are not at the root of the repo:
66 | docsDir: 'docs',
67 | // if your docs are in a specific branch (defaults to 'master'):
68 | docsBranch: 'master',
69 | // defaults to false, set to true to enable
70 | editLinks: true,
71 | // end Edit on Github section
72 | displayAllHeaders: false,
73 | locales: {
74 | '/': {
75 | selectText: 'Languages',
76 | label: 'English',
77 | lang: 'en-US',
78 | title: 'Venus Filecoin',
79 | description: 'Venus is a Go implementation of the Filecoin Distributed Storage Network.',
80 | nav: [{
81 | text: 'Introduction',
82 | link: '/intro/'
83 | },
84 | {
85 | text: 'Deployment & Operation',
86 | link: '/operation/'
87 | },
88 | {
89 | text: 'About',
90 | link: '/about/'
91 | },
92 | ],
93 | sidebar: {
94 | '/intro/': [{
95 | title: 'Introduction',
96 | collapsable: false,
97 | children: [
98 | ['', 'Overview'],
99 | ['one-pager.md', 'One Pager']
100 | ]
101 | },
102 | {
103 | title: 'Products',
104 | collapsable: false,
105 | children: [
106 | ['https://sophon.venus-fil.io', 'Sophon'],
107 | ['https://damocles.venus-fil.io', 'Damocles'],
108 | ['https://droplet.venus-fil.io', 'Droplet'],
109 | ]
110 | },
111 | {
112 | title: 'Contributing',
113 | collapsable: false,
114 | children: [
115 | ['contribute-docs.md', 'Contribute to doc']
116 | ]
117 | },
118 | ],
119 | '/operation/': [{
120 | title: 'Deployment',
121 | collapsable: false,
122 | children: [
123 | ['', 'Deployment of a Venus system'],
124 | ]
125 | },
126 | {
127 | title: 'Network Upgrade',
128 | collapsable: false,
129 | children: [
130 | ['nv23-upgrade.md', 'nv23 upgrade'],
131 | ['nv22-upgrade.md', 'nv22 upgrade'],
132 | ['nv21-upgrade.md', 'nv21 upgrade'],
133 | ['nv19-upgrade.md', 'nv19 upgrade'],
134 | ['nv18-upgrade.md', 'nv18 upgrade'],
135 | ['nv17-upgrade.md', 'nv17 upgrade'],
136 | ['nv16-upgrade.md', 'nv16 upgrade'],
137 | ['nv15-upgrade.md', 'nv15 upgrade'],
138 | ]
139 | },
140 | ],
141 | '/about/': [{
142 | title: '',
143 | collapsable: false,
144 | children: [
145 | ['', 'About'],
146 | ]
147 | }]
148 | }
149 | },
150 | '/zh/': {
151 | selectText: '选择语言',
152 | label: '简体中文',
153 | title: '启明星',
154 | description: 'Venus is a Go implementation of the Filecoin Distributed Storage Network.',
155 | nav: [{
156 | text: '简介',
157 | link: '/zh/intro/'
158 | },
159 | {
160 | text: '运维/部署',
161 | link: '/zh/operation/'
162 | },
163 | {
164 | text: '关于',
165 | link: '/zh/about/'
166 | },
167 | ],
168 | sidebar: {
169 | '/zh/intro/': [{
170 | title: '概述',
171 | collapsable: false,
172 | children: [
173 | ['', '启明星概要'],
174 | ['one-pager.md', '单页介绍文档'],
175 |
176 | ]
177 | },
178 | {
179 | title: '产品',
180 | collapsable: false,
181 | children: [
182 | ['https://sophon.venus-fil.io/zh/', '智子'],
183 | ['https://damocles.venus-fil.io/zh/', '执剑人'],
184 | ['https://droplet.venus-fil.io/zh/', '水滴'],
185 | ]
186 | },
187 | {
188 | title: '参与',
189 | collapsable: false,
190 | children: [
191 | ['contribute-doc.md', '贡献文档'],
192 | ]
193 | },
194 | ],
195 | '/zh/operation/': [{
196 | title: '部署',
197 | collapsable: false,
198 | children: [
199 | ['', '部署Venus解决方案'],
200 | ]
201 | },
202 | {
203 | title: '网络/产品升级',
204 | collapsable: false,
205 | children: [
206 | ['nv23-upgrade.md', 'nv23网络升级'],
207 | ['nv22-upgrade.md', 'nv22网络升级'],
208 | ['nv21-upgrade.md', 'nv21网络升级'],
209 | ['nv19-upgrade.md', 'nv19网络升级'],
210 | ['nv18-upgrade.md', 'nv18网络升级'],
211 | ['nv17-upgrade.md', 'nv17网络升级'],
212 | ['nv16-upgrade.md', 'nv16网络升级'],
213 | ['nv15-upgrade.md', 'nv15网络升级'],
214 | ['migrate_market_v1_to_v2.md', 'market_v2升级'],
215 | ]
216 | },
217 | ],
218 | '/zh/about/': [{
219 | title: '',
220 | collapsable: false,
221 | children: [
222 | ['', '关于我们'],
223 | ]
224 | },
225 | ]
226 | }
227 | }
228 | }
229 | }
230 | }
231 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/01-zabbix-install.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/01-zabbix-install.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/02-zabbix-install.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/02-zabbix-install.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/03-zabbix-config.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/03-zabbix-config.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/04-zabbix-hostname.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/04-zabbix-hostname.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/05-zabbix-all.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/05-zabbix-all.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/06-zabbix-finished.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/06-zabbix-finished.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/07-zabbix-login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/07-zabbix-login.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/08-zabbix-dashboard.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/08-zabbix-dashboard.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/09-zabbix-agent.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/09-zabbix-agent.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/10-zabbix-agent-add.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/10-zabbix-agent-add.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/11-zabbix-graphs.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/11-zabbix-graphs.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/12-zabbix-memory.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/12-zabbix-memory.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/13-Alarm-information.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/13-Alarm-information.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/CNAME:
--------------------------------------------------------------------------------
1 | venus.filecoin.io
2 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/filecoin-logo-v.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
64 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/filecoin-logo.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/fonts/oxygen/OFL.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012, vernon adams (vern@newtypography.co.uk), with Reserved Font Names 'Oxygen'
2 |
3 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
4 | This license is copied below, and is also available with a FAQ at:
5 | http://scripts.sil.org/OFL
6 |
7 |
8 | -----------------------------------------------------------
9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10 | -----------------------------------------------------------
11 |
12 | PREAMBLE
13 | The goals of the Open Font License (OFL) are to stimulate worldwide
14 | development of collaborative font projects, to support the font creation
15 | efforts of academic and linguistic communities, and to provide a free and
16 | open framework in which fonts may be shared and improved in partnership
17 | with others.
18 |
19 | The OFL allows the licensed fonts to be used, studied, modified and
20 | redistributed freely as long as they are not sold by themselves. The
21 | fonts, including any derivative works, can be bundled, embedded,
22 | redistributed and/or sold with any software provided that any reserved
23 | names are not used by derivative works. The fonts and derivatives,
24 | however, cannot be released under any other type of license. The
25 | requirement for fonts to remain under this license does not apply
26 | to any document created using the fonts or their derivatives.
27 |
28 | DEFINITIONS
29 | "Font Software" refers to the set of files released by the Copyright
30 | Holder(s) under this license and clearly marked as such. This may
31 | include source files, build scripts and documentation.
32 |
33 | "Reserved Font Name" refers to any names specified as such after the
34 | copyright statement(s).
35 |
36 | "Original Version" refers to the collection of Font Software components as
37 | distributed by the Copyright Holder(s).
38 |
39 | "Modified Version" refers to any derivative made by adding to, deleting,
40 | or substituting -- in part or in whole -- any of the components of the
41 | Original Version, by changing formats or by porting the Font Software to a
42 | new environment.
43 |
44 | "Author" refers to any designer, engineer, programmer, technical
45 | writer or other person who contributed to the Font Software.
46 |
47 | PERMISSION & CONDITIONS
48 | Permission is hereby granted, free of charge, to any person obtaining
49 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
50 | redistribute, and sell modified and unmodified copies of the Font
51 | Software, subject to the following conditions:
52 |
53 | 1) Neither the Font Software nor any of its individual components,
54 | in Original or Modified Versions, may be sold by itself.
55 |
56 | 2) Original or Modified Versions of the Font Software may be bundled,
57 | redistributed and/or sold with any software, provided that each copy
58 | contains the above copyright notice and this license. These can be
59 | included either as stand-alone text files, human-readable headers or
60 | in the appropriate machine-readable metadata fields within text or
61 | binary files as long as those fields can be easily viewed by the user.
62 |
63 | 3) No Modified Version of the Font Software may use the Reserved Font
64 | Name(s) unless explicit written permission is granted by the corresponding
65 | Copyright Holder. This restriction only applies to the primary font name as
66 | presented to the users.
67 |
68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69 | Software shall not be used to promote, endorse or advertise any
70 | Modified Version, except to acknowledge the contribution(s) of the
71 | Copyright Holder(s) and the Author(s) or with their explicit written
72 | permission.
73 |
74 | 5) The Font Software, modified or unmodified, in part or in whole,
75 | must be distributed entirely under this license, and must not be
76 | distributed under any other license. The requirement for fonts to
77 | remain under this license does not apply to any document created
78 | using the Font Software.
79 |
80 | TERMINATION
81 | This license becomes null and void if any of the above conditions are
82 | not met.
83 |
84 | DISCLAIMER
85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93 | OTHER DEALINGS IN THE FONT SOFTWARE.
94 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Bold.ttf
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Light.ttf
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/fonts/oxygen/Oxygen-Regular.ttf
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/icon-coin-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/icon-coin-128.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/venus-hero-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/venus-hero-logo.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/assets/venus-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/assets/venus-logo.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/damocles-banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/damocles-banner.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/droplet-banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/droplet-banner.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/error-message.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/error-message.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/getting-started-node-diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/getting-started-node-diagram.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/lotus-cluster-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/lotus-cluster-1.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/lotus-cluster-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/lotus-cluster-2.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/min_hardware_requirements.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/min_hardware_requirements.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/filecoin-interface.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/filecoin-interface.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/venus-all.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/venus-all.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/venus-gateway.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/venus-gateway.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/venus-mesager-gateway-interface.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/venus-mesager-gateway-interface.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/venus-messager.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/venus-messager.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/monitor/venus.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/monitor/venus.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/one-pager-venus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/one-pager-venus.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/research/20221013143419.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/research/20221013143419.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/research/20221013153319.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/research/20221013153319.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/research/20221013231224.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/research/20221013231224.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/research/20221021131654.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/research/20221021131654.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/sophon-banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/sophon-banner.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/task_resource_table.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/task_resource_table.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/vc_arc.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/vc_arc.jpeg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-cluster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-cluster.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-cluster2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-cluster2.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-components.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-components.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-gateway-system-design.drawio:
--------------------------------------------------------------------------------
1 | 7Vxbc6M2GP01nmkfnAEENn7cZJP2YTuzbXZ2s48yyLYagbxCvvXXVwJxFdjENjFOkhcjCQlxvvNdLWcA7oLtHwwuF39RH5GBZfjbAfg8sCzTNEbiQ/bskh5XtmTHnGFf3ZR3POL/kOo0VO8K+ygq3cgpJRwvy50eDUPk8VIfZIxuyrfNKCk/dQnnSOt49CDRe39gny+y9zLygT8Rni/Uo11HDUyh9zxndBWq54U0RMlIANNl1K3RAvp0U+gC9wNwxyjlyVWwvUNEwpoilsx7aBjNtsxQyNtM8J+ensAv5565sxFfP//9uLv7NUwFsIZkpbAYWCMiFrydUbGu2DbfKZRGv1Y0HRhGsQw/iRtMc7kVH2IgRl6MbRRScjSkLIAknyyu5vITh95qCjmmoVjKR/JBiK2xJ1igni/eJNlCMkGBmO3GijY4IFDADW43C8zR4xJ6cmgjKCr6FjwgomWKy1g+yFetTA5yyx4NsKeuCZwicpsJ9I4SysRQLFIxjTP6nLHDVDg8wAATSfrviPkwhKpbMdwUQr6FBM9D0fCEnBDLVkqXH1hg5LloOotHIEvnWkCuhQkp3OhD5M68DIw1YhxtG+lgZiQTeotogDjbiVvUBMtWolcqa01Ue5MrwDilx6LAfTO9ESqlm2dr5+wTF4qALyAjcDQy/oCEIAGJQLAq/1yqUniU8QWd0xCSL5QulYT+RZzvFJ5wxWmZFmiL+ZOcfuOo1s/CyOetWjlu7FSjSSDNMk32jXzNAOWC2quZEV0xD+250ZoogwnZHO1b0XLrCcEQEYq4Lu/v7MJNt3mKpXGkpalaku8oXEXDAEURCudCwVqaj7JROGBBqBjBXJLAOYUFBxR2Dw8a1dgsa/FIV2JzVKPEwOpKh8eamNcoZHi2+yag0bVYKsajaipL25FiG3sVWwiB7QqTZDMzB7KRT4tbfTYIbkuDAOyLGgRXY0qiynPI0QbuTtPYPqjorqKAhzwr6MyxjjSo72iwXHH0VcSfswsq5dV5WwBO1Bk19SvFsdNTVAOmW7LjGWfSJRJlVrMqdMi2cQJDQKN3jpYwPN47rxPvjMOSZ07WfNueOUv8XuqaO7MCdqcyFiq/eGcitkHPoi9LN/Qa9jK7Xe5DRRVZ4DSdYehovSy3dGqAGRl1uaVxBvJbEEw9yzGgNzNG5tgf6iHpq9c4BHYce1joBH+H9Y6WVY1DGnxQXTP6V0mtM7XAxIytZ2di7SZ1KxwhSKR7PKORbGXy6hWlbapp6zrt1ABpd4WjXiy6EhwrTsO5MI66y7gRfxqKAgBehkpTdAkT9iD5pAYC7PskTh6QMKXKn0hUlzKMjd/DuR04n+VaIl+IlBHpCHa3DPtYhx3UwG51BbvulDZxrbP39DVBv+yAXld8m/y1jH4R2GwRa6LQ/yS/nsvDimJFIC+52ROrWHQzbuI4YV/dLW59RQyLl5HCizt9GC0yTRkcLgU0RYrFyllbKR2gf9p3Yp3ArNYJqmFKUsDQ6gT6QtWvf1633qDX/i5l/fYEks0m0OmXCzc/Mpy3keF0wFVQk3u/csZj6tp+qVB9j/pcS95j6gHPNaHZs+wn9XvXFz4eA37PcqD0tfoaBhwyDD3LhNIA/H1wuW/5kFX3Fdp15UN7g8uDxwma5PWRGb2IRnpd86psYs9SI0svt98U/67VOB6I+jNr2Gwc676Y7Mw4gvoqnQ5/D8+D2Y5ZNMbmjTEan2yN45Qx9QVTQr3nbwscpgMPmJBBa7Otug4fDEuP1h97UlSRy7gx3PHkPFa7PIHOZhHqxKymBqaHVDuOFwWCgoldJuihQ4u19Dwj0dpGDCefSK4nlVPx4Pb4dV24rac1Ly3HTerO2cT2sl0p7c1w27Yr3DbAUaHwGdlttj1f+1bpffpZwUmh2CwDrqGKseQYQTOeDea/rxp6SdVU3sLm098sx5F3WeIdjMr177rqDMUFDGRMHDe/4Iij8H4tZP/IGYJB48G1pHvKevlWvYc9Qz3e5jA5dKzOHH8A3j3P/0HRkoYR2g/5JTOg8jciylXlyarbOlndfyIRVG3mxNESIrPuRKLTVUZk153GbS4XeQRGEfaqXjTvLoir5HQrWB7jxM/oOxt+cfI6JSJQSYqdatWhbYnIqRzttt3KXrr2wHqN6Nos04cHvogHLv6e9gPv13PALXDvnRc+g9u1qz8EMGrcbt1P4Y5wu6KZ/zOFxNLm/6wC3P8P
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-gateway-system-design.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-gateway-system-design.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-messager/venus-messager-design.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-messager/venus-messager-design.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-messager/venus-messager-message-state.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-messager/venus-messager-message-state.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-messager/venus-messager-select-message.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-messager/venus-messager-select-message.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-messager/venus-messager-token-verify.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-messager/venus-messager-token-verify.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-miner-arch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-miner-arch.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-miner-main-progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-miner-main-progress.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-miner-submit-block.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-miner-submit-block.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-sealer-start.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-sealer-start.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-system-architecture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-system-architecture.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus-wallet-verify-address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus-wallet-verify-address.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/venus_sequence.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/venus_sequence.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/vm_arc.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/filecoin-project/venus-docs/7e4b44f49a43333df624e01556cfa5f43962676c/docs/.vuepress/public/vm_arc.jpg
--------------------------------------------------------------------------------
/docs/.vuepress/styles/fonts.styl:
--------------------------------------------------------------------------------
1 | // .vuepress/styles/fonts.styl
2 |
3 | @font-face {
4 | font-family: 'Oxygen';
5 | font-style: normal;
6 | font-weight: 400;
7 | src: url("/assets/fonts/oxygen/Oxygen-Regular.ttf");
8 | }
9 |
10 | @font-face {
11 | font-family: 'Oxygen';
12 | font-weight: 300;
13 | src: url("/assets/fonts/oxygen/Oxygen-Light.ttf");
14 | }
15 |
16 | @font-face {
17 | font-family: 'Oxygen';
18 | font-weight: 700;
19 | src: url("/assets/fonts/oxygen/Oxygen-Bold.ttf");
20 | }
21 |
--------------------------------------------------------------------------------
/docs/.vuepress/styles/palette.styl:
--------------------------------------------------------------------------------
1 | // .vuepress/styles/palette.styl
2 |
3 | @import "./fonts.styl";
4 |
5 | $defaultTeal = #00D2D6
6 | $darkerTeal = #00aaac
7 | $tealGreen = #00E1C4
8 | $lightGreen = #2EE89C
9 | $offWhite = #F4F6F9
10 | $mauveGray = #636C93
11 | $purple = #8535ED
12 | $red = #FE6B57
13 | $orange = #F7A54B
14 | $darkPurple = #4B1CA5
15 | $mudPurple = #410868
16 | $darkGreen = #026963
17 | $offBlack = #2c3e50
18 |
19 | $accentColor = $defaultTeal
20 | $textAccentColor = $darkerTeal
21 | $boldTextColor = $offBlack
22 |
23 | $logoFontFamily = 'Oxygen'
24 |
25 | // adding some overrides here
26 |
27 | a, a.sidebar-link.active {
28 | color: $textAccentColor;
29 | }
30 |
31 | .navbar .site-name, .hero h1 {
32 | font-family: $logoFontFamily;
33 | }
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | home: true
3 | heroImage: /assets/venus-hero-logo.png
4 | actionText: Get Started →
5 | actionLink: /intro/
6 | footer: MIT Apache dual Licensed
7 | ---
8 |
9 |
10 |
11 |
Distributed Infrastructure
12 |
Adhering to design principles of distributed systems, Venus chain service enables you to scale and guarantees availability to your storage providing systems
13 |
14 |
15 |
Optimized Storage Deal
16 |
Solution for both storage client and storage provider enables seamless storage deal process
17 |
18 |
19 |
20 |
Reimagined Storage Power
21 |
Completely revamped sealer submodule to help you to grow and maintain your storage power with more efficiency and stability
22 |
23 |
24 |
--------------------------------------------------------------------------------
/docs/_Footer.md:
--------------------------------------------------------------------------------
1 | _See something missing? Have tips to share? [File an issue](https://github.com/filecoin-project/venus/issues/new), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)_
--------------------------------------------------------------------------------
/docs/about/README.md:
--------------------------------------------------------------------------------
1 |
2 | ## Mission, Vision, Value
3 |
4 | - :exclamation:Mission: push ecosystem forward by driving Filcoin infrastructure
5 | - :earth_asia: Vision: democratize Filecoin ecosystem participation
6 | - :yin_yang: Value: Open and trustless
7 |
8 | ## Contacts
9 |
10 | - Ask us any questions: [#fil-venus](https://filecoinproject.slack.com/archives/CEHHJNJS3), [#fil-venus-cn](https://filecoinproject.slack.com/archives/C028PCH8L31), [venus@ipfsforce.com](mailto:venus@ipfsforce.com)
11 |
12 | ## Resources
13 |
14 | - venus-docs: [venus.filecoin.io](venus.filecoin.io)
15 | - VenusHub: [venushub.io](venushub.io)
16 | - Github: [venus](https://github.com/filecoin-project/venus), [damocles](https://github.com/ipfs-force-community/damocles), [droplet](https://github.com/ipfs-force-community/droplet)
17 | - Social Media: [Twitter](https://twitter.com/venus_filecoin), [Wechat](https://mp.weixin.qq.com/s/p4_ch03QeMMXxPyakr_8XQ)
18 | - Security audit report: [link](https://leastauthority.com/static/publications/LeastAuthority_Filecoin_Foundation_Venus_Final_Audit_Report.pdf)
19 |
--------------------------------------------------------------------------------
/docs/intro/_Footer.md:
--------------------------------------------------------------------------------
1 | _See something missing? Have tips to share? [File an issue](https://github.com/filecoin-project/venus/issues/new), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)_
--------------------------------------------------------------------------------
/docs/intro/contribute-docs.md:
--------------------------------------------------------------------------------
1 | ## Contributing
2 |
3 | PRs, bug reports, and issue suggestions are welcome! For major changes, please propose in an issue first so benefits and impacts can be discussed.
4 |
5 | 👉 You can also click on click on `Edit this page` links at the bottom of each page to jump directly to Edit mode.
6 |
7 | ## Deployment
8 |
9 | ### Running locally
10 |
11 | ```
12 | $ yarn install
13 | $ yarn docs:dev
14 | ```
15 |
16 | ### Building
17 |
18 | ```
19 | $ yarn docs:links # verify all links are well-formed
20 | $ yarn docs:build
21 | ```
22 |
23 | Then deploy the `docs/.vuepress/dist` directory to the `gh-pages` branch of this repo.
24 |
25 | ### Deploy script
26 |
27 | You can also run the following script to combine building and deployment together. Make sure everything is running okay locally.
28 |
29 | ```bash
30 | #!/usr/bin/env sh
31 |
32 | # abort on errors
33 | set -e
34 |
35 | # build
36 | npm run docs:build
37 |
38 | # navigate into the build output directory
39 | cd docs/.vuepress/dist
40 |
41 | # if you are deploying to a custom domain
42 | echo 'venus.filecoin.io' > CNAME
43 |
44 | git init
45 | git add -A
46 | git commit -m 'deploy'
47 |
48 | # if you are deploying to https://.github.io
49 | # git push -f git@github.com:/.github.io.git master
50 |
51 | # if you are deploying to https://.github.io/
52 | git push -f git@github.com:filecoin-project/venus-docs.git master:gh-pages
53 |
54 | cd -
55 | ```
56 |
57 | ### Notes:
58 |
59 | - When new documentation pages are added `./docs/config.js` will need to be **manually updated** in this repo
--------------------------------------------------------------------------------
/docs/intro/damocles.md:
--------------------------------------------------------------------------------
1 |
2 | 
3 |
4 | ### Damocles
5 |
6 | Damocles, formerly known as Venus Power Service, is THE Filecoin storage power solution. Learn more about Damocles [here](https://damocles.venus-fil.io/).
--------------------------------------------------------------------------------
/docs/intro/droplet.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | 
4 |
5 | ### Droplet
6 |
7 | Droplet, formerly known as Venus Deal Service, is THE Filecoin storage deal solution. Learn more about Droplet [here](https://droplet.venus-fil.io/).
--------------------------------------------------------------------------------
/docs/intro/one-pager.md:
--------------------------------------------------------------------------------
1 | 
--------------------------------------------------------------------------------
/docs/intro/sophon.md:
--------------------------------------------------------------------------------
1 |
2 | 
3 |
4 | ### Sophon
5 |
6 | Sophon, formerly known as Venus chain service, is THE Filecoin super node solution. Learn more about Sophon [here](https://sophon.venus-fil.io/).
--------------------------------------------------------------------------------
/docs/operation/README.md:
--------------------------------------------------------------------------------
1 | # Deployment of a Venus System
2 |
3 | `Venus` refers to products developed and maintained by Venus team to interact efficiently and robustly with Filecoin protocol. The target audience are storage providers, storage clients, ecosystem partners and `Dapp`. `Venus` has been widely adopted in SP and SC use cases.
4 |
5 | ### Deployment
6 |
7 | Since the [rebranding](https://github.com/filecoin-project/venus/discussions/5420) of `Venus` by the end of 2022, three main products has been formed, namely [Sophon](https://sophon.venus-fil.io/),[Damocles](https://damocles.venus-fil.io/) and [Droplet](https://droplet.venus-fil.io/). Please refer to each product's own documentation for deployment guide.
8 |
9 | ### Architecture
10 |
11 |
--------------------------------------------------------------------------------
/docs/operation/System_monitor_of_Zabbix.md:
--------------------------------------------------------------------------------
1 | ## Initial setup
2 |
3 | ```bash
4 | $ systemctl stop firewalld
5 | $ systemctl disbale firewalld
6 | $ vim /etc/selinux/config
7 |
8 | $ SELINUX=disabled # change selinux to disabled
9 | $ setenforce 0 # temporarily change selinux status
10 | $ getenforce # check selinux status
11 | ```
12 |
13 | ## Install software dependencies
14 |
15 | ```bash
16 | $ rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
17 | $ yum clean all && yum makecache
18 |
19 | # Install zabbix-server and zabbix-agent
20 | $ yum install zabbix-server-mysql zabbix-agent -y
21 |
22 | # Install zabbix-ready nginx
23 | $ yum install centos-release-scl -y
24 | $ yum install rh-php72-php-mysqlnd zabbix-nginx-conf-scl -y
25 | ```
26 |
27 | Change zabbix configurations and start Web GUI.
28 |
29 | ```bash
30 | $ vim /etc/yum.repos.d/zabbix.repo
31 | ```
32 |
33 | ```toml
34 | [zabbix-frontend]
35 | name=Zabbix Official Repository frontend - $basearch
36 | baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend
37 | enabled=1 # change to 1
38 | gpgcheck=1
39 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
40 | ```
41 |
42 | ## Install MySQL
43 |
44 | ```bash
45 | $ mkdir mysql-dir
46 | $ cd mysql-dir
47 | $ wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar
48 | $ tar -zxvf mysql-5.7.32-1.el7.x86_64.rpm-bundle.tar
49 | $ yum install *.rpm -y
50 | ```
51 |
52 | ```bash
53 | $ systemctl start mysqld
54 | ```
55 |
56 | ```bash
57 | $ cat /var/log/mysqld.log | grep root
58 | ```
59 |
60 | Grep default password.
61 |
62 | ```bash
63 | 2021-07-26T10:50:49.538494Z 1 [Note] A temporary password is generated for root@localhost: **20yyk:Ar67S;**
64 | ```
65 |
66 | Login to database.
67 |
68 | ```bash
69 | $ mysql -uroot -p
70 | Enter password: 20yyk:Ar67S;
71 | ```
72 |
73 | Config database.
74 |
75 | ```bash
76 | set global validate_password_policy=0;
77 | set global validate_password_length=1;
78 | alter user 'root'@'localhost' identified by 'venus'; # Change root password
79 |
80 | use mysql;
81 | update user set host = '%' where user = 'root';
82 | create user 'zabbix'@'%' identified by '123456';
83 | grant all privileges on zabbix.* to 'zabbix'@'%';
84 | flush privileges;
85 |
86 | # Create tables for Zabbix
87 | create database zabbix character set utf8 collate utf8_bin;
88 | ```
89 |
90 | Import zabbix template files.
91 |
92 | ```bash
93 | $ zcat /usr/share/doc/zabbix-server-mysql-5.0.14/create.sql.gz | mysql -uzabbix -p123456 zabbix
94 | ```
95 |
96 | ## Configure zabbix
97 |
98 | Change database password.
99 |
100 | ```bash
101 | $ vim /etc/zabbix/zabbix_server.conf
102 | DBPassword=123456
103 | ```
104 | Configure Nginx.
105 |
106 | ```bash
107 | $ vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf
108 | ```
109 |
110 | Append `nginx` at the end of line 6.
111 |
112 | ```
113 | listen.acl_users = apache,nginx
114 | ```
115 |
116 | Change location to your choice at line 24.
117 |
118 | ```
119 | php_value[date.timezone] = Asia/shanghai
120 | ```
121 |
122 | Configure port.
123 |
124 | ```bash
125 | $ vim /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
126 | server {
127 | listen 80; # uncomment this line
128 | server_name test.zabbix.com; # uncomment and change to your own ip
129 | ```
130 |
131 | Change your hosts file too if using hostname.
132 |
133 | ```bash
134 | $ vim /etc/hosts
135 | 192.168.xx.xx test.zabbix.com
136 | ```
137 |
138 | If you are using windows.
139 |
140 | ```bash
141 | # for window hosts
142 | C:\Windows\System32\drivers\etc\hosts
143 | 192.168.xxx.xxx test.zabbix.com
144 | ```
145 |
146 | Start service and configure to run on boot.
147 |
148 | ```bash
149 | systemctl restart zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm
150 | systemctl enable zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm
151 | ```
152 |
153 | Change zabbix agent config fie
154 |
155 | ```bash
156 | $ cat /etc/zabbix/zabbix_agentd.conf | egrep -v "^$|^#"
157 | PidFile=/var/run/zabbix/zabbix_agentd.pid
158 | LogFile=/var/log/zabbix/zabbix_agentd.log
159 | LogFileSize=0
160 | Server=192.168.88.11 # point to ip of zabbix-server
161 | Hostname=venus-sealer
162 | Include=/etc/zabbix/zabbix_agentd.d/*.conf
163 | ```
164 |
165 | ## Configure monitoring
166 |
167 | Visit your zabbix-server with a browser.
168 | 
169 | 
170 |
171 | Configure database connection information.
172 | 
173 | 
174 | 
175 | 
176 |
177 | Login to zabbix. Default user is `Admin` with `zabbix` as password.
178 | 
179 | 
180 |
181 | Add zabbix-agent.
182 | 
183 | 
184 |
185 | Check zabbix RAM usage.
186 | 
187 | 
188 |
189 | Check problems in dashboard.
190 | 
--------------------------------------------------------------------------------
/docs/operation/_Footer.md:
--------------------------------------------------------------------------------
1 | _See something missing? Have tips to share? [File an issue](https://github.com/filecoin-project/venus/issues/new), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)_
2 |
--------------------------------------------------------------------------------
/docs/operation/example-single-box.md:
--------------------------------------------------------------------------------
1 | ## Venus Single box setup
2 |
3 | This is an exmaple venus single box setup that is estimated to grow 1TiB power per day.
4 |
5 | ## Specs
6 |
7 | | Parts | Recommendation |
8 | | ------------------ | ------------------- |
9 | | CPU | 3970X * 1 (32 core) |
10 | | RAM | 512G |
11 | | NVMe (for sealing) | 3T/SSD |
12 | | SSD (for OS) | 500G |
13 | | GPU | RTX 3080 * 1 |
14 |
15 | ## Job scheduling
16 |
17 | | Task | Core limit | Minutes | RAM(G) | Hourly production rate | Daily growth(T) |
18 | | -------------- | ---------- | ------- | ------ | ---------------------- | --------------- |
19 | | P1 * 5 | 20 | 220 | 376 | 1.3636 | 1.0227 |
20 | | AP, P2, Commit | 12 | 10 | 120 | 3 | 1.125 |
21 |
22 | For more information on core limit, please refer to the next tutorial.
23 |
--------------------------------------------------------------------------------
/docs/operation/lotus-vs-venus.md:
--------------------------------------------------------------------------------
1 | ## Commands from Lotus
2 |
3 | Many basic commands including but not limited to [creating worker/controler addresses](https://lotus.filecoin.io/docs/storage-providers/addresses/), setting different types of [configurations](https://lotus.filecoin.io/docs/storage-providers/config/), or [changing storage locations](https://lotus.filecoin.io/docs/storage-providers/lifecycle/#changing-storage-locations) apply to both Lotus and Venus. Node operators are expected to follow the same process as what is instructed on the Lotus documentation. If you encounter any questions please do not hesitate to reach out to us on [#fil-venus](https://filecoinproject.slack.com/archives/CEHHJNJS3).
--------------------------------------------------------------------------------
/docs/operation/nv15-upgrade.md:
--------------------------------------------------------------------------------
1 | ## Upgrading to network version 15
2 |
3 | Please upgrade each venus component in the order as it is presented in this document. We recommend that you go through the document before upgrading. When in doubt, please do not hesitate to reach out to us [here](https://github.com/filecoin-project/venus/discussions/4688).
4 |
5 | :::warning
6 |
7 | Please make sure that your storage system is not doing any windowPost when you upgrade and leave ample time before the next upcoming windowPost
8 |
9 | :::
10 |
11 | :::tip
12 |
13 | If you have partitions in all deadlines, it is recommended that you build another transition environment for the upgrade.
14 |
15 | :::
16 |
17 | :::tip
18 |
19 | It is recommended that you backup your old binary and critical data as you go through the upgrade process.
20 |
21 | :::
22 |
23 | :::tip
24 |
25 | For large scale storage systems, it is recommended that running chain-co with both venus daemon and venus wrapped daemon.
26 |
27 | :::
28 |
29 | 1. venus-auth: `optional` upgrade; branch/tag `v1.3.2`;
30 |
31 | 2. venus-wallet: `optional` upgrade; branch/tag `v1.4.0`;
32 |
33 | 3. venus daemon: `mandatory` upgrade; branch/tag `v1.2.1`;
34 |
35 | :::tip
36 |
37 | Checkups after upgrading:
38 |
39 | - integrity of vk files
40 | - see if upgrade epochs are properly set in config files
41 |
42 | ```toml
43 | # cali
44 | "upgradeOhSnapHeight": 682006
45 | # mainnet
46 | "upgradeOhSnapHeight": 1594680
47 | ```
48 |
49 | - see if `maxfee` under `mpool` section is now in the format of `[x] Fil`
50 |
51 | ```
52 | "mpool": {
53 | "maxNonceGap": 100,
54 | "maxFee": "10 FIL"
55 | },
56 | ```
57 |
58 | - see if chain synchronization is working properly
59 |
60 | :::
61 |
62 | :::warning
63 |
64 | As a result of a mandatory network upgrade with API changes, sealer connection maybe lost during the this step of the upgrade.
65 |
66 | :::
67 |
68 | 4. venus wrapped deamon: `mandatory` upgrade (if you are using `chain-co`); branch/tag `venus/v1.14.0`;
69 |
70 | :::tip
71 |
72 | Checkups after upgrading:
73 |
74 | - see if chain synchronization is working properly
75 | - see if connection to venus-auth is okay
76 |
77 | ```
78 | curl http://127.0.0.1:3453/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer " -d '{"method": "Filecoin.ChainHead","params":[], "id": 0}'
79 | ```
80 |
81 | :::
82 |
83 | 5. chain-co: `mandatory` upgrade (if you deployed chain-co for your HA solution); branch/tag `v0.1.0`;
84 |
85 | :::tip
86 |
87 | Checkups after upgrading:
88 |
89 | - see if two new API MpoolPending and MpoolGetNonce are working properly
90 |
91 | :::
92 |
93 | 6. venus-messager: `mandatory` upgrade; branch/tag `v1.4.0`;
94 |
95 | 7. venus-gateway: `mandatory` upgrade; branch/tag `v1.2.0`;
96 |
97 | :::tip
98 |
99 | - support for both old and new API due to changes in ComputeProof's params
100 | - see if both v0 and v1 APIs are working properly
101 |
102 | :::
103 |
104 | 8. venus-miner: `mandatory` upgrade; branch/tag `v1.4.0`;
105 |
106 | :::tip
107 |
108 | Parameter changes for ComputeProof.
109 |
110 | :::
111 |
112 | 9. venus-market: `optional` upgrade; branch/tag `v2.0.0`;
113 |
114 | 10. venus-sealer: `mandatory` upgrade; branch/tag `v1.4.0`;
115 |
116 | For more question regarding nv15 upgrade, please refer to this discussion [thread](https://github.com/filecoin-project/venus/discussions/4688).
117 |
--------------------------------------------------------------------------------
/docs/operation/nv16-upgrade.md:
--------------------------------------------------------------------------------
1 | ## nv16 upgrade
2 |
3 | ### timeline
4 |
5 | Mainnet upgrade time: 2022-07-06T14:00:00Z
6 |
7 | ### venus-auth
8 |
9 | - tag: v1.6.0
10 | - New features: shared token access support for multi SPs
11 | - Dependency on other components: none
12 |
13 | Things to look out for:
14 |
15 | 1. Add a `miners` table to save the correspondence between `user` and `miner`
16 |
17 | 2. Write the values of the `name` and `miner` fields of each row of data in the `users` table to the `user` and `miner` fields in the `miners` table, check whether there is any problem with the writing, the success log: `migrate from:0, to:1 success;` failure log: `migrate from store version:0 failed`
18 |
19 | 3. Use `./venus-auth user miner list ` to list all miners binded to `user`
20 |
21 | 4. Use the command `./venus-auth user list` to list all users. **Note: make sure that the status of the user being used is enabled**
22 |
23 |
24 | ### venus
25 |
26 | - tag: v1.6.0
27 | - New features: Support for nv16 networks
28 | - Dependency on other components: none
29 |
30 | Things to look out for:
31 | 1. Check whether the vk file is complete after the upgrade
32 |
33 | 2. Check the configuration file after the upgrade to see if the upgrade height is properly set. The default configuration file is in `~/.venus/config.json` :
34 | ````
35 | # cali
36 | "upgradeSkyrHeight": 1044660
37 | #mainnet
38 | "upgradeSkyrHeight": 1960320
39 | ````
40 |
41 | 3. After the upgrade, check whether the blocks are properly synchronized
42 |
43 | 4. The api version has changed, affecting the miner connection
44 |
45 | ````
46 | # Use the curl command to test the interfaces StateGetBeaconEntry, BeaconGetEntry, the following three curl commands should return the same results
47 | curl http://127.0.0.1:3453/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d '{"method": "Filecoin.BeaconGetEntry", "params":[1933610], "id": 0}'
48 | curl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d '{"method": "Filecoin.BeaconGetEntry", "params":[1933610], "id": 0}'
49 | curl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d '{"method": "Filecoin.StateGetBeaconEntry", "params":[1933610], "id": 0}'
50 | ````
51 |
52 | 5. Check the mainnet v8 actors cid and make sure it is the same as the output below
53 |
54 | ````
55 | ./venus state actor-cids
56 |
57 | # The order may vary
58 | _manifest bafy2bzacebogjbpiemi7npzxchgcjjki3tfxon4ims55obfyfleqntteljsea
59 | account bafk2bzacedudbf7fc5va57t3tmo63snmt3en4iaidv4vo3qlyacbxaa6hlx6y
60 | storagemarket bafk2bzacediohrxkp2fbsl4yj4jlupjdkgsiwqb4zuezvinhdo2j5hrxco62q
61 | storageminer bafk2bzacecgnynvd3tene3bvqoknuspit56canij5bpra6wl4mrq2mxxwriyu
62 | multisig bafk2bzacebhldfjuy4o5v7amrhp5p2gzv2qo5275jut4adnbyp56fxkwy5fag
63 | paymentchannel bafk2bzacebalad3f72wyk7qyilvfjijcwubdspytnyzlrhvn73254gqis44rq
64 | reward bafk2bzacecwzzxlgjiavnc3545cqqil3cmq4hgpvfp2crguxy2pl5ybusfsbe
65 | system bafk2bzacedwq5uppsw7vp55zpj7jdieizirmldceehu6wvombw3ixq2tcq57w
66 | cron bafk2bzacecqb3eolfurehny6yp7tgmapib4ocazo5ilkopjce2c7wc2bcec62
67 | init bafk2bzaceaipvjhoxmtofsnv3aj6gj5ida4afdrxa4ewku2hfipdlxpaektlw
68 | storagepower bafk2bzacebjvqva6ppvysn5xpmiqcdfelwbbcxmghx5ww6hr37cgred6dyrpm
69 | verifiedregistry bafk2bzaceb3zbkjz3auizmoln2unmxep7dyfcmsre64vnqfhdyh7rkqfoxlw4
70 | ````
71 |
72 | 6. Mainnet can use fvm on nv15 network by setting environment variable `export VENUS_USE_FVM_TO_SYNC_MAINNET_V15=1`
73 |
74 | 7. If you do not troubleshoot the problem, the rust log level is **not recommended** to be set to `trace`, because more logs will be printed
75 |
76 | 8. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful
77 |
78 |
79 | ### venus-messager
80 |
81 | - tag:v1.6.0
82 | - Affected function: Support new network version, add home directory, default in `~/.venus-messager`
83 | - Dependency on other components: none
84 |
85 | Things to look out for:
86 | 1. Whether to generate the main directory `~/.venus-messager` after the upgrade
87 |
88 | 2. After the upgrade, the main directory should contain `config.toml` and `tipset.json`, `config.toml` should be consistent with the configuration file used to start `messager`, `~/.venus-messager/tipset.json` is copied from `tipset.json` in the current directory
89 |
90 | 3. After the upgrade is successful, restarting again is to read the configuration is `~/.venus-messager/config.toml`
91 |
92 | 4. Whether the message can be received and pushed to the node normally
93 |
94 |
95 | ### venus-miner
96 |
97 | - tag: v1.6.0
98 | - New features: Get the interface name of beacon Change from `BeaconGetEntry` to `StateGetBeaconEntry`
99 | - Dependency on other components: venus, venus-auth, venus-gateway
100 |
101 | Things to look out for:
102 | 1. After the upgrade, use the commonly used command address state/list/update to verify it.
103 | 2. If you use a mysql database, check that the parent_key field in the miner_blocks table is varchar(1000)
104 |
105 |
106 | ### venus-gateway
107 |
108 | - tag: v1.6.0
109 | - New Feature: Fix requests without auto cleanup timeouts
110 |
111 | Things to look out for:
112 |
113 | 1. Is `wallet` re-registered after the upgrade
114 |
115 |
116 | ### venus-market
117 |
118 | - tag: v2.2.0
119 | - New features:
120 |
121 | Things to look out for::
122 |
123 |
124 | ### venus-wallet
125 |
126 | #### Community
127 |
128 | - tag: v1.6.0
129 | - New features:
130 |
131 | Things to look out for::
132 |
133 | 1. Need to unlock wallet
134 | 2. if wallet is properly registered on the gateway
--------------------------------------------------------------------------------
/docs/operation/nv17-upgrade.md:
--------------------------------------------------------------------------------
1 | # nv17 upgrade
2 |
3 | If you are upgrading `venus-wallet` or `venus-gateway` from `v1.6.x` to `v1.8.0`, please read [Venus component v1.7.0 usage notes](https://github.com/filecoin-project/venus/discussions/5265) first and pay attention to the upgrade order of `venus-gateway` and `venus-wallet`.
4 |
5 | ### timeline
6 |
7 | Upgrade time (UTC): 2022-11-30T14:00:00Z
8 | Upgrade time (Beijing): 2022-11-30 22:00:00
9 |
10 | ### Versions of each component
11 |
12 | * [calibrationnet](https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893446)
13 | * [mainnet](https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893449)
14 |
15 | ### venus-auth
16 |
17 | Affected function:
18 |
19 | Dependency: none
20 |
21 | Precautions:
22 |
23 | 1. Add field `open_mining` to `miners` table, 0 means no block, 1 means block, default is 1
24 |
25 |
26 | ### venus
27 |
28 | Affected function: nv17 network support
29 |
30 | Dependency: None
31 |
32 | Precautions:
33 |
34 | Compilation: first `make dist-clean` and then `make`, this can prevent problems caused by failing to upgrade `filecoin-ffi`.
35 |
36 | 1. Check whether the vk file is complete after upgrading
37 |
38 | 2. Check the configuration file after the upgrade, whether the upgrade height is set correctly, the configuration file is in `~/.venus/config.json` by default:
39 | ```
40 | #cali
41 | "upgradeSkyrHeight": 16800
42 | #mainnet
43 | "upgradeSkyrHeight": 2383680
44 | ```
45 |
46 | 3. After the upgrade, you need to check whether height is synchronized correctly
47 |
48 | 4. Check the mainnet `v9 actors code` to make sure it is the same as the output below
49 |
50 | ```
51 | ./venus state actor-cids --network-version 17
52 |
53 | # order may vary
54 | Network Version: 17
55 | Actor Version: 9
56 | Actor CIDs
57 | reward bafk2bzacebezgbbmcm2gbcqwisus5fjvpj7hhmu5ubd37phuku3hmkfulxm2o
58 | system bafk2bzaceagvlo2jtahj7dloshrmwfulrd6e2izqev32qm46eumf754weec6c
59 | _manifest bafy2bzaceb6j6666h36xnhksu3ww4kxb6e25niayfgkdnifaqi6m6ooc66i6i
60 | storagemarket bafk2bzacec3j7p6gklk64stax5px3xxd7hdtejaepnd4nw7s2adihde6emkcu
61 | multisig bafk2bzacec4va3nmugyqjqrs3lqyr2ij67jhjia5frvx7omnh2isha6abxzya
62 | paymentchannel bafk2bzacebhdvjbjcgupklddfavzef4e4gnkt3xk3rbmgfmk7xhecszhfxeds
63 | storagepower bafk2bzacedsetphfajgne4qy3vdrpyd6ekcmtfs2zkjut4r34cvnuoqemdrtw
64 | verifiedregistry bafk2bzacecf3yodlyudzukumehbuabgqljyhjt5ifiv4vetcfohnvsxzynwga
65 | datacap bafk2bzacebb6uy2ys7tapekmtj7apnjg7oyj4ia5t7tlkvbmwtxwv74lb2pug
66 | account bafk2bzacect2p7urje3pylrrrjy3tngn6yaih4gtzauuatf2jllk3ksgfiw2y
67 | cron bafk2bzacebcec3lffmos3nawm5cvwehssxeqwxixoyyfvejy7viszzsxzyu26
68 | init bafk2bzacebtdq4zyuxk2fzbdkva6kc4mx75mkbfmldplfntayhbl5wkqou33i
69 | storageminer bafk2bzacedyux5hlrildwutvvjdcsvjtwsoc5xnqdjl73ouiukgklekeuyfl4
70 | ```
71 |
72 | 5. If you are not troubleshooting anything, it is **NOT** recommended to set rust log level to `trace` as more irrelavant logs will be printed
73 |
74 | 6. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful
75 |
76 |
77 | ### venus-messager
78 |
79 | Affected function:
80 |
81 | 1. Increase the control of basefee, you can set the basefee separately for an address, when the basefee on the chain is higher than the basefee limit, the message will not be pushed out
82 |
83 | Dependency upgrade components:
84 |
85 | Precautions:
86 |
87 | 1. After the upgrade, observe whether the message can be on-chained normally
88 |
89 |
90 | ### venus-miner
91 |
92 | Affected function:
93 |
94 | Dependency upgrade components:
95 |
96 | Precautions:
97 |
98 | 1. If you are upgrading from `1.7.*` to `v1.8.0`, it will automatically migrate configuration files. Whereas if you are upgrading from `1.6.*` to `v1.8.0`, it is required to have a reinitialization of `repo` (init). Please checkout this [guide](https://github.com/filecoin-project/venus-miner/blob/master/docs/zh/CHANGELOG.md#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9-2) to learn more.
99 |
100 | 2. Check if blocks can be produced normally after the upgrade.
101 |
102 |
103 | ### venus-gateway
104 |
105 | Affected function:
106 |
107 | Precautions:
108 |
109 | Compile: first `make dist-clean` and then `make`
110 |
111 | 1. Check wallet after upgrade: `./venus-gateway wallet list`
112 | 2. Check miners after upgrade: `./venus-gateway miner list`
113 |
114 |
115 | ### venus-market
116 |
117 | Affected function:
118 |
119 | Precautions:
120 |
121 | Compile: first `make dist-clean` and then `make`
122 |
123 | ### venus-wallet
124 |
125 | Affect function:
126 |
127 | Precautions:
128 |
129 | 1. Make sure to unlock the wallet after startup
130 | 2. Check whether the wallet is registered on the gateway
--------------------------------------------------------------------------------
/docs/operation/nv18-upgrade.md:
--------------------------------------------------------------------------------
1 | # nv18 Upgrade Guide
2 |
3 | If you are upgrading chain service components from `v1.8.x` to `v1.10.0`, please read [venus chain-service v1.9.* & venus-market v2.5.* upgrade list / 链服务 v1.9.*和订单服务 v2.5.*升级清单](https://github.com/filecoin-project/venus/discussions/5531) first and pay special attention to the upgrade of `venus-auth` and `venus-market`. Before upgrading `venus-auth`, a user account needs to be created for each miner. Also startup CLI and configurations of `venus-market` major breaking changes made to it.
4 |
5 | ## About nv18 upgrade
6 |
7 | We storngly encourage you to test out the upgrade in calibration before mainnet.
8 |
9 | ### Upgrade Timeline
10 |
11 | Upgrade UTC time: 2023-03-14T15:14:00Z, which is 2023-03-14 23:14:00 in Beijing time
12 |
13 | ### nv18 compatible versions
14 |
15 | * [calibrationnet](https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652920)
16 | * [mainnet](https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652933)
17 |
18 | ## venus
19 |
20 | Feature: support nv18 network
21 |
22 | Dependency: None
23 |
24 | Precautions:
25 |
26 | 1. Compile: make sure to first `make dist-clean` and then `make`. This can prevent problems caused by failing to upgrade `filecoin-ffi` normally
27 |
28 | 2. Check whether the vk file is complete after upgrading
29 |
30 | 3. After upgrading, check the configuration file. And see whether `AllowableClockDriftSecs`, `UpgradeHyggeHeight` and `UpgradeHyggeHeight` are normal in the log:
31 |
32 | ```
33 | #cali
34 | AllowableClockDriftSecs: 1
35 | Eip155ChainID:314159
36 | UpgradeHyggeHeight: 322354
37 | #mainnet
38 | AllowableClockDriftSecs: 1
39 | Eip155ChainID:314
40 | UpgradeHyggeHeight: 2683348
41 | ```
42 |
43 | 4. After upgrading, check the status of block synchronization
44 |
45 | 5. Check the mainnet v10 actors CID and make sure it is the same as the output below...
46 |
47 | ```
48 | ./venus state actor-cids --network-version 18
49 |
50 | # order may vary
51 | Network Version: 18
52 | Actor Version: 10
53 | Actor CIDs
54 | datacap bafk2bzacealj5uk7wixhvk7l5tnredtelralwnceafqq34nb2lbylhtuyo64u
55 | evm bafk2bzaceahmzdxhqsm7cu2mexusjp6frm7r4kdesvti3etv5evfqboos2j4g
56 | init bafk2bzaced2f5rhir3hbpqbz5ght7ohv2kgj42g5ykxrypuo2opxsup3ykwl6
57 | account bafk2bzaceampw4romta75hyz5p4cqriypmpbgnkxncgxgqn6zptv5lsp2w2bo
58 | ethaccount bafk2bzaceaqoc5zakbhjxn3jljc4lxnthllzunhdor7sxhwgmskvc6drqc3fa
59 | multisig bafk2bzaceduf3hayh63jnl4z2knxv7cnrdenoubni22fxersc4octlwpxpmy4
60 | paymentchannel bafk2bzaceartlg4mrbwgzcwric6mtvyawpbgx2xclo2vj27nna57nxynf3pgc
61 | reward bafk2bzacebnhtaejfjtzymyfmbdrfmo7vgj3zsof6zlucbmkhrvcuotw5dxpq
62 | storagemarket bafk2bzaceclejwjtpu2dhw3qbx6ow7b4pmhwa7ocrbbiqwp36sq5yeg6jz2bc
63 | storageminer bafk2bzaced4h7noksockro7glnssz2jnmo2rpzd7dvnmfs4p24zx3h6gtx47s
64 | verifiedregistry bafk2bzacedfel6edzqpe5oujno7fog4i526go4dtcs6vwrdtbpy2xq6htvcg6
65 | eam bafk2bzacedrpm5gbleh4xkyo2jvs7p5g6f34soa6dpv7ashcdgy676snsum6g
66 | placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
67 | storagepower bafk2bzacec4ay4crzo73ypmh7o3fjendhbqrxake46bprabw67fvwjz5q6ixq
68 | system bafk2bzacedakk5nofebyup4m7nvx6djksfwhnxzrfuq4oyemhpl4lllaikr64
69 | cron bafk2bzacedcbtsifegiu432m5tysjzkxkmoczxscb6hqpmrr6img7xzdbbs2g
70 | ```
71 |
72 | 6. When not debugging, it is **not recommended** is set the rust log level to `trace` as too much logs may be printed
73 |
74 | 7. After upgrading, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful
75 |
76 | 8. Actor Migration
77 |
78 | ```
79 | The pre-migration height is 60 epoch before the upgrade epoch of 2683288
80 | Pre-migration start: STARTING pre-migration end: COMPLETED pre-migration
81 | migration started: STARTING migration ended: COMPLETED migration
82 | ```
83 |
84 | 9. Configuration changes
85 |
86 | ```json
87 | # Added fevm related configuration, where the enableEthRPC field is used to control whether to enable ETH RPC, the default is false
88 | "fevm": {
89 | "enableEthRPC": false,
90 | "ethTxHashMappingLifetimeDays": 0,
91 | "event": {
92 | "enableRealTimeFilterAPI": false,
93 | "enableHistoricFilterAPI": false,
94 | "filterTTL": "24h0m0s",
95 | "maxFilters": 100,
96 | "maxFilterResults": 10000,
97 | "maxFilterHeightRange": 2880,
98 | "databasePath": ""
99 | }
100 | }
101 |
102 | # Added allowableClockDriftSecs field, default is 1
103 | "parameters": {
104 | "allowableClockDriftSecs": 1
105 | },
106 | ```
107 |
108 |
109 | ## venus-auth
110 |
111 | Feature:
112 |
113 | Dependency: none
114 |
115 | Precautions:
116 |
117 | 1. Check whether the command line can be used correctly
118 |
119 |
120 | ## venus-messager
121 |
122 | Function:
123 |
124 | 1. Added additional interface authentication
125 |
126 | Dependency:
127 |
128 | Precautions:
129 |
130 | 1. Observe if messages can be received normally after upgrading
131 |
132 | 2. After upgrading, observe whether the message can be on-chained properly
133 |
134 | 3. `ReplacedMsg` is renamed to `NonceConflictMsg`
135 |
136 |
137 | ## venus-miner
138 |
139 | Feature:
140 |
141 | Dependency:
142 |
143 | Precautions:
144 |
145 | 1. Check if block be produced properly after upgrading
146 |
147 |
148 | ## venus-gateway
149 |
150 | Feature:
151 |
152 | Precautions:
153 |
154 | 1. Compile: first `make dist-clean` and then `make`
155 |
156 | 2. Check remote wallet after upgrading: `./venus-gateway wallet list`
157 |
158 | 3. Check miners after upgrading: `./venus-gateway miner list`
159 |
160 |
161 | ## venus-market
162 |
163 | Feature:
164 |
165 | Precautions:
166 |
167 | 1. Compile: first `make dist-clean` and then `make`
168 |
169 |
170 | ## venus-wallet
171 |
172 | Feature:
173 |
174 | Precautions:
175 |
176 | 1. Need to unlock the wallet after restart
177 |
178 | 2. Check if wallet is properly registered to the gateway
179 |
180 | ## venus-sector-manager
181 |
182 | Compile: first `make dist-clean` and then `make`
--------------------------------------------------------------------------------
/docs/operation/nv19-upgrade.md:
--------------------------------------------------------------------------------
1 | # Venus nv19 Upgrade Guide
2 |
3 | ## Precautions
4 |
5 | 1. Upgrade all Venus products
6 | 2. After upgrading, use the `curl` command to call `version` interface to check the version number; Interfaces of each Venus component can be referred [here](https://github.com/filecoin-project/venus/issues/5132)
7 | 3. Check Pre/Pro messages on-chain status
8 | 4. Check wdPost message on-chain status
9 | 5. Check whether the block production is normal
10 | 6. Check whether the gas fee related settings are in effect in accordance to configuration
11 |
12 | ## Components that Need to be Upgraded
13 |
14 | component name|tag|commit
15 | ---|---|---
16 | venus-auth | v1.11.0 | 0c30588
17 | venus | v1.11.0 | afd3d47
18 | venus-messager | v1.11.0 | e4c4ab4
19 | venus-gateway | v1.11.0 | 877a851
20 | venus-wallet | v1.11.0 | 7afa1eb
21 | venus-miner | v1.11.0 | a30f342
22 | venus-market | v2.7.0 | 61f2cb5
23 | venus-sector-manager | v0.6.0-rc3 | 134b502
24 | venus-worker | no upgrade required | -
25 |
26 |
27 | ### Upgrade order
28 |
29 | 1. venus-auth
30 | 2. Venus
31 | 3. venus-gateway
32 | 4. venus-messager
33 | 5. venus-miner
34 | 6. venus-market
35 | 7. venus-wallet-pro
36 | 8. venus-sector-manager
37 |
38 | ### venus-auth
39 |
40 | Affected function:
41 |
42 | - updated way for other components to obtain auth services
43 |
44 | Dependency upgrade components: None
45 |
46 | Precautions:
47 |
48 | - Use "--disable-perm-check" at startup to temporarily disable the feature of auth interface protection
49 | - Before creating a token, you need to create the corresponding user
50 |
51 | Note:
52 |
53 | - The new version of auth will automatically generate a token named "defaultLocalToken" when it starts, which is used for authentication when auth-cli executes commands
54 |
55 |
56 | ### venus
57 |
58 | Affected function: none
59 |
60 | Dependency upgrade component: venus-auth
61 |
62 | Precautions:
63 |
64 | Compilation: first `make dist-clean` and then `make`, this can prevent problems caused by failing to upgrade `filecoin-ffi` normally
65 |
66 | **Should use `--auth-token` flag when starting, or modify configuration file `api.venusAuthToken` configuration item**
67 |
68 | 1. Check whether the vk file is complete after upgrading
69 |
70 | 2. Check the configuration file after the upgrade; check whether `UpgradeLightningHeight` and `UpgradeThunderHeight` are normal through the log:
71 |
72 | ```
73 | #cali
74 | UpgradeLightningHeight: 489094
75 | UpgradeThunderHeight:489094+3120
76 | #mainnet
77 | UpgradeLightningHeight: 2809800
78 | UpgradeThunderHeight: 2809800 + 2880*21 = 2870280
79 | ```
80 |
81 | 3. After the upgrade, check whether the chain is synchronized normally
82 |
83 | 4. Check the mainnet v11 actors code to make sure it is the same as the output below
84 |
85 | ```
86 | ./venus state actor-cids --network-version 19
87 |
88 | # order may vary
89 | Network Version: 19
90 | Actor Version: 11
91 | Actor CIDs
92 | reward bafk2bzacebwjw2vxkobs7r2kwjdqqb42h2kucyuk6flbnyzw4odg5s4mogamo
93 | system bafk2bzaced7npe5mt5nh72jxr2igi2sofoa7gedt4w6kueeke7i3xxugqpjfm
94 | eam bafk2bzaceaelwt4yfsfvsu3pa3miwalsvy3cfkcjvmt4sqoeopsppnrmj2mf2
95 | cron bafk2bzacebpewdvvgt6tk2o2u4rcovdgym67tadiis5usemlbejg7k3kt567o
96 | datacap bafk2bzacebslykoyrb2hm7aacjngqgd5n2wmeii2goadrs5zaya3pvdf6pdnq
97 | ethaccount bafk2bzaceclkmc4yidxc6lgcjpfypbde2eddnevcveo4j5kmh4ek6inqysz2k
98 | evm bafk2bzacediwh6etwzwmb5pivtclpdplewdjzphouwqpppce6opisjv2fjqfe
99 | init bafk2bzaceckwf3w6n2nw6eh77ktmsxqgsvshonvgnyk5q5syyngtetxvasfxg
100 | multisig bafk2bzaceafajceqwg5ybiz7xw6rxammuirkgtuv625gzaehsqfprm4bazjmk
101 | paymentchannel bafk2bzaceb4e6cnsnviegmqvsmoxzncruvhra54piq7bwiqfqevle6oob2gvo
102 | account bafk2bzacealnlr7st6lkwoh6wxpf2hnrlex5sknaopgmkr2tuhg7vmbfy45so
103 | storageminer bafk2bzacec24okjqrp7c7rj3hbrs5ez5apvwah2ruka6haesgfngf37mhk6us
104 | storagepower bafk2bzaceaxgloxuzg35vu7l7tohdgaq2frsfp4ejmuo7tkoxjp5zqrze6sf4
105 | placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
106 | verified registry bafk2bzacedej3dnr62g2je2abmyjg3xqv4otvh6e26du5fcrhvw7zgcaaez3a
107 | storagemarket bafk2bzaceazu2j2zu4p24tr22btnqzkhzjvyjltlvsagaj6w3syevikeb5d7m
108 | ```
109 |
110 | 5. If not troubleshooting, the rust log level **not recommended** is set to `trace`, because more logs will be printed
111 |
112 | 6. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful
113 |
114 | 7. Actor Migration
115 |
116 | **Through testing, the pre-migration time is about 80 seconds, and the mainnet migration time should be about 60 seconds**
117 |
118 | ```
119 | # The pre-migration height is 120 heights before the upgrade height: 2809800 - 120 = 2809680
120 | Pre-migration start: STARTING pre-migration end: COMPLETED pre-migration
121 | migration start: STARTING migration end: COMPLETED migration
122 | ```
123 |
124 | ### venus-gateway
125 |
126 | Affected function: none
127 |
128 | Dependency upgrade component: venus-auth
129 |
130 | Precautions:
131 |
132 | - When compiling, you need to `make dist-clean` first and then `make`
133 | - When starting, you should use the `--auth-token` flag, or set the configuration item directly in the configuration: `AuthConfig.Token`
134 | - Remove flag: `--disable-address-verify`, **Check if the startup command is still using this flag when upgrading**
135 |
136 | ### venus-messager
137 |
138 | Affected function:
139 |
140 | - message replace
141 | - list --block command
142 |
143 | Dependency upgrade components: venus, venus-auth, venus-gateway
144 |
145 | Precautions:
146 |
147 | - When starts for the first time during the upgrade, use the `auth-token` falg, or modify the configuration file `JWTConfig.Token` configuration item first
148 | - After the upgrade, it is necessary to observe whether the message can be received normally and whether the message can be sent to the chain normally
149 |
150 |
151 | Note:
152 |
153 | - The minimum value of the replace fee coefficient has been reduced from 1.25 to 1.11
154 | - When listing blocked messages, `unfill` status messages will now also be listed as blocked messages
155 |
156 |
157 | ### venus-miner
158 |
159 | Affected function:
160 |
161 | - Added timeout mechanism for selecting message
162 |
163 | Dependency upgrade component: auth, venus, gateway
164 |
165 | Precautions:
166 |
167 | - `[Auth].[Token]` must be configured in the configuration file, and has `admin` permission in venus-auth, do not use the token from `defaultLocalToken`, you need to manually create one.
168 |
169 | ### venus-market
170 |
171 | Affected function:
172 |
173 | - Added and adjusted some commands
174 |
175 | Dependency upgrade components: auth, venus, gateway, messager
176 |
177 | Precautions:
178 |
179 | - You must use `cs-token` when starting, or modify the configuration item `AuthNode.Token`
180 |
181 | ### venus-wallet
182 |
183 | Affected function: none
184 |
185 | Dependency upgrade component: gateway
186 |
187 | Precautions:
188 | - After the upgrade, observe whether the signature is normal and whether the message can be sent to the chain normally
189 | - `wallet new`, `import`, and `export` commands have been removed. The purpose of deletion is to avoid misuse.
190 |
191 | ### venus-sector-manger
192 |
193 | Affected features: fip-0061 wdpost algorithm changes
194 |
195 | Dependency upgrade component: Chain Service component
196 |
197 | Precautions:
198 |
199 | - When compiling, you need to `make dist-clean` first and then `make`
200 |
201 | ---
202 |
203 | Upgrade verification:
204 |
205 | 1. The program starts normally
206 | 2. Pre/Pro messages are on-chained normally
207 | 3. Block generation is normal
208 | 4. WdPost on-chain is normal
209 | 5. Storage power is increasing normally
210 | 7. Verified deal retrieval is normal
211 | 8. Various gas, life cycle, database and aggregation settings are normal
212 |
213 | ### Notes on Database Changes
214 |
215 | 1. [venus-messager added actor configuration and related commands, and adds `actor_cfg` table](https://github.com/filecoin-project/venus/issues/5558)
216 |
217 | 2. Added index to venus-market `storage_deals` table: `CREATE INDEX idx_cdpprovider_state ON storage_deals(cdp_provider,state)`
--------------------------------------------------------------------------------
/docs/operation/nv21-upgrade.md:
--------------------------------------------------------------------------------
1 | # Venus nv21 Upgrade Guide
2 |
3 | ## Precautions
4 |
5 | 1. Be sure to upgrade all Venus products
6 | 2. After upgrading, please use the `curl` command to call the `Version` API to check the version number. Details of each Venus products' version interface can be found [here](https://github.com/filecoin-project/venus/issues/5132).
7 | 3. Monitor proper on-chain of pre and prove messages
8 | 4. Monitor proper on-chain of window post messages
9 | 5. Monitor block producing
10 | 6. Check whether the gas fee related settings are in effect
11 |
12 |
13 | ## Products Upgrade Guide
14 |
15 | Product | tag | commit
16 | ---|---|---
17 | sophon-auth | v1.14.0 | 7caadbc
18 | venus | v1.14.2 | 9204048
19 | sophon-messager | v1.14.0 | e5f8371
20 | soohon-gateway | v1.14.0 | 1adf038
21 | venus-wallet | v1.14.0 | b478cd0
22 | sophon-miner | v1.14.0 | 9ca976c
23 | droplet | v2.10.0 | 6daf168
24 | damocles-manager | v0.9.2 | f3c5400
25 | damocles-worker | v0.9.2 | f3c5400
26 |
27 |
28 |
29 | ### Recommended Upgrade Sequence
30 |
31 | 1. sophon-auth
32 | 2. venus
33 | 3. soohon-gateway
34 | 4. sophon-messager
35 | 5. sophon-miner
36 | 6. droplet
37 | 7. venus-wallet
38 | 8. damocles-manager
39 | 9.damocles-worker
40 |
41 |
42 | ### sophon-auth
43 |
44 | Affected functions:
45 |
46 | - Affecting how other Venus products are authorized to use the sophon service
47 |
48 | Dependency:
49 |
50 | - None
51 |
52 | Precautions:
53 |
54 | - Check if authentication is normal after startup
55 |
56 |
57 | ### venus
58 |
59 | Affected functions:
60 |
61 | - None
62 |
63 | Dependency:
64 |
65 | - sophon-auth
66 |
67 | Precautions:
68 |
69 | :::tip
70 | Compile: First `make dist-clean` and then `make`, this can prevent problems caused by failure to upgrade `filecoin-ffi` properly
71 |
72 | **If `~/.venus` exists and you need to import a snapshot, you need to delete the `~/.venus/version` file first before importing the snapshot**
73 | :::
74 |
75 | ```
76 | The memory consumption of migration depends on the CPUs used. You can set the limit of CPU by environment variable (`VENUS_MIGRATION_MAX_WORKER_COUNT=n`), to avoid use out of memory.
77 | Recommended value of `VENUS_MIGRATION_MAX_WORKER_COUNT`:
78 |
79 | 48G VENUS_MIGRATION_MAX_WORKER_COUNT=13
80 | 64G VENUS_MIGRATION_MAX_WORKER_COUNT=18
81 | 96G VENUS_MIGRATION_MAX_WORKER_COUNT=24
82 |
83 | The migration of update
84 | ```
85 |
86 | 1. Check whether the vk file is complete after upgrading
87 |
88 | 2. After the upgrade, execute the command `./venus state network-info`, and then check whether the `UpgradeWatermelonHeight` is normal through the log:
89 |
90 | ```
91 | #cali
92 | UpgradeWatermelonHeight: 1013134
93 | #mainnet
94 | UpgradeWatermelonHeight: 3469380
95 | ```
96 |
97 | 3. After the upgrade, you need to check whether the block height is synchronized normally.
98 |
99 | 4. Check the mainnet `v12 actors` code and make sure it is the same as the output below
100 |
101 | ```
102 | ./venus state actor-cids --network-version 21
103 |
104 | # Ordering may be different
105 | Network Version: 21
106 | Actor Version: 12
107 | Actor CID
108 | datacap bafk2bzacebpiwb2ml4qbnnaayxumtk43ryhc63exdgnhivy3hwgmzemawsmpq
109 | ethaccount bafk2bzaceb4gkau2vgsijcxpfuq33bd7w3efr2rrhxrwiacjmns2ntdiamswq
110 | reward bafk2bzacealqnxn5lwzwexd6reav4dppypquklx2ujlnvaxiqk2tzstyvkp5u
111 | verifiedregistry bafk2bzacedudgflxc75c77c6zkmfyq4u2xuk7k6xw6dfdccarjrvxx453b77q
112 | eam bafk2bzaceb3elj4hfbbjp7g5bptc7su7mptszl4nlqfedilxvstjo5ungm6oe
113 | multisig bafk2bzacecw5lyp3n3t67xdwrmo36h4z7afc3lobmmr6wg55w6yjzg5jhmh42
114 | storagemarket bafk2bzacedylkg5am446lcuih4voyzdn4yjeqfsxfzh5b6mcuhx4mok5ph5c4
115 | system bafk2bzacebfqrja2hip7esf4eafxjmu6xcogoqu5xxtgdg7xa5szgvvdguchu
116 | account bafk2bzaceboftg75mdiba7xbo2i3uvgtca4brhnr3u5ptihonixgpnrvhpxoa
117 | cron bafk2bzacechxjkfe2cehx4s7skj3wzfpzf7zolds64khrrrs66bhazsemktls
118 | placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
119 | storagepower bafk2bzacecsij5tpfzjpfuckxvccv2p3bdqjklkrfyyoei6lx5dyj5j4fvjm6
120 | evm bafk2bzacecmnyfiwb52tkbwmm2dsd7ysi3nvuxl3lmspy7pl26wxj4zj7w4wi
121 | init bafk2bzacebllyegx5r6lggf6ymyetbp7amacwpuxakhtjvjtvoy2bfkzk3vms
122 | paymentchannel bafk2bzacectv4cm47bnhga5febf3lo3fq47g72kmmp2xd5s6tcxz7hiqdywa4
123 | storageminer bafk2bzacedo75pabe4i2l3hvhtsjmijrcytd2y76xwe573uku25fi7sugqld6
124 | ```
125 |
126 | 5. If there is no problem troubleshoot, it is not recommended to set the rust log level to `trace` because more logs will be printed.
127 |
128 | 6. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful.
129 |
130 | 7. actor migration
131 |
132 | :::tip
133 | **After testing, the pre-migration time is about 20 to 30 minutes, and the actual migration time is about 70 seconds**
134 |
135 | ```
136 | The pre-migration height is the 120 heights before the upgrade height:
137 | pre-migration start: STARTING pre-migration end: COMPLETED pre-migration
138 | migration starts: STARTING migration ends: COMPLETED migration
139 | ```
140 | :::
141 |
142 | ### sophon-gateway
143 |
144 | Functions affected:
145 |
146 | - None
147 |
148 | Dependency:
149 |
150 | - sophon-auth
151 |
152 | Precautions:
153 |
154 | - When compiling, you need to first `make dist-clean` and then `make`
155 |
156 |
157 | ### sophon-messager
158 |
159 | Affected functions:
160 |
161 | - None
162 |
163 | Dependency:
164 |
165 | - venus
166 | - sophon-auth
167 | - sophon-gateway
168 |
169 | Precautions:
170 |
171 | - After the upgrade, monitor whether the messages can be received normally and whether the messages can be on-chained normally.
172 |
173 |
174 | ### sophon-miner
175 |
176 | Affect functions:
177 |
178 | Dependency:
179 |
180 | - auth
181 | - venus
182 | - gateway
183 |
184 | Precautions:
185 |
186 | - `[Auth].[Token]` in the configuration file must be configured, and the token must be created with admin permission from sophon-auth. It is recommended that one does not use the token from `defaultLocalToken`, one should create one manually.
187 |
188 |
189 | ### Droplet
190 |
191 | Affected functions:
192 |
193 | - Support v2 version of storage deal protocol
194 | - Support offline computation of commP
195 |
196 |
197 | Dependency:
198 |
199 | - auth
200 | - venus
201 | - gateway
202 | - messager
203 |
204 | Precautions:
205 |
206 | - Monitor deals and retrievals
207 |
208 | ### venus-wallet
209 |
210 | Affected functions:
211 |
212 | - None
213 |
214 | Dependency:
215 |
216 | - gateway
217 |
218 | Precautions:
219 |
220 | - After the upgrade, monitor whether the signature is normal and whether the message can be on-chained normally.
221 |
222 |
223 | ### damocles-manager
224 |
225 | Dependency:
226 |
227 | - Sophon service
228 |
229 | Precautions:
230 |
231 | - When compiling, you need to first `make dist-clean` and then `make`
232 |
233 | ### damocles-worker
234 |
235 | Dependency:
236 |
237 | - damocles-manager
238 |
239 | Precautions:
240 | Translation:
241 |
242 | - It is recommended to perform program updates after all tasks have been done and there are no ongoing tasks. If an update is required during the task on going, the sealing thread may get stuck in the 'SyntheticPoRepNeeded' state. In such cases, resetting the task status to 'PCSubmitted' can resolve the issue. You can use the following command: `damocles-manager util worker resume PCSubmitted`.
243 | - The new proof type `SyntheticPoRep` uses a new proof parameter file. If `SyntheticPoRep` is enabled, it is best to prepare new proof parameters in advance. **Failing to do so may cause SyntheticPoRep deadlock**.
244 |
245 | ---
246 |
247 | Upgrade result verification steps:
248 |
249 | 1. Check if program starts normally
250 | 2. Check if Pre & prove messages are on-chained normally
251 | 3. Check if block producing is normal
252 | 4. Check if window post is normal
253 | 5. Check if storage power grows normally
254 | 7. Check if storage deal retrieval is normal
255 | 8. Check if various gas, life cycle, and aggregation settings of the database are normal.
256 |
257 | ### Database changes
258 |
259 | 1. Add `id` field to droplet `storage_deals` table ==> `ALTER TABLE storage_deals ADD id varchar(128)`
260 |
--------------------------------------------------------------------------------
/docs/operation/nv22-upgrade.md:
--------------------------------------------------------------------------------
1 | # Venus Stack nv22 Upgrade Guide
2 |
3 | ## Precautions
4 |
5 | 1. Upgrade all Venus products / components
6 | 2. Use the `curl` command to call the `Version` interface to check the version number after upgrading. Refer to the guide [here](https://github.com/filecoin-project/venus/issues/5132) for details.
7 | 3. Check if pre/pro messages are on-chained
8 | 4. Check if windowPost messages are on-chained
9 | 5. Check if block producing is working correctly
10 | 6. Check if the gas fee related settings are in effect
11 |
12 |
13 | ## Products / Components to be Upgraded
14 |
15 | Component name|tag|commit
16 | ---|---|---
17 | sophon-auth | v1.15.0 | a1e964b
18 | venus | v1.15.1 | 81c99f3
19 | sophon-co | v0.8.0 | 0e48712
20 | sophon-messager | v1.15.0 | 1e4f0d5
21 | soohon-gateway | v1.15.0 | 541891a
22 | venus-wallet | v1.15.0 | 6b3de34
23 | sophon-miner | v1.15.0 | 8dd6c68
24 | droplet | v2.11.0 | 44481dd
25 | damocles-manager | v0.10.0-rc1 | 2f6c5f9
26 | damocles-worker | v0.10.0-rc1 | 2f6c5f9
27 |
28 | ### Upgrade Sequence
29 |
30 | 1. sophon-auth
31 | 2. venus
32 | 3. soohon-co
33 | 4. soohon-gateway
34 | 5. sophon-messager
35 | 6. sophon-miner
36 | 7. droplet
37 | 8. venus-wallet
38 | 9. damocles-manager
39 | 10. damocles-worker
40 |
41 |
42 | ### sophon-auth
43 |
44 | Affected functions:
45 |
46 | - Aquiring auth services from other components
47 |
48 | Upgrade Dependency:
49 |
50 | - None
51 |
52 | Precautions:
53 |
54 | - Check if authentication working normally after startup.
55 |
56 | ### Venus
57 |
58 | Affected functions:
59 |
60 | - None
61 |
62 | Upgrade Dependency:
63 |
64 | - sophon-auth
65 |
66 | Precautions:
67 |
68 | Compile: First `make dist-clean` and then `make`, this can prevent problems caused by failure to upgrade `filecoin-ffi` properly.
69 |
70 |
71 | 1. Check if the vk file is complete after upgrading
72 |
73 | 2. After the upgrade, execute the command `./venus state network-info`, and then check whether the UpgradeDragonHeight is normal through the log:
74 |
75 | ```
76 | #cali
77 | UpgradeDragonHeight: 1427974
78 | #mainnet
79 | UpgradeDragonHeight: 3855360
80 | ```
81 |
82 | 3. After the upgrade, you need to check if the blocks are synchronized normally.
83 |
84 | 4. Check the mainnet v13 actors code and make sure it is the same as the output below
85 |
86 | ```
87 | ./venus state actor-cids --network-version 22
88 |
89 | # The order may be different
90 | Network Version: 22
91 | Actor Version: 13
92 | Manifest CID: bafy2bzacecdhvfmtirtojwhw2tyciu4jkbpsbk5g53oe24br27oy62sn4dc4e
93 | Actor CID
94 | account bafk2bzacedxnbtlsqdk76fsfmnhyvsblwyfducerwwtp3mqtx2wbrvs5idl52
95 | cron bafk2bzacebbopddyn5csb3fsuhh2an4ttd23x6qnwixgohlirj5ahtcudphyc
96 | datacap bafk2bzaceah42tfnhd7xnztawgf46gbvc3m2gudoxshlba2ucmmo2vy67t7ci
97 | eam bafk2bzaceb23bhvvcjsth7cn7vp3gbaphrutsaz7v6hkls3ogotzs4bnhm4mk
98 | ethaccount bafk2bzaceautge6zhuy6jbj3uldwoxwhpywuon6z3xfvmdbzpbdribc6zzmei
99 | evm bafk2bzacedq6v2lyuhgywhlllwmudfj2zufzcauxcsvvd34m2ek5xr55mvh2q
100 | init bafk2bzacedr4xacm3fts4vilyeiacjr2hpmwzclyzulbdo24lrfxbtau2wbai
101 | multisig bafk2bzacecr5zqarfqak42xqcfeulsxlavcltawsx2fvc7zsjtby6ti4b3wqc
102 | paymentchannel bafk2bzacebntdhfmyc24e7tm52ggx5tnw4i3hrr3jmllsepv3mibez4hywsa2
103 | placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
104 | reward bafk2bzacedq4q2kwkruu4xm7rkyygumlbw2yt4nimna2ivea4qarvtkohnuwu
105 | storagemarket bafk2bzacebjtoltdviyznpj34hh5qp6u257jnnbjole5rhqfixm7ug3epvrfu
106 | storageminer bafk2bzacebf4rrqyk7gcfggggul6nfpzay7f2ordnkwm7z2wcf4mq6r7i77t2
107 | storagepower bafk2bzacecjy4dkulvxppg3ocbmeixe2wgg6yxoyjxrm4ko2fm3uhpvfvam6e
108 | system bafk2bzacecyf523quuq2kdjfdvyty446z2ounmamtgtgeqnr3ynlu5cqrlt6e
109 | verifiedregistry bafk2bzacedkxehp7y7iyukbcje3wbpqcvufisos6exatkanyrbotoecdkrbta
110 | ```
111 |
112 | 5. If you are not troubleshooting the system, it is not recommended to set the rust log level to `trace` because more logs will be printed.
113 |
114 | 6. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful.
115 |
116 | 7. actor migration
117 |
118 | **After testing, the pre-migration time is about 30 minutes, and the main migration time is about 100 seconds**
119 |
120 | ```
121 | The pre-migration height is 120 heights before the upgrade height:
122 | pre-migration start: STARTING pre-migration end: COMPLETED pre-migration
123 | migration starts: STARTING migration ends: COMPLETED migration
124 | ```
125 | 8. If `~/.venus` exists and you need to import a snapshot, you need to delete the `~/.venus/version` file first and then import the snapshot.
126 |
127 | * Mainnet: `./venus daemon --import-snapshot snapshot.car`
128 | * calibnet: `./venus daemon --import-snapshot snapshot.car --network calibrationnet`
129 |
130 |
131 | ### sophon-gateway
132 |
133 | Affected functions:
134 |
135 | - None
136 |
137 | Upgrade Dependency:
138 |
139 | - sophon-auth
140 |
141 | Precautions:
142 |
143 | - When compiling, you need to first `make dist-clean` and then `make`
144 |
145 |
146 | ### sophon-messager
147 |
148 | Affected functions:
149 |
150 | - None
151 |
152 | Upgrade Dependency:
153 |
154 | - venus
155 | - sophon-auth
156 | - sophon-gateway
157 |
158 | Precautions:
159 |
160 | - After the upgrade, you need to observe whether the messages can be received normally and whether the messages can be on-chained normally.
161 |
162 |
163 | ### sophon-miner
164 |
165 | Affected functions:
166 |
167 | - None
168 |
169 | Upgrade Dependency:
170 |
171 | - auth
172 | - venus
173 | - gateway
174 |
175 | Precautions:
176 |
177 | ### droplet
178 |
179 | Affected functions:
180 |
181 | - Direct data onboarding support; Documentation [here](https://github.com/ipfs-force-community/droplet/blob/master/docs/zh/direct-on-boarding.md)
182 |
183 |
184 | Upgrade Dependency:
185 |
186 | - auth
187 | - venus
188 | - gateway
189 | - messager
190 |
191 | Precautions:
192 |
193 | - Check if deals and retrieval can be issued normally after the upgrade?
194 |
195 | ### venus-wallet
196 |
197 | Affected functions:
198 |
199 | - None
200 |
201 | Upgrade Dependency:
202 |
203 | - gateway
204 |
205 | Precautions:
206 |
207 | - After the upgrade, observe whether the signing is normal and whether the message can be on-chained normally.
208 |
209 |
210 | ### damocles-manager
211 |
212 | Upgrade Dependency:
213 |
214 | - Sophon service
215 |
216 | Precautions:
217 |
218 | - When compiling, you need to first `make dist-clean` and then `make`
219 |
220 | ### damocles-worker
221 |
222 | Upgrade Dependency:
223 |
224 | - damocles-manager
225 |
226 | Precautions:
227 |
228 | Upgrade result verification steps:
229 |
230 | 1. Check if the program starts normally
231 | 2. Check if pre / pro messages are uploaded normally
232 | 3. Check if block producing is normal
233 | 4. Check if windowPost is normal
234 | 5. Check if storage power grows normally
235 | 7. Check if verified deal retrieval is normal
236 | 8. Check if various gas, sector life cycle, and aggregation settings in the database are normal.
237 |
238 |
239 | ### Database changes
240 |
241 | 1. The droplet adds the `direct_deals` table to store DDO deals.
242 |
--------------------------------------------------------------------------------
/docs/operation/nv23-upgrade.md:
--------------------------------------------------------------------------------
1 | # Venus Stack nv23 Upgrade Guide
2 |
3 | ## Precautions
4 |
5 | 1. Upgrade all Venus products / components
6 | 2. Use the `curl` command to call the `Version` interface to check the version number after upgrading. Refer to the guide [here](https://github.com/filecoin-project/venus/issues/5132) for details.
7 | 3. Check if pre/pro messages are on-chained
8 | 4. Check if windowPost messages are on-chained
9 | 5. Check if block producing is working correctly
10 | 6. Check if the gas fee related settings are in effect
11 |
12 |
13 | #### It is recommended not to perform sealing tasks before upgrading. If p2 messages are on-chain but c2 messages are not on-chain before upgrading, an error will be reported when c2 messages are on-chain after upgrading.
14 |
15 | ## Products / Components to be Upgraded
16 |
17 | Component name|tag|commit
18 | ---|---|---
19 | sophon-auth | v1.16.0 | e2340d5
20 | venus | v1.16.0 | 3fdb199
21 | sophon-co | v0.9.0 | 0f344ed
22 | sophon-messager | v1.16.0 | f695806
23 | soohon-gateway | v1.16.0 | 2d32b8e
24 | venus-wallet | v1.16.0 | 48b1e02
25 | sophon-miner | v1.16.0 | 500c186
26 | droplet | v2.12.0 | deec963
27 | damocles-manager | v0.11.0 | 7d06bd4
28 | damocles-worker | v0.11.0 | 7d06bd4
29 |
30 | ### Upgrade Sequence
31 |
32 | 1. sophon-auth
33 | 2. venus
34 | 3. soohon-co
35 | 4. soohon-gateway
36 | 5. sophon-messager
37 | 6. sophon-miner
38 | 7. droplet
39 | 8. venus-wallet
40 | 9. damocles-manager
41 | 10. damocles-worker
42 |
43 |
44 | ### sophon-auth
45 |
46 | Affected functions:
47 |
48 | - Aquiring auth services from other components
49 |
50 | Upgrade Dependency:
51 |
52 | - None
53 |
54 | Precautions:
55 |
56 | - Check if authentication working normally after startup.
57 |
58 | ### Venus
59 |
60 | Affected functions:
61 |
62 | - None
63 |
64 | Upgrade Dependency:
65 |
66 | - sophon-auth
67 |
68 | Precautions:
69 |
70 | Compile: First `make dist-clean` and then `make`, this can prevent problems caused by failure to upgrade `filecoin-ffi` properly.
71 |
72 |
73 | 1. Check if the vk file is complete after upgrading
74 |
75 | 2. After the upgrade, execute the command `./venus state network-info`, and then check whether the UpgradeWaffleHeight is normal through the log:
76 |
77 | ```
78 | #cali
79 | UpgradeWaffleHeight: 1779094
80 | #mainnet
81 | UpgradeWaffleHeight: 4154640
82 | ```
83 |
84 | 3. After the upgrade, you need to check if the blocks are synchronized normally.
85 |
86 | 4. Check the mainnet v14 actors code and make sure it is the same as the output below
87 |
88 | ```
89 | ./venus state actor-cids --network-version 23
90 |
91 | # The order may be different
92 | Network Version: 23
93 | Actor Version: 14
94 | Manifest CID: bafy2bzacecbueuzsropvqawsri27owo7isa5gp2qtluhrfsto2qg7wpgxnkba
95 | Actor CID
96 | account bafk2bzacebr7ik7lng7vysm754mu5x7sakphwm4soqi6zwbox4ukpd6ndwvqy
97 | cron bafk2bzacecwn6eiwa7ysimmk6i57i5whj4cqzwijx3xdlxwb5canmweaez6xc
98 | datacap bafk2bzacecidw7ajvtjhmygqs2yxhmuybyvtwp25dxpblvdxxo7u4gqfzirjg
99 | eam bafk2bzaced2cxnfwngpcubg63h7zk4y5hjwwuhfjxrh43xozax2u6u2woweju
100 | ethaccount bafk2bzacechu4u7asol5mpcsr6fo6jeaeltvayj5bllupyiux7tcynsxby7ko
101 | evm bafk2bzacedupohbgwrcw5ztbbsvrpqyybnokr4ylegmk7hrbt3ueeykua6zxw
102 | init bafk2bzacecbbcshenkb6z2v4irsudv7tyklfgphhizhghix6ke5gpl4r5f2b6
103 | multisig bafk2bzaceajcmsngu3f2chk2y7nanlen5xlftzatytzm6hxwiiw5i5nz36bfc
104 | paymentchannel bafk2bzaceavslp27u3f4zwjq45rlg6assj6cqod7r5f6wfwkptlpi6j4qkmne
105 | placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
106 | reward bafk2bzacedvfnjittwrkhoar6n5xrykowg2e6rpur4poh2m572f7m7evyx4lc
107 | storagemarket bafk2bzaceaju5wobednmornvdqcyi6khkvdttkru4dqduqicrdmohlwfddwhg
108 | storageminer bafk2bzacea3f43rxzemmakjpktq2ukayngean3oo2de5cdxlg2wsyn53wmepc
109 | storagepower bafk2bzacedo6scxizooytn53wjwg2ooiawnj4fsoylcadnp7mhgzluuckjl42
110 | system bafk2bzacecak4ow7tmauku42s3u2yydonk4hx6ov6ov542hy7lcbji3nhrrhs
111 | verifiedregistry bafk2bzacebvyzjzmvmjvpypphqsumpy6rzxuugnehgum7grc6sv3yqxzrshb4
112 | ```
113 |
114 | 5. If you are not troubleshooting the system, it is not recommended to set the rust log level to `trace` because more logs will be printed.
115 |
116 | 6. After the upgrade, you can use the command `./venus state get-actor t01000` to confirm whether the upgrade is successful.
117 |
118 | 7. actor migration
119 |
120 | **After testing, the pre-migration time is about 1 minutes, and the main migration time is about 50 seconds**
121 |
122 | ```
123 | The pre-migration height is 120 heights before the upgrade height:
124 | pre-migration start: STARTING pre-migration end: COMPLETED pre-migration
125 | migration starts: STARTING migration ends: COMPLETED migration
126 | ```
127 | 8. If `~/.venus` exists and you need to import a snapshot, you need to delete the `~/.venus/version` file first and then import the snapshot.
128 |
129 | * Mainnet: `./venus daemon --import-snapshot snapshot.car`
130 | * calibnet: `./venus daemon --import-snapshot snapshot.car --network calibrationnet`
131 |
132 |
133 | ### sophon-gateway
134 |
135 | Affected functions:
136 |
137 | - None
138 |
139 | Upgrade Dependency:
140 |
141 | - sophon-auth
142 |
143 | Precautions:
144 |
145 | - When compiling, you need to first `make dist-clean` and then `make`
146 |
147 |
148 | ### sophon-messager
149 |
150 | Affected functions:
151 |
152 | - None
153 |
154 | Upgrade Dependency:
155 |
156 | - venus
157 | - sophon-auth
158 | - sophon-gateway
159 |
160 | Precautions:
161 |
162 | - After the upgrade, you need to observe whether the messages can be received normally and whether the messages can be on-chained normally.
163 |
164 |
165 | ### sophon-miner
166 |
167 | Affected functions:
168 |
169 | - None
170 |
171 | Upgrade Dependency:
172 |
173 | - auth
174 | - venus
175 | - gateway
176 |
177 | Precautions:
178 | - None
179 |
180 | ### droplet
181 |
182 | Affected functions:
183 |
184 | - None
185 |
186 | Upgrade Dependency:
187 |
188 | - auth
189 | - venus
190 | - gateway
191 | - messager
192 |
193 | Precautions:
194 |
195 | - Check if deals and retrieval can be issued normally after the upgrade?
196 |
197 | ### venus-wallet
198 |
199 | Affected functions:
200 |
201 | - None
202 |
203 | Upgrade Dependency:
204 |
205 | - gateway
206 |
207 | Precautions:
208 |
209 | - After the upgrade, observe whether the signing is normal and whether the message can be on-chained normally.
210 |
211 |
212 | ### damocles-manager
213 |
214 | Upgrade Dependency:
215 |
216 | - Sophon service
217 |
218 | Precautions:
219 |
220 | - When compiling, you need to first `make dist-clean` and then `make`
221 |
222 | ### damocles-worker
223 |
224 | Upgrade Dependency:
225 |
226 | - damocles-manager
227 |
228 | Precautions:
229 | - None
230 |
231 | Upgrade result verification steps:
232 |
233 | 1. Check if the program starts normally
234 | 2. Check if pre / pro messages are uploaded normally
235 | 3. Check if block producing is normal
236 | 4. Check if windowPost is normal
237 | 5. Check if storage power grows normally
238 | 7. Check if verified deal retrieval is normal
239 | 8. Check if various gas, sector life cycle, and aggregation settings in the database are normal.
240 |
241 |
242 | ### Database changes
243 |
244 | - None
245 |
--------------------------------------------------------------------------------
/docs/questions.md:
--------------------------------------------------------------------------------
1 | ---
2 | editLink: false
3 | ---
4 | ### Have a question?
5 |
6 | [Filecoin.io](https://filecoin.io) - general information about the Filecoin network
7 |
8 | [Community Channels](https://filecoin.io/build/#community) - links to Filecoin community chat and forum
9 |
10 |
--------------------------------------------------------------------------------
/docs/zh/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | home: true
3 | heroImage: /assets/venus-hero-logo.png
4 | actionText: 快速上手 →
5 | actionLink: /zh/intro/
6 | footer: MIT Apache dual Licensed
7 | ---
8 |
9 |