Merge rust-bitcoin/rust-bitcoin#4166: Remove bip158 types from crate root
fb29aadc47
Remove bip158 types from crate root (Tobin C. Harding) Pull request description: BIP-158 (Compact Block Filters for Light Clients) is not so common as to require re-exorting its types at the crate root - remove them. ACKs for top commit: apoelstra: ACK fb29aadc47367ba8579f0004e97cd1fd7fd8236f; successfully ran local tests Kixunil: ACKfb29aadc47
Tree-SHA512: 8a2edaad858b18feded8cc9e1d15f03a76980bd41524fa34b91b4055b236788c6d828940c6293e086a8c8e33baadc5765a1a60920513fdff2de22e9d94c0e541
This commit is contained in:
commit
e77d6b3360
|
@ -6,9 +6,11 @@
|
||||||
|
|
||||||
#[deprecated(since = "TBD", note = "use `crate::T` instead")]
|
#[deprecated(since = "TBD", note = "use `crate::T` instead")]
|
||||||
pub use crate::{
|
pub use crate::{
|
||||||
BlockHash, FilterHash, FilterHeader, TxMerkleNode, Txid, WitnessCommitment, WitnessMerkleNode,
|
BlockHash, TxMerkleNode, Txid, WitnessCommitment, WitnessMerkleNode,
|
||||||
Wtxid,
|
Wtxid,
|
||||||
};
|
};
|
||||||
|
#[deprecated(since = "TBD", note = "use `crate::T` instead")]
|
||||||
|
pub use crate::bip158::{FilterHash, FilterHeader};
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
|
@ -143,7 +143,6 @@ pub use units::{
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use crate::{
|
pub use crate::{
|
||||||
address::{Address, AddressType, KnownHrp},
|
address::{Address, AddressType, KnownHrp},
|
||||||
bip158::{FilterHash, FilterHeader},
|
|
||||||
bip32::XKeyIdentifier,
|
bip32::XKeyIdentifier,
|
||||||
crypto::ecdsa,
|
crypto::ecdsa,
|
||||||
crypto::key::{self, CompressedPublicKey, PrivateKey, PublicKey, XOnlyPublicKey},
|
crypto::key::{self, CompressedPublicKey, PrivateKey, PublicKey, XOnlyPublicKey},
|
||||||
|
|
Loading…
Reference in New Issue