Skip to content

Have an option for SP to reject deals from a bls account #1344

Open
@jennijuju

Description

@jennijuju

Checklist

  • This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
  • I have a specific, actionable, and well motivated improvement to propose.

Lotus component

  • lotus daemon - chain sync
  • lotus miner - mining and block production
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt)
  • lotus miner/market - storage deal
  • lotus miner/market - retrieval deal
  • lotus miner/market - data transfer
  • lotus client
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Improvement Suggestion

while randomly going through some gas trace os PSD message, we realized that for some PSD message that including deals made with clients that's using bls wallet causes up to ~40% gas usage of PSDs to be verifyingsiguature, which can be significantly saved if the client uses secp256k1.

verifySignature: map[crypto.SigType]int64{
			crypto.SigTypeBLS:       16598605,
			crypto.SigTypeSecp256k1: 1637292,
		},

lotus sp should have an option to say they want to reject such deals so that they can decrease the cost of deal onboarding for clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2P2: Should be resolvedarea/marketsarea/uxArea: UXdif/mediumPrior development experience with Boost is likely helpfulkind/enhancementKind: Enhancement

    Type

    No type

    Projects

    Status

    No status

    Status

    Transfer to Boost

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions