-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve offline deals #1515
Improve offline deals #1515
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM by me pending 183 merging
Thanks to some suggestions from @hannahhoward , this is no longer needs a go-fil-markets update, and is thus no longer blocked by #183. |
api/apistruct/struct.go
Outdated
@@ -111,6 +111,8 @@ type FullNodeStruct struct { | |||
ClientListDeals func(ctx context.Context) ([]api.DealInfo, error) `perm:"write"` | |||
ClientRetrieve func(ctx context.Context, order api.RetrievalOrder, ref api.FileRef) error `perm:"admin"` | |||
ClientQueryAsk func(ctx context.Context, p peer.ID, miner address.Address) (*storagemarket.SignedStorageAsk, error) `perm:"read"` | |||
ClientCalcCommP func(ctx context.Context, path string, miner address.Address) (*api.CommPRet, error) `perm:"read"` | |||
ClientGenCar func(ctx context.Context, ref api.FileRef, path string) error `perm:"write"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this an out path? maybe name it 'out' or 'outpath' if so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
donesies :)
With this, the offline deal workflow works.