Skip to content

IPLD refactor #108

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

Merged
merged 1 commit into from
Feb 26, 2020
Merged

IPLD refactor #108

merged 1 commit into from
Feb 26, 2020

Conversation

sergkaprovich
Copy link
Contributor

@sergkaprovich sergkaprovich commented Feb 21, 2020

Attention

Major part of the files changed was already reviewed previously by Pull #77 - here is just moving parts of this files to another namespaces/locations

New files needed to review:

  1. core/storage/ipld/impl/ipld_block_impl.cpp
  2. core/storage/ipld/impl/ipld_block_impl.hpp

Description of the Change

  • IPLD block (various data structure with CID) was moved from IPFS Node to standalone entity
  • storage::ipfs::Node moved to `storage::ipld::IPLDNode"
  • storage::ipfs::Link moved to `storage::ipld::IPLDLink"

Benefits

Standalone implementation of the IPLD block, which can be re-used in future (in plans: TxMeta structures, IPLD selectors and so on...)
Splitting IPFS and IPLD notions according data structures

Possible Drawbacks

None

@sergkaprovich sergkaprovich force-pushed the feature/ipld-refactor branch 2 times, most recently from 6fddd68 to 507af8b Compare February 21, 2020 14:13
@sergkaprovich sergkaprovich marked this pull request as ready for review February 21, 2020 14:34
Copy link
Member

@igor-egorov igor-egorov left a comment

Choose a reason for hiding this comment

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

Please check #114 before merging. Otherwise, it may introduce a lot of inconsistency in targets' naming, way of protobuf compiling, etc.

@sergkaprovich sergkaprovich merged commit 7284eae into master Feb 26, 2020
@sergkaprovich sergkaprovich deleted the feature/ipld-refactor branch February 26, 2020 10:28
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.

3 participants