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

New fields for WriteMarker #467

Closed
Sriep opened this issue Dec 13, 2021 · 1 comment · Fixed by #659
Closed

New fields for WriteMarker #467

Sriep opened this issue Dec 13, 2021 · 1 comment · Fixed by #659
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers mainnet

Comments

@Sriep
Copy link
Contributor

Sriep commented Dec 13, 2021

The WriteMarker sent to 0chain as part of a commit_connection transaction should contain fields for the following information

LookUpHash
Name
ContentHash

This is because Explorer needs these fields, and will read them from the WriteMarker table in the Event database.

0chain/0chain#768
0chain/0chain#733 (comment)

@Sriep
Copy link
Contributor Author

Sriep commented Dec 20, 2021

WrtieMarkers need to be sent to 0chain when we add a new file, update a file, delete a file, copy or move a file, and rename a file.

Currently, deletes are sent as a negative size amount. I Will update as to if this is sufficient or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers mainnet
Projects
None yet
3 participants