Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[STM] 为STM分一下venus-miner的系统和子系统 #5158

Closed
2 of 4 tasks
Tracked by #5162 ...
Fatman13 opened this issue Aug 5, 2022 · 2 comments
Closed
2 of 4 tasks
Tracked by #5162 ...

[STM] 为STM分一下venus-miner的系统和子系统 #5158

Fatman13 opened this issue Aug 5, 2022 · 2 comments
Assignees
Labels
C-need-testing Category: Venus testing related CU-System-Test-Matrix Category: STM related issues

Comments

@Fatman13
Copy link
Contributor

Fatman13 commented Aug 5, 2022

STM教程:

之前venus系统且分案例:

venus-auth案例:

STM团队最终通过分好的系统整理的catalog:

@Fatman13 Fatman13 added C-need-testing Category: Venus testing related CU-System-Test-Matrix Category: STM related issues labels Aug 5, 2022
@Fatman13
Copy link
Contributor Author

Fatman13 commented Aug 5, 2022

这个可能要麻烦 @diwufeiwen 大神看看?😄

@Fatman13 Fatman13 changed the title [STM] 为STM分一下venus-miner的系统和子系统 [STM] 为STM分一下venus-miner的系统和子系统 Aug 5, 2022
@Fatman13 Fatman13 mentioned this issue Aug 5, 2022
25 tasks
@zl03jsj zl03jsj self-assigned this Aug 17, 2022
@Fatman13 Fatman13 mentioned this issue Aug 19, 2022
33 tasks
@zl03jsj
Copy link
Contributor

zl03jsj commented Aug 23, 2022

venus-miner 子系统分类

API 子系统

  • ./api/client/client.go 用于外部系统需要通过rpc调用miner时直接引用方便直接构造client.
  • ./api/ 对外提供RPC服务的API相关的接口定义
  • ./node/impl 对外提供的PRC接口的实现

命令行工具子系统

  • ./cli 调试相关
  • ./cmd 日常运维相关

监控子系统

  • ./lib/metrics 指标监控相关子系统
  • ./lib/tracing 请求链路追踪子系统
  • ./lib/journal 出块详情子系统, 用于收集矿工的出块信息

miner挖块相关的核心逻辑

  • ./miner

venus-miner配置相关的类型以及加载的实现

  • ./node/config

venus-auth的交互相关的定义即业务逻辑

  • ./modules/miner-manager

持久化子系统

  • ./node/slashfilter 在miner挖矿的过程中的block状态及结果

应用程序目录子系统

  • ./node/repo

@Fatman13

@Fatman13 Fatman13 moved this to Done in Venus Project Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-need-testing Category: Venus testing related CU-System-Test-Matrix Category: STM related issues
Projects
Archived in project
Development

No branches or pull requests

3 participants