What changed, and why it matters
This commit only updates generated API text files to reflect that a Rust trait now requires an internal 'sealed' marker. It is a documentation or API-snapshot update with no code changes and no security relevance.
No action needed; this is a non-functional API snapshot update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates two API snapshot files (all-features.txt and alloc-only.txt) to show that the PushBytesErrorReport trait now has a supertrait bound on bitcoin_primitives::script::push_bytes::sealed::Sealed. This is a sealed-trait pattern change already captured in the actual source code; the commit merely regenerates the API text snapshots. No executable code is modified.
Changed components
primitives/api/all-features.txtprimitives/api/alloc-only.txtInspect captured patch +2 / −2
diff --git a/primitives/api/all-features.txt b/primitives/api/all-features.txt
index 4e640629..1742b522 100644
--- a/primitives/api/all-features.txt
+++ b/primitives/api/all-features.txt
@@ -4211,7 +4211,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::script::WitnessScriptSize
pub fn bitcoin_primitives::script::WitnessScriptSizeError::from(t: T) -> T [impl: impl<T> core::convert::From<T> for bitcoin_primitives::script::WitnessScriptSizeError]
pub const bitcoin_primitives::script::MAX_REDEEM_SCRIPT_SIZE: usize
pub const bitcoin_primitives::script::MAX_WITNESS_SCRIPT_SIZE: usize
-pub trait bitcoin_primitives::script::PushBytesErrorReport
+pub trait bitcoin_primitives::script::PushBytesErrorReport: bitcoin_primitives::script::push_bytes::sealed::Sealed
pub fn bitcoin_primitives::script::PushBytesErrorReport::input_len(&self) -> usize
impl bitcoin_primitives::script::PushBytesErrorReport for bitcoin_primitives::script::PushBytesError
pub fn bitcoin_primitives::script::PushBytesError::input_len(&self) -> usize [impl: impl bitcoin_primitives::script::PushBytesErrorReport for bitcoin_primitives::script::PushBytesError]
diff --git a/primitives/api/alloc-only.txt b/primitives/api/alloc-only.txt
index 7d3ca6fe..08ac79c7 100644
--- a/primitives/api/alloc-only.txt
+++ b/primitives/api/alloc-only.txt
@@ -4000,7 +4000,7 @@ impl<T> core::convert::From<T> for bitcoin_primitives::script::WitnessScriptSize
pub fn bitcoin_primitives::script::WitnessScriptSizeError::from(t: T) -> T [impl: impl<T> core::convert::From<T> for bitcoin_primitives::script::WitnessScriptSizeError]
pub const bitcoin_primitives::script::MAX_REDEEM_SCRIPT_SIZE: usize
pub const bitcoin_primitives::script::MAX_WITNESS_SCRIPT_SIZE: usize
-pub trait bitcoin_primitives::script::PushBytesErrorReport
+pub trait bitcoin_primitives::script::PushBytesErrorReport: bitcoin_primitives::script::push_bytes::sealed::Sealed
pub fn bitcoin_primitives::script::PushBytesErrorReport::input_len(&self) -> usize
impl bitcoin_primitives::script::PushBytesErrorReport for bitcoin_primitives::script::PushBytesError
pub fn bitcoin_primitives::script::PushBytesError::input_len(&self) -> usize [impl: impl bitcoin_primitives::script::PushBytesErrorReport for bitcoin_primitives::script::PushBytesError]
Why this scored 15/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.