Making old ECDSA key type paths depeicated
This commit is contained in:
parent
664b09cdfd
commit
230813b578
|
@ -85,10 +85,15 @@ pub use util::address::AddressType;
|
||||||
pub use util::amount::Amount;
|
pub use util::amount::Amount;
|
||||||
pub use util::amount::Denomination;
|
pub use util::amount::Denomination;
|
||||||
pub use util::amount::SignedAmount;
|
pub use util::amount::SignedAmount;
|
||||||
pub use util::ecdsa::PrivateKey;
|
|
||||||
pub use util::ecdsa::PublicKey;
|
|
||||||
pub use util::merkleblock::MerkleBlock;
|
pub use util::merkleblock::MerkleBlock;
|
||||||
|
|
||||||
|
pub use util::ecdsa;
|
||||||
|
pub use util::schnorr;
|
||||||
|
#[deprecated(since = "0.26.1", note = "Please use `ecdsa::PrivateKey` instead")]
|
||||||
|
pub use util::ecdsa::PrivateKey;
|
||||||
|
#[deprecated(since = "0.26.1", note = "Please use `ecdsa::PublicKey` instead")]
|
||||||
|
pub use util::ecdsa::PublicKey;
|
||||||
|
|
||||||
#[cfg(all(test, feature = "unstable"))] use tests::EmptyWrite;
|
#[cfg(all(test, feature = "unstable"))] use tests::EmptyWrite;
|
||||||
|
|
||||||
#[cfg(all(test, feature = "unstable"))]
|
#[cfg(all(test, feature = "unstable"))]
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
//! Keys used in Bitcoin that can be roundtrip (de)serialized.
|
//! Keys used in Bitcoin that can be roundtrip (de)serialized.
|
||||||
//!
|
//!
|
||||||
|
|
||||||
|
#[deprecated(since = "0.26.1", note = "Please use `util::ecdsa` instead")]
|
||||||
pub use util::ecdsa::{PrivateKey, PublicKey};
|
pub use util::ecdsa::{PrivateKey, PublicKey};
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
Loading…
Reference in New Issue