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

chain: record NoteSources in CompactBlocks #1172

Merged
merged 2 commits into from Jul 16, 2022

Conversation

hdevalence
Copy link
Member

This will allow a client to determine the provenance of a note they detect,
which might or might not have been created by a particular transaction. Without
this data, it's difficult for a client to determine the source of the notes
they detect, even if they download a full block, because some notes are created
as a result of chain-wide logic, rather than any particular transaction in the
block.

This commit does not yet add this information into the NoteRecords in the
view service, but that's the next step.

This will allow a client to determine the provenance of a note they detect,
which might or might not have been created by a particular transaction. Without
this data, it's difficult for a client to determine the source of the notes
they detect, even if they download a full block, because some notes are created
as a result of chain-wide logic, rather than any particular transaction in the
block.

This commit does not yet add this information into the `NoteRecord`s in the
view service, but that's the next step.
@hdevalence hdevalence temporarily deployed to smoke-test July 15, 2022 23:35 Inactive
@hdevalence hdevalence temporarily deployed to smoke-test July 15, 2022 23:59 Inactive
@hdevalence hdevalence force-pushed the note-source-in-compact-block branch from 9c8beaf to 5c20483 Compare July 16, 2022 00:14
@hdevalence hdevalence temporarily deployed to smoke-test July 16, 2022 00:14 Inactive
@hdevalence hdevalence force-pushed the note-source-in-compact-block branch from 5c20483 to 7e99c42 Compare July 16, 2022 00:24
@hdevalence hdevalence temporarily deployed to smoke-test July 16, 2022 00:24 Inactive
Co-Authored-By: Aubrey Dyer <aubrey@penumbra.zone>
@hdevalence hdevalence force-pushed the note-source-in-compact-block branch from 7e99c42 to 4c64591 Compare July 16, 2022 01:06
@hdevalence hdevalence temporarily deployed to smoke-test July 16, 2022 01:06 Inactive
@hdevalence hdevalence merged commit 98d4430 into main Jul 16, 2022
@hdevalence hdevalence deleted the note-source-in-compact-block branch July 16, 2022 04:22
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.

None yet

1 participant