Skip to content

Add ShieldedOutput::cmstar #10

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

nuttycom
Copy link
Contributor

It is useful to be able to obtain the parsed cmstar value in scanning, where this allows the Domain::ExtractedNoteCommitment type to inform the creation of wallet-specific note commitment tree leaf types.

daira and others added 2 commits June 11, 2025 13:31
…rate,

not `zcash_primitives`. fixes #7

Signed-off-by: Daira-Emma Hopwood <[email protected]>
This exposes the `ExtractedCommitment` of the shielded output directly,
in addition to the byte encoding exposed by `ShieldedOutput::cmstar_bytes`.
This is useful for further generalizing scanning code that constructs
note commitment tree leaves as part of its operation, allowing the
`Domain` bound to provide the necessary type information for conversion
into those leaf types.
@nuttycom nuttycom changed the title Add SheildedOutput::cmstar Add ShieldedOutput::cmstar Jun 11, 2025
@nuttycom nuttycom force-pushed the feature/shielded_output_cmstar branch from 8958425 to f32f895 Compare June 12, 2025 16:06
@nuttycom nuttycom force-pushed the feature/shielded_output_cmstar branch from eb0eaaf to 84e094c Compare June 17, 2025 18:29
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.

2 participants