-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
DAGService 'recursive' methods #2262
Comments
Not @whyrusleeping, I think this should be deprecated, but
|
A reason the dag-scale (/ recursive node) operations should not be put into the merkledag spec is that because they have to inter-op with other dag-scale operations (e.g. pinning, gc, or ops in other libs that are using the merkledag). |
confirmed. AddRecursive should be removed wherever possible. We shouldnt rely on the 'node' pointer in the links for anything other than caching. it should not be used to build a tree |
these methods have been removed |
@whyrusleeping I've a memory of you mentioning that the 'recursive' versions of Add and Remove on the DAGService are deprecated and not used anymore, could you confirm?
https://github.com/ipfs/go-ipfs/blob/master/merkledag/merkledag.go#L71-L89
https://github.com/ipfs/go-ipfs/blob/master/merkledag/merkledag.go#L110-L130
The text was updated successfully, but these errors were encountered: