Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

feat: make the CoreAPI expose a streaming pin interface #49

Merged
merged 3 commits into from
Feb 28, 2020

Conversation

MichaelMure
Copy link
Contributor

Replace #38

This PR expose a streamed pin/ls API.

tests/block.go Outdated
if err != nil {
return
t.Skip(err)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is problematic. Before this PR, the test was just terminating and didn't actually test anything.

With this workaround, running the test suite in go-ipfs produce block.go:230: failed to decode Protocol Buffers: incorrectly formatted merkledag node: unmarshal failed. proto: PBNode: wiretype end group for non-group.

I don't know what the root cause is.

Copy link
Member

Choose a reason for hiding this comment

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

We're putting a bad block...

@MichaelMure
Copy link
Contributor Author

cc @aschmahmann @Stebalien

@Stebalien
Copy link
Member

@MichaelMure that should fix your issue. Could you re-test?

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

This looks like the simplest solution.

@Stebalien
Copy link
Member

Originally this was blocked on releasing go-ipfs. However, I'm fine adding features to go-ipfs-http-client master and holding off on a release there until there's a go-ipfs release.

@Stebalien Stebalien mentioned this pull request Dec 9, 2019
@hsanjuan
Copy link
Contributor

@Stebalien can this be merged?

@Stebalien Stebalien merged commit 292d906 into ipfs:master Feb 28, 2020
@Stebalien
Copy link
Member

Thanks for bumping this.

@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
guseggert pushed a commit to ipfs/boxo that referenced this pull request Dec 6, 2022
feat: make the CoreAPI expose a streaming pin interface

This commit was moved from ipfs/interface-go-ipfs-core@292d906
guseggert pushed a commit to ipfs/boxo that referenced this pull request Mar 15, 2023
feat: make the CoreAPI expose a streaming pin interface

This commit was moved from ipfs/interface-go-ipfs-core@292d906
Jorropo pushed a commit to ipfs/go-libipfs-rapide that referenced this pull request Mar 23, 2023
feat: make the CoreAPI expose a streaming pin interface

This commit was moved from ipfs/interface-go-ipfs-core@292d906
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants