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

add some helpers for creating new CIDs #52

Closed
wants to merge 1 commit into from
Closed

Conversation

Stebalien
Copy link
Member

Unlike Prefix, we can extend continue to extend this helper as the options grow.

Unlike Prefix, we can extend continue to extend this helper as the options grow.
@ghost ghost assigned Stebalien Jun 28, 2018
@ghost ghost added the status/in-progress In progress label Jun 28, 2018
@Stebalien Stebalien requested a review from kevina June 28, 2018 03:37
inlineMax int
}

// TODO: detect bad formats? Probably not worth it. We catch them on Sum anyways.
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO

}
}

// TODO: Split length and hash?
Copy link
Member Author

Choose a reason for hiding this comment

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

(discuss)

mh "github.com/multiformats/go-multihash"
)

// TODO: Move these to the correct go-ipld-* crates?
Copy link
Member Author

Choose a reason for hiding this comment

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

(discuss)

}

// TODO: Do we actually want this or should users always extend Format
// That is, DagCBORFormat.With(OptHash(...))
Copy link
Member Author

Choose a reason for hiding this comment

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

(discuss)

@kevina
Copy link
Contributor

kevina commented Jun 28, 2018

@Stebalien what I had in mind was something a little simpler but more extensible I will create a new p.r. with what I had in mind.

@Stebalien
Copy link
Member Author

Closing in favor of #53.

@Stebalien Stebalien closed this Jun 29, 2018
@ghost ghost removed the status/in-progress In progress label Jun 29, 2018
@Stebalien Stebalien deleted the feat/format branch June 29, 2018 02:42
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