Move bip32 module to crate root
We are attempting to flatten the `util` module; move the `bip32` module to the crate root out of `util`. Currently `src/util/` is ignored by the formatter, this patch does not do formatting, will be done later.
This commit is contained in:
parent
aeacbe763d
commit
34113c9558
|
@ -1118,6 +1118,7 @@ mod tests {
|
|||
pub fn encode_fingerprint_chaincode() {
|
||||
use serde_json;
|
||||
let fp = Fingerprint::from(&[1u8,2,3,42][..]);
|
||||
#[rustfmt::skip]
|
||||
let cc = ChainCode::from(
|
||||
&[1u8,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2][..]
|
||||
);
|
|
@ -81,6 +81,7 @@ mod serde_utils;
|
|||
pub mod network;
|
||||
pub mod address;
|
||||
pub mod bip158;
|
||||
pub mod bip32;
|
||||
pub mod blockdata;
|
||||
pub mod consensus;
|
||||
pub mod error;
|
||||
|
|
|
@ -11,7 +11,6 @@ pub mod ecdsa;
|
|||
pub mod schnorr;
|
||||
pub mod amount;
|
||||
pub mod base58;
|
||||
pub mod bip32;
|
||||
pub mod bip152;
|
||||
pub mod hash;
|
||||
pub mod merkleblock;
|
||||
|
@ -117,5 +116,8 @@ pub mod address {
|
|||
pub use crate::address::*;
|
||||
}
|
||||
|
||||
#[deprecated(since = "0.30.0", note = "Please use crate::bip32")]
|
||||
pub use crate::bip32;
|
||||
|
||||
#[deprecated(since = "0.30.0", note = "Please use crate::bip158")]
|
||||
pub use crate::bip158;
|
||||
|
|
Loading…
Reference in New Issue