Skip to content

Commit

Permalink
pczt: Document fields required by our Signer implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Dec 18, 2024
1 parent 02d18ec commit 285d4b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pczt/src/roles/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ impl Signer {

/// Signs the Sapling spend at the given index with the given spend authorizing key.
///
/// Requires the spend's `proof_generation_key` field to be set (because the API does
/// not take an FVK).
///
/// It is the caller's responsibility to perform any semantic validity checks on the
/// PCZT (for example, comfirming that the change amounts are correct) before calling
/// this method.
Expand Down Expand Up @@ -179,6 +182,8 @@ impl Signer {

/// Signs the Orchard spend at the given index with the given spend authorizing key.
///
/// Requires the spend's `fvk` field to be set (because the API does not take an FVK).
///
/// It is the caller's responsibility to perform any semantic validity checks on the
/// PCZT (for example, comfirming that the change amounts are correct) before calling
/// this method.
Expand Down

0 comments on commit 285d4b8

Please sign in to comment.