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

ppl can sub to storage client evts #217

Merged
merged 2 commits into from
May 4, 2020

Conversation

shannonwells
Copy link
Contributor

Add pubSub/SubscribeToEvents to StorageDeal Client, similarly to StorageDeal Provider

Closes #213

@@ -139,7 +139,7 @@ func (tt TestIPLDTree) DumpToCar(out io.Writer, userOnNewCarBlocks ...car.OnNewC
node := ssb.ExploreRecursive(selector.RecursionLimitNone(), ssb.ExploreAll(ssb.ExploreRecursiveEdge())).Node()
ctx := context.Background()
sc := car.NewSelectiveCar(ctx, tt, []car.Dag{
car.Dag{
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the linter keeps changing this. I'm just gonna leave it.

@codecov-io
Copy link

Codecov Report

Merging #217 into master will decrease coverage by 0.71%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
- Coverage   66.76%   66.05%   -0.70%     
==========================================
  Files          40       40              
  Lines        2244     2268      +24     
==========================================
  Hits         1498     1498              
- Misses        635      659      +24     
  Partials      111      111              
Impacted Files Coverage Δ
storagemarket/impl/client.go 0.00% <0.00%> (ø)
storagemarket/impl/provider.go 5.83% <0.00%> (ø)
storagemarket/types.go 33.34% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e9a9cb...1048418. Read the comment docs.

@shannonwells shannonwells requested review from ingar and hannahhoward May 1, 2020 22:58
Copy link
Collaborator

@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

@shannonwells shannonwells merged commit 9476959 into master May 4, 2020
@shannonwells shannonwells deleted the feat/subscribe-storage-client-#213 branch May 18, 2020 22:15
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.

User of storage client can listen for events on deals
3 participants