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 PosInfo() method to blocks and merkeldag nodes. #3309

Closed
wants to merge 2 commits into from

Conversation

kevina
Copy link
Contributor

@kevina kevina commented Oct 16, 2016

@whyrusleeping, we discussed most of these changes earlier in #2634 (or the previous one #2600).

The changes are fairly small but I would like to get these in ASAP as it looks like the next set of CID chances (#3301 and #3307) will be touching related areas of code.

These changes are fundamental to the filestore and are thus tested extensively in #2634. I also created a simple test to make sure PosInfo() is being used.

@kevina kevina added the status/in-progress In progress label Oct 16, 2016
@kevina kevina mentioned this pull request Oct 16, 2016
6 tasks
@kevina kevina added need/review Needs a review status/ready Ready to be worked and removed status/in-progress In progress labels Oct 16, 2016
The PosInfo() method contains information on the original file the
block/node was created from.  It contains enough information to
recreate a leaf node's data from the file such as the filename and the
offset.  The PosInfo is set when building the DAG in the Balanced
builder.

License: MIT
Signed-off-by: Kevin Atkinson <[email protected]>
License: MIT
Signed-off-by: Kevin Atkinson <[email protected]>
@kevina
Copy link
Contributor Author

kevina commented Oct 18, 2016

Closing in favor of #3314.

@kevina kevina closed this Oct 18, 2016
@kevina kevina removed the status/ready Ready to be worked label Oct 18, 2016
@Kubuxu Kubuxu deleted the kevina/posinfo branch February 27, 2017 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/review Needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant