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 provenance tracking by sender address to SpendableNoteRecord. #3569

Closed
wants to merge 3 commits into from

Conversation

hdevalence
Copy link
Member

This changes the view service protos to include an optional return_address for each note. This allows showing the provenance of individual notes.

Also included is a terrifically ugly fix for #3568.

This currently doesn't populate the data, it just makes it available in the
protos.  There's some work to be done on the Rust view server and in the web
extension to populate this proto field with meaningful data.
@@ -1683,7 +1691,7 @@ impl Storage {
spendable_notes.position
FROM notes
JOIN spendable_notes ON notes.note_commitment = spendable_notes.note_commitment
JOIN tx ON spendable_notes.source = tx.tx_hash
JOIN tx ON SUBSTR(spendable_notes.source, 5) = tx.tx_hash
Copy link
Contributor

Choose a reason for hiding this comment

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

:(

@aubrika aubrika mentioned this pull request Jan 12, 2024
@aubrika
Copy link
Contributor

aubrika commented Jan 23, 2024

Superseded by #3604

@aubrika aubrika closed this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants