Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pczt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ workspace.

## [Unreleased]

### Added
- `pczt::roles::signer::Signer::shielded_sighash` getter.

## [0.4.1, 0.5.1] - 2026-02-26

### Fixed
Expand Down
8 changes: 8 additions & 0 deletions pczt/src/roles/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ impl Signer {
})
}

/// Returns the shielded (Orchard + Sapling) sighash.
///
/// This can be used to produce signatures externally (e.g. via a
/// hardware wallet) for authorizing shielded spends.
pub fn shielded_sighash(&self) -> [u8; 32] {
self.shielded_sighash
}

/// Signs the transparent spend at the given index with the given spending key.
///
/// It is the caller's responsibility to perform any semantic validity checks on the
Expand Down
Loading