-
Notifications
You must be signed in to change notification settings - Fork 111
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
Document how to run and query the results of the blockchain scanning MVP #8046
Comments
Before we do the instructions, let's decide if #8048 is a blocker for the MVP? If we put secret keys in the existing config file, we might need to change its permissions, but that is a breaking change if someone has deliberately made their file group or world (all users) readable. |
So far I think there are two ways to read the file:
|
Hey team! Please add your planning poker estimate with Zenhub @arya2 @oxarbitrage @teor2345 @upbqdn |
In the Zebra sprint planning we decided on |
Here's some experiments with the zecpages key: Showing all the transactions: ldb --try_load_options --db="$HOME/.cache/zebra-custom/private-scan/v1/mainnet" --secondary_path= --column_family=sapling_tx_ids --hex scan
...
0x7A78766965777331713064757974676371717171707172653236776B6C343567767777776437303678773630386875636D7666616C72373539656A7766377173686A663572396161373332337A756C767A36706C68747470356D6C747163677339743033396378326430396D67713035747336336E387533356879763668396E633963747171747565327537636572326D716567756E75756C71326C7568713379776A637A333579796C6A657761346D676B676A7A79667768366672366A6430647A64343467686B306E78647632686E76346A356E7866777632347277646D676C6C68653070383536387367717439636B74303276326B786635616874716C3673306C746A706B636B77386774796D787478757539676372307377767A1B6CF50001 : 0x79986D7CE609A4369F6FDABAF86274863155DCADF84DD9D2CAA71B66505E8492
0x7A78766965777331713064757974676371717171707172653236776B6C343567767777776437303678773630386875636D7666616C72373539656A7766377173686A663572396161373332337A756C767A36706C68747470356D6C747163677339743033396378326430396D67713035747336336E387533356879763668396E633963747171747565327537636572326D716567756E75756C71326C7568713379776A637A333579796C6A657761346D676B676A7A79667768366672366A6430647A64343467686B306E78647632686E76346A356E7866777632347277646D676C6C68653070383536387367717439636B74303276326B786635616874716C3673306C746A706B636B77386774796D787478757539676372307377767A1B6FC50004 : 0x06639CCF024275A6B3244B5860AFA7EFF2791EF9CD91762C71A9150CB0475E85 Transaction 79986D7CE609A4369F6FDABAF86274863155DCADF84DD9D2CAA71B66505E8492 is a Sapling transaction at index 1 in block 1797365. This matches the transaction location
https://zcashblockexplorer.com/transactions/79986D7CE609A4369F6FDABAF86274863155DCADF84DD9D2CAA71B66505E8492 Similarly for the next entry: Other arguments we might want:
SecurityThe keys are listed in the database output, so our examples should remove them and not show them in the terminal. |
These appear to correspond to these two zecpages posts: After accounting for timezones, the zecpages server appears to be showing times that are 6-10 minutes later than the block times. |
The incomplete draft document is here: |
I can't see this in the zebra book yet, when does this get published? |
It should be deployed every time we edit the docs, for example here is the job for the release changes: Which are in the book: So maybe there's some issue with deploying new files, or we need to link to the new md file from somewhere. Let's see if PR #8095 fixes it. |
Yes, that works, seems like there needs to be a link to the doc for it to publish. |
I think we need to expand on the instructions in the zebra book quite a bit (https://zebra.zfnd.org/user/shielded-scan.html), e.g
This issue also includes writing a blog post using the ZecPages viewing key as a case study with the same set of instructions. |
I made all the above in #8114 except for the blog post, which i think i was changed to a forum post. We can track that somewhere else. |
Motivation
We want a "naive" zebra user to be able to use
zebra-scan
to query the Zcash blockchain with a viewing key and get a list of the transactions related with itScope
The documentation should provide details of:
zebra-scan
feature enabledIt would be nice if we could also post the same instructions to the blog and include screenshots and examples, e.g using the ZECPages viewing key.
The incomplete draft document is here:
https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/shielded-scan.md
The text was updated successfully, but these errors were encountered: