Skip to content

Commit

Permalink
quicker derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed May 8, 2024
1 parent fddbe4a commit b2d55c3
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 259 deletions.
6 changes: 0 additions & 6 deletions app/rust/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,6 @@ pub const ZIP32_PURPOSE: u32 = 0x8000_0020;
pub const ZIP32_COIN_TYPE: u32 = 0x8000_0085;
pub const ZIP32_HARDENED: u32 = 0x8000_0000;

/// ZIP32 Child components
pub enum Zip32ChildComponents {
FullViewingKey,
AskNskDk,
}

/////////////////////////////////////////////////
/////////////////////////////////////////////////
/////////////////////////////////////////////////
Expand Down
3 changes: 2 additions & 1 deletion app/rust/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ create_ztruct! {
}

create_ztruct! {
pub struct SaplingAskNskDk {
pub struct SaplingAskNskDkOvk {
pub ask: AskBytes,
pub nsk: NskBytes,
pub dk: DkBytes,
pub ovk: OvkBytes,
}
}

0 comments on commit b2d55c3

Please sign in to comment.