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

Breadth-first on non-unixfs? #90

Open
rvagg opened this issue Aug 28, 2023 · 1 comment
Open

Breadth-first on non-unixfs? #90

rvagg opened this issue Aug 28, 2023 · 1 comment

Comments

@rvagg
Copy link

rvagg commented Aug 28, 2023

Getting the DAG from bafyreidlb5gb3b4znxiuej4d7sq43jho7f2ce2nndjyodyjdjurceucury, a dag-cbor block, contains 2 links, a dag-pb and a raw, the dag-pb, which comes first, has its own raw link inside it. So we have a DAG that would look like this if traversed depth-first:

  • bafyreidlb5gb3b4znxiuej4d7sq43jho7f2ce2nndjyodyjdjurceucury
  • bafybeicm7gsdx2r4gw7z2ianrmzacg56wlzxmxgnoid3c4i6fvoa7q32gm
    • bafkreig6bgsnqftpbgu5fxtldpvyefp3txolqexycpaycjzyt5icxdwiyu
  • bafkreicov54q3zgpjx5w7y3bo2bd2bcnkytwtfh26i3mk4c6zacaeqa4km

But instead, from freeway we get what looks like breadth-first:

  • bafyreidlb5gb3b4znxiuej4d7sq43jho7f2ce2nndjyodyjdjurceucury
  • bafybeicm7gsdx2r4gw7z2ianrmzacg56wlzxmxgnoid3c4i6fvoa7q32gm
  • bafkreicov54q3zgpjx5w7y3bo2bd2bcnkytwtfh26i3mk4c6zacaeqa4km
  • bafkreig6bgsnqftpbgu5fxtldpvyefp3txolqexycpaycjzyt5icxdwiyu
@rvagg
Copy link
Author

rvagg commented Aug 28, 2023

Some more, this looks like a standard nft packing with image/file and metadata.json from the root. I have ~20 in the last 6 hours so this is regular enough to keep on showing up with a variety of CIDs.

  • bafyreiei2nzhlnk32rqtszxuz6muoxffau3y56zvqm4x4xlt2eme23bqru
  • bafyreida27uilsmzxsa2w7i5ahrrsszq5yxfgwrcplbrjy5f7almaxb2ci
  • bafyreid3ck2jorn4m7lsh25h6xb2wbo5no2f7nb3uxu2kuzp3jvez3rhda

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

No branches or pull requests

1 participant