What changed, and why it matters
This commit simply makes two existing data types (FilterHash and FilterHeader) easier to import from the top level of the new 'p2p' crate. It is a straightforward API-compatibility cleanup after a crate split and does not change any behavior, logic, or security-sensitive code.
No security action needed. Treat as a normal API ergonomics/maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change adds re-exports in p2p/src/lib.rs so that FilterHash and FilterHeader are available from the crate root, matching the pre-split bitcoin 0.32.8 interface. The types are still defined in message_filter; only their public import path is broadened. No implementation code was modified.
Changed components
p2p/src/lib.rs public re-exportsInspect captured patch +4 / −1
diff --git a/p2p/src/lib.rs b/p2p/src/lib.rs
index 9ee838d2..60a45001 100644
--- a/p2p/src/lib.rs
+++ b/p2p/src/lib.rs
@@ -44,7 +44,10 @@ use network::{Network, TestnetVersion};
#[rustfmt::skip]
#[doc(inline)]
-pub use self::network_ext::NetworkExt;
+pub use self::{
+ message_filter::{FilterHash, FilterHeader},
+ network_ext::NetworkExt,
+};
#[cfg(feature = "std")]
#[rustfmt::skip]
Why this scored 20/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.