ipld / ipld/rust-ipld-dagpb

Allow Data field before Link field

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently the `PBNode` encodes the `Link` field before the `Data` field. [IPIP-550](https://github.com/ipfs/specs/pull/550) allows to encode it in a different order.

This is kind of a placeholder issue. There are several ways it can be implemented for this library and it depends on how upstream users use it. So if anyone needs this to be implemented, please leave a comment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the PBNode encoding behavior described in the issue and the linked IPIP-550 proposal. The issue does not name files, tests, or a preferred implementation, so first determine how upstream users need the alternate field order supported. Done means the library can encode Data before Link in a way that matches the chosen upstream use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.