From e919c5536aa57ce08018d9da3abf8dfaec084f32 Mon Sep 17 00:00:00 2001 From: Cekickafa <74456317+cekickafa@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:57:16 +0300 Subject: [PATCH 1/2] Update wallet-handbook.md Added rewind_hash and scan rewind sections --- docs/getting-started/wallet-handbook.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/getting-started/wallet-handbook.md b/docs/getting-started/wallet-handbook.md index 157fd76c..e05560d1 100644 --- a/docs/getting-started/wallet-handbook.md +++ b/docs/getting-started/wallet-handbook.md @@ -465,6 +465,26 @@ grin-wallet recover There are several global wallet arguments which you can provide for every command. + +### rewind_hash and scan rewind_hash + +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. + + + - get the rewind_hash of the wallet + + - scan of the rewind_hash of a third-party wallet +```text +get_rewind_hash: `grin-wallet rewind_hash` +``` + +```text +scan_rewind_hash: `grin-wallet scan_rewind_hash 2c95b24de492395934a8a345440ed0ebbe67ee0025b348712a927a91c7fe58e9` +``` + + ### account To set the account for a wallet command, provide the `-a` argument. From 701ed75ccc75b419bdd4cfd2d1a7c7da81b457ed Mon Sep 17 00:00:00 2001 From: Cekickafa <74456317+cekickafa@users.noreply.github.com> Date: Sat, 1 Feb 2025 20:42:02 +0300 Subject: [PATCH 2/2] Update wallet-handbook.md Explanations added to rewind_hash and scan rewind_hash --- docs/getting-started/wallet-handbook.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/wallet-handbook.md b/docs/getting-started/wallet-handbook.md index e05560d1..583e2fa9 100644 --- a/docs/getting-started/wallet-handbook.md +++ b/docs/getting-started/wallet-handbook.md @@ -468,9 +468,9 @@ There are several global wallet arguments which you can provide for every comman ### rewind_hash and scan rewind_hash -Ensure the transparency (spending, receiving, balance etc) of a wallet that receive grin as donations. +The rewind_hash command returns the hash of the wallets __root public key_. 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. +The scan_rewind_hash command makes the wallet scan the UTXO set and return the outputs and the total of grin owned by a view wallet rewind hash. Allow everyone to scan the rewind_hash of the wallet shared publicly. - get the rewind_hash of the wallet