Skip to content
New issue

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

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

Already on GitHub? # to your account

[venus-messager] 支持用户推送已签名消息 #5151

Closed
1 of 11 tasks
Tracked by #5979
hunjixin opened this issue Aug 2, 2022 · 1 comment
Closed
1 of 11 tasks
Tracked by #5979

[venus-messager] 支持用户推送已签名消息 #5151

hunjixin opened this issue Aug 2, 2022 · 1 comment
Labels
C-enhancement Category: feature enhancement P3 Low - not important right now V-venus-messager venus-messager component

Comments

@hunjixin
Copy link
Contributor

hunjixin commented Aug 2, 2022

链服务模块 / Chain Service Components

  • venus
  • venus-auth
  • venus-gateway
  • venus-messager
  • venus-miner
  • 文档 / docs

订单服务模块 / Deal Service Components

  • venus-market
  • 文档 / docs

算力服务模块 / Storage Power Service Components

  • venus-sector-manager
  • venus-worker
  • 文档 / docs

描述 / Description

目前messager仅能接受未签名消息, 这个功能的目的是允许用户发送已经签名的消息上来,messager负责消息推送和结果追踪。

实现方法,参考lotus接口,增加MpoolGetNonce/MpoolPushSignedMessage接口。

message接收到消息后,需要验证消息的nonce,确保messager本地保存的nonce是有序的

存在的问题:

  1. 需要确保该消息属于这个账号, 确保该账号不能随便伪造消息,或者使用现有的消息
  2. 需要确保messager本身的nonce不会出现问题。
  3. push消息是需要限制每次提取推送的消息数量或者仅通过p2p推送signed类型消息。
@hunjixin hunjixin added C-enhancement Category: feature enhancement P3 Low - not important right now V-venus-messager venus-messager component labels Aug 2, 2022
@hunjixin hunjixin changed the title [venus-messager] 支持已验证消息推送 [venus-messager] 支持用户推送已签名消息 Aug 2, 2022
@hunjixin hunjixin added this to the 链服务 v1.9.0 milestone Nov 18, 2022
@Fatman13
Copy link
Contributor

这个 ssm 已经可以了?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-enhancement Category: feature enhancement P3 Low - not important right now V-venus-messager venus-messager component
Projects
Status: Done
Development

No branches or pull requests

2 participants