You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a provider, I want to reject a storage deal at the time it's proposed if VerifiedDeal is requested but the client is not verified or has exceeded it's data cap.
Steps:
Add method to StorageProviderNode - `GetDataCap(ctx context.Context, address.Address, tok shared.TipSetKey) (verifreg.DataCap, error)
When validating a deal proposal in the provider:
if VerifiedDeal = true on deal proposal
Call GetDataCap method with client address
if err != nil, reject deal (most likely client not verified)
if DataCap < deal piecesize, reject deal
The text was updated successfully, but these errors were encountered:
As a provider, I want to reject a storage deal at the time it's proposed if VerifiedDeal is requested but the client is not verified or has exceeded it's data cap.
Steps:
The text was updated successfully, but these errors were encountered: