getrawtransaction RPC docs result example only includes transparent #114

Open
opened 2 years ago by duke · 3 comments
duke commented 2 years ago
Owner

https://faq.hush.is/rpc/getrawtransaction.html

Our RPC docs do not show what it looks like when a zaddr is involved in a tx

https://faq.hush.is/rpc/getrawtransaction.html Our RPC docs do not show what it looks like when a zaddr is involved in a tx
duke changed title from getrawtransaction result example only includes transparent to getrawtransaction RPC docs result example only includes transparent 2 years ago
Collaborator

Is this issue related to this other issue #118?

Is this issue related to this other issue https://git.hush.is/hush/hush3/issues/118?
Poster
Owner

@jahway603 it's different. This issue is to show some example output from a transaction that has zaddrs involved, to show the structure of the JSON. Currently the docs only show the JSON output for transactions involving only taddrs

@jahway603 it's different. This issue is to show some example output from a transaction that has zaddrs involved, to show the structure of the JSON. Currently the docs only show the JSON output for transactions involving only taddrs
Poster
Owner

@jahway603 also a word of warning, you don't want to show real data from a ztx you own in the docs, that is not public data. We want to show what JSON keys are returned, and what the data looks like, but we should jumble the actual data so as to not leak real metadata. Another way to do it would be to make a new HSC for testing, make a ztx on that, and then you can put the exact data without worrying about metadata leakage. The first way is probably less work.

@jahway603 also a word of warning, you don't want to show real data from a ztx you own in the docs, that is not public data. We want to show what JSON keys are returned, and what the data looks like, but we should jumble the actual data so as to not leak real metadata. Another way to do it would be to make a new HSC for testing, make a ztx on that, and then you can put the exact data without worrying about metadata leakage. The first way is probably less work.
duke added the
documentation
label 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.