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:
    ACK fb29aadc47

Tree-SHA512: 8a2edaad858b18feded8cc9e1d15f03a76980bd41524fa34b91b4055b236788c6d828940c6293e086a8c8e33baadc5765a1a60920513fdff2de22e9d94c0e541
This commit is contained in:
merge-script 2025-03-26 15:06:55 +00:00
commit e77d6b3360
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 3 additions and 2 deletions

View File

@ -6,9 +6,11 @@
#[deprecated(since = "TBD", note = "use `crate::T` instead")]
pub use crate::{
BlockHash, FilterHash, FilterHeader, TxMerkleNode, Txid, WitnessCommitment, WitnessMerkleNode,
BlockHash, TxMerkleNode, Txid, WitnessCommitment, WitnessMerkleNode,
Wtxid,
};
#[deprecated(since = "TBD", note = "use `crate::T` instead")]
pub use crate::bip158::{FilterHash, FilterHeader};
#[cfg(test)]
mod tests {

View File

@ -143,7 +143,6 @@ pub use units::{
#[doc(inline)]
pub use crate::{
address::{Address, AddressType, KnownHrp},
bip158::{FilterHash, FilterHeader},
bip32::XKeyIdentifier,
crypto::ecdsa,
crypto::key::{self, CompressedPublicKey, PrivateKey, PublicKey, XOnlyPublicKey},