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

View Wallet - fn rewind_hash & scan_rewind_hash #632

Merged
merged 3 commits into from
Dec 14, 2021

Conversation

deevope
Copy link
Contributor

@deevope deevope commented Dec 13, 2021

Re-opening the PR here. (old #630)

Features (api&cmdline):

  • get the rewind_hash of the wallet
  • scan of the rewind_hash of a third-party wallet

Goal:
Ensure the transparency (spending, receiving, balance etc) of a wallet that receive grin as donations.
Allow everyone to scan the rewind_hash of the wallet shared publicly.

Cmd usage:
get_rewind_hash: grin-wallet rewind_hash
scan_rewind_hash: grin-wallet scan_rewind_hash 2c95b24de492395934a8a345440ed0ebbe67ee0025b348712a927a91c7fe58e9

@yeastplume --> Just a note for anyone watching, this PR just provides an API for the post 2.0.0 BP rewind scheme outlined and decided upon prior to the 2.0.0 hardfork here: #105. This just covers public view keys and obviously won't work with any outputs created prior to 2.0.0.

@yeastplume
Copy link
Member

Think we have some CI issues or issues with the tests themselves on master, going to check this

@yeastplume yeastplume merged commit d70423a into mimblewimble:master Dec 14, 2021
@deevope deevope deleted the view_wallet branch December 30, 2021 08:56
bayk added a commit to mwcproject/mwc-wallet that referenced this pull request Aug 2, 2024
bayk added a commit to mwcproject/mwc-wallet that referenced this pull request Aug 2, 2024
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