Skip to content

Commit

Permalink
Remove bip32
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Sep 26, 2024
1 parent 8158b9f commit 543f6fb
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 168 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hd-wallet"
version = "0.5.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "HD deteministic wallets derivation, supports BIP32, SLIP10, and other standards"
description = "HD deteministic wallets derivation"
repository = "https://github.com/dfns/slip-10"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
29 changes: 0 additions & 29 deletions src/bip32.rs

This file was deleted.

12 changes: 0 additions & 12 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,3 @@ impl std::error::Error for ParseChildIndexError {
}
}
}

/// Error indicating that HD derivation is not defined for given parent key and child path
///
/// This error may occur in [Bip32](crate::Bip32) derivation, only with negligible probability
#[derive(Debug)]
pub struct UndefinedChildKey;

impl fmt::Display for UndefinedChildKey {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("child key is not defined for given parent key and child path")
}
}
Loading

0 comments on commit 543f6fb

Please sign in to comment.