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

[market-client]批量发单功能? #5261

Closed
Tracked by #5453
Fatman13 opened this issue Sep 2, 2022 · 6 comments
Closed
Tracked by #5453

[market-client]批量发单功能? #5261

Fatman13 opened this issue Sep 2, 2022 · 6 comments
Assignees
Labels
C-duplicate Category: duplicate issue C-enhancement Category: feature enhancement CU-force-community Category: from force community design Venus feature/system design issues Epic

Comments

@Fatman13
Copy link
Contributor

Fatman13 commented Sep 2, 2022

@cloudxin 提出的批量发单功能需求;应用场景和具体做与不做待评估;

@Fatman13 Fatman13 added C-enhancement Category: feature enhancement CU-force-community Category: from force community labels Sep 2, 2022
@hunjixin
Copy link
Contributor

hunjixin commented Sep 5, 2022

  1. 客户端获取ask
  2. 客户使用graphsplit准备数据
  3. 客户端批量生成client proposal。 需提供对应的命令行,生成记录并保存
  4. 客户端发送client proposal到服务端 venus-market需增加新的接口
  5. 服务端验证proposal,生成订单离线订单记录
  6. 客户端通过线下手段移动数据到market.
  7. 服务端导入数据,生成消息并签名。 可复用现在的导入离线订单的接口
  8. 服务端发送消息,上链后生成等待封装的订单 现有流程

@Fatman13
Copy link
Contributor Author

Fatman13 commented Sep 5, 2022

这个确实,如果真的要做,得申请个grant。

@Fatman13
Copy link
Contributor Author

Fatman13 commented Sep 7, 2022

社区关注点之一。

@LinZexiao LinZexiao mentioned this issue Sep 19, 2022
54 tasks
@Fatman13 Fatman13 added Epic design Venus feature/system design issues labels Jan 30, 2023
@Fatman13
Copy link
Contributor Author

功能需求

  • DC发单成为主流,SC需要发单工具辅助SC按照f+规则进行发单。
  • 数据库记录SC地址发单信息,CID,多少个copy等等信息?
  • 多发单地址管理?剩余DC查询?

@hunjixin
Copy link
Contributor

关于多发单地址管理, 剩余dc查询功能:

  1. market-client 现有的default 地址默认采用节点或者钱包中设置的默认地址 修改初始化逻辑, 如果没有手动设置默认地址,则直接采用钱包中的默认地址
  2. market-client支持钱包中地址Dc查询. 可以考虑增加一个专门的子命令分类,用于dc相关的操作 @Fatman13 可能需要调研现有产品的一些功能。
  3. market-client需支持多地址的发送订单(存储和检索)的保存, 防止和现有逻辑出现冲突导致数据丢失
  4. 上面功能中,发送批量订单的时候需要支持通过具体哪个dc地址进行订单发送, 可参考现有storage deals init的发送地址选择逻辑

@Fatman13
Copy link
Contributor Author

dup

@Fatman13 Fatman13 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2023
@Fatman13 Fatman13 added the C-duplicate Category: duplicate issue label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-duplicate Category: duplicate issue C-enhancement Category: feature enhancement CU-force-community Category: from force community design Venus feature/system design issues Epic
Projects
Archived in project
Development

No branches or pull requests

2 participants