Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(ipld): update ipld deps, only slurp LargeBytesNode when matching#433

Merged
rvagg merged 1 commit intomainipfs/go-graphsync:mainfrom
rvagg/ipld-and-traversal-updatesipfs/go-graphsync:rvagg/ipld-and-traversal-updatesCopy head branch name to clipboard
Aug 29, 2023
Merged

fix(ipld): update ipld deps, only slurp LargeBytesNode when matching#433
rvagg merged 1 commit intomainipfs/go-graphsync:mainfrom
rvagg/ipld-and-traversal-updatesipfs/go-graphsync:rvagg/ipld-and-traversal-updatesCopy head branch name to clipboard

Conversation

@rvagg
Copy link
Copy Markdown
Member

@rvagg rvagg commented Aug 17, 2023

Specifically this targets the new bytes range selector adjustments/fixes in go-ipld-prime. And, for trustless gateway traversals we're using matchers to identify exactly what we want to load, and for byte ranges we match a node that only reads bytes in the blocks of the range we care about. io.Copy(io.Discard, r) on non-matches is going to encounter the parent node of a file we're exploring to.

@rvagg rvagg requested a review from hannahhoward August 17, 2023 08:05
@rvagg rvagg force-pushed the rvagg/ipld-and-traversal-updates branch 3 times, most recently from 64b1abc to dccb6c2 Compare August 17, 2023 09:48
@rvagg rvagg force-pushed the rvagg/ipld-and-traversal-updates branch from dccb6c2 to 3e57fa9 Compare August 29, 2023 08:34
@rvagg rvagg merged commit 94b2566 into main Aug 29, 2023
@rvagg rvagg deleted the rvagg/ipld-and-traversal-updates branch August 29, 2023 22:11
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.