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

Improve offline deals #1515

Closed
wants to merge 2 commits into from
Closed

Improve offline deals #1515

wants to merge 2 commits into from

Conversation

arajasek
Copy link
Contributor

@arajasek arajasek commented Apr 6, 2020

With this, the offline deal workflow works.

Copy link
Contributor

@hannahhoward hannahhoward left a 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

@arajasek
Copy link
Contributor Author

arajasek commented Apr 6, 2020

Thanks to some suggestions from @hannahhoward , this is no longer needs a go-fil-markets update, and is thus no longer blocked by #183.

@@ -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"`
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

donesies :)

@arajasek arajasek closed this Apr 15, 2020
@arajasek arajasek deleted the asr/commp branch April 15, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants