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
Index Provider integration #313
Conversation
} | ||
} | ||
|
||
func (w *Wrapper) IndexerAnnounceAllDeals(ctx context.Context) error { |
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.
Would it make sense for this method to announce all Boost and legacy markets deals?
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.
We can do it or we can do it as we're currently doing it. I don't have a strong preference.
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.
Where possible I'd prefer to keep knowledge of the two different data sources inside the wrapper, rather than leaking it into the CLI layer
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.
Man, moving all that markets code here (which has intimate knowledge of various market states and what they mean) will add mantainence burden here and is something I'd like to avoid if possible. Remember, the plan is to eventually deprecate markets.
Subsumbed by #319 |
Should be able to announce indices and serve indices for Boost deals and legacy markets deals.
Markets PR at filecoin-project/go-fil-markets#691.
TODO
AnnounceAllDeals
CLI on Sofia Miner.