api: update for CompactSizeU64Decoder
What changed, and why it matters
This commit only updates generated API snapshot files (text listings of public types and functions) to reflect a new CompactSizeU64Decoder type and a moved CompactSizeEncoder module path. No actual source code, logic, or behavior changes are present in the diff, so it has no security relevance on its own.
No security action needed; treat as routine API-snapshot maintenance. Review the corresponding implementation commit(s) that introduced CompactSizeU64Decoder if assessing actual security impact.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is limited to api/*.txt files produced by cargo public-api or a similar tool. It adds trait impl listings and type signatures for bitcoin_consensus_encoding::CompactSizeU64Decoder, a new_u64 constructor on CompactSizeEncoder, and updates the path of CompactSizeEncoder from encode::encoders::CompactSizeEncoder to compact_size::CompactSizeEncoder in bitcoin_primitives::block::Block<V>::Encoder type aliases. These are documentation/snapshot changes only; no implementation, parsing, or validation logic is modified.
Changed components
api/consensus_encoding/all-features.txtapi/consensus_encoding/alloc-only.txtapi/consensus_encoding/no-features.txtapi/primitives/all-features.txtapi/primitives/alloc-only.txtInspect captured patch +71 / −2
diff --git a/api/consensus_encoding/all-features.txt b/api/consensus_encoding/all-features.txt
index cbff19ad..55204ae7 100644
--- a/api/consensus_encoding/all-features.txt
+++ b/api/consensus_encoding/all-features.txt
@@ -1,8 +1,10 @@
impl bitcoin_consensus_encoding::ByteVecDecoder
impl bitcoin_consensus_encoding::CompactSizeDecoder
impl bitcoin_consensus_encoding::CompactSizeEncoder
+impl bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVecDecoder
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
+impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
@@ -11,6 +13,7 @@ impl core::clone::Clone for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::clone::Clone for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::clone::Clone for bitcoin_consensus_encoding::UnexpectedEofError
impl core::cmp::Eq for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -24,6 +27,7 @@ impl core::cmp::PartialEq for bitcoin_consensus_encoding::UnexpectedEofError
impl core::convert::From<core::convert::Infallible> for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::default::Default for bitcoin_consensus_encoding::ByteVecDecoder
impl core::default::Default for bitcoin_consensus_encoding::CompactSizeDecoder
+impl core::default::Default for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::error::Error for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::error::Error for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::error::Error for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
@@ -33,6 +37,7 @@ impl core::fmt::Debug for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::fmt::Debug for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::fmt::Debug for bitcoin_consensus_encoding::UnexpectedEofError
impl core::fmt::Display for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -44,6 +49,7 @@ impl core::marker::Freeze for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Freeze for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Freeze for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Send for bitcoin_consensus_encoding::ByteVecDecoder
@@ -51,6 +57,7 @@ impl core::marker::Send for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Send for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Send for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -62,6 +69,7 @@ impl core::marker::Sync for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Sync for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Sync for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Unpin for bitcoin_consensus_encoding::ByteVecDecoder
@@ -69,6 +77,7 @@ impl core::marker::Unpin for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Unpin for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Unpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::ByteVecDecoder
@@ -76,6 +85,7 @@ impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::ByteVecDecoderErr
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::ByteVecDecoder
@@ -83,6 +93,7 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::Byt
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::ByteVecDecoder
@@ -90,6 +101,7 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::ByteVe
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
@@ -386,6 +398,7 @@ pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefi
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new() -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new_with_limit(limit: usize) -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value: usize) -> usize
+pub const fn bitcoin_consensus_encoding::CompactSizeU64Decoder::new() -> Self
pub const fn bitcoin_consensus_encoding::Decoder2<A, B>::new(first: A, second: B) -> Self
pub const fn bitcoin_consensus_encoding::Decoder3<A, B, C>::new(dec_1: A, dec_2: B, dec_3: C) -> Self
pub const fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::new(dec_1: A, dec_2: B, dec_3: C, dec_4: D) -> Self
@@ -449,6 +462,13 @@ pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::default() -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
pub fn bitcoin_consensus_encoding::DecodeError<Err>::clone(&self) -> bitcoin_consensus_encoding::DecodeError<Err>
pub fn bitcoin_consensus_encoding::DecodeError<Err>::eq(&self, other: &bitcoin_consensus_encoding::DecodeError<Err>) -> bool
@@ -567,6 +587,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
pub struct bitcoin_consensus_encoding::CompactSizeDecoder
pub struct bitcoin_consensus_encoding::CompactSizeDecoderError(_)
pub struct bitcoin_consensus_encoding::CompactSizeEncoder
+pub struct bitcoin_consensus_encoding::CompactSizeU64Decoder
pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
@@ -592,6 +613,8 @@ pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_e
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
diff --git a/api/consensus_encoding/alloc-only.txt b/api/consensus_encoding/alloc-only.txt
index 022651f1..78b8ec2e 100644
--- a/api/consensus_encoding/alloc-only.txt
+++ b/api/consensus_encoding/alloc-only.txt
@@ -1,8 +1,10 @@
impl bitcoin_consensus_encoding::ByteVecDecoder
impl bitcoin_consensus_encoding::CompactSizeDecoder
impl bitcoin_consensus_encoding::CompactSizeEncoder
+impl bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::ByteVecDecoder
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
+impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
@@ -11,6 +13,7 @@ impl core::clone::Clone for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::clone::Clone for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::clone::Clone for bitcoin_consensus_encoding::UnexpectedEofError
impl core::cmp::Eq for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -24,11 +27,13 @@ impl core::cmp::PartialEq for bitcoin_consensus_encoding::UnexpectedEofError
impl core::convert::From<core::convert::Infallible> for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::default::Default for bitcoin_consensus_encoding::ByteVecDecoder
impl core::default::Default for bitcoin_consensus_encoding::CompactSizeDecoder
+impl core::default::Default for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::fmt::Debug for bitcoin_consensus_encoding::ByteVecDecoder
impl core::fmt::Debug for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::fmt::Debug for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::fmt::Debug for bitcoin_consensus_encoding::UnexpectedEofError
impl core::fmt::Display for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -40,6 +45,7 @@ impl core::marker::Freeze for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Freeze for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Freeze for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Send for bitcoin_consensus_encoding::ByteVecDecoder
@@ -47,6 +53,7 @@ impl core::marker::Send for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Send for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Send for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::ByteVecDecoderError
@@ -58,6 +65,7 @@ impl core::marker::Sync for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Sync for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Sync for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Unpin for bitcoin_consensus_encoding::ByteVecDecoder
@@ -65,6 +73,7 @@ impl core::marker::Unpin for bitcoin_consensus_encoding::ByteVecDecoderError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Unpin for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::Unpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::ByteVecDecoder
@@ -72,6 +81,7 @@ impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::ByteVecDecoderErr
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::ByteVecDecoder
@@ -79,6 +89,7 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::Byt
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::ByteVecDecoder
@@ -86,6 +97,7 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::ByteVe
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
@@ -363,6 +375,7 @@ pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefi
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new() -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new_with_limit(limit: usize) -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value: usize) -> usize
+pub const fn bitcoin_consensus_encoding::CompactSizeU64Decoder::new() -> Self
pub const fn bitcoin_consensus_encoding::Decoder2<A, B>::new(first: A, second: B) -> Self
pub const fn bitcoin_consensus_encoding::Decoder3<A, B, C>::new(dec_1: A, dec_2: B, dec_3: C) -> Self
pub const fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::new(dec_1: A, dec_2: B, dec_3: C, dec_4: D) -> Self
@@ -423,6 +436,13 @@ pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::default() -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
pub fn bitcoin_consensus_encoding::DecodeError<Err>::clone(&self) -> bitcoin_consensus_encoding::DecodeError<Err>
pub fn bitcoin_consensus_encoding::DecodeError<Err>::eq(&self, other: &bitcoin_consensus_encoding::DecodeError<Err>) -> bool
@@ -527,6 +547,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
pub struct bitcoin_consensus_encoding::CompactSizeDecoder
pub struct bitcoin_consensus_encoding::CompactSizeDecoderError(_)
pub struct bitcoin_consensus_encoding::CompactSizeEncoder
+pub struct bitcoin_consensus_encoding::CompactSizeU64Decoder
pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
@@ -552,6 +573,8 @@ pub type bitcoin_consensus_encoding::ByteVecDecoder::Error = bitcoin_consensus_e
pub type bitcoin_consensus_encoding::ByteVecDecoder::Output = alloc::vec::Vec<u8>
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
diff --git a/api/consensus_encoding/no-features.txt b/api/consensus_encoding/no-features.txt
index 0bea4d74..cae4794e 100644
--- a/api/consensus_encoding/no-features.txt
+++ b/api/consensus_encoding/no-features.txt
@@ -1,53 +1,65 @@
impl bitcoin_consensus_encoding::CompactSizeDecoder
impl bitcoin_consensus_encoding::CompactSizeEncoder
+impl bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeDecoder
+impl bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::BytesEncoder<'_>
impl bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::CompactSizeEncoder
impl bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::CompactSizeEncoder
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::clone::Clone for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::clone::Clone for bitcoin_consensus_encoding::UnexpectedEofError
impl core::cmp::Eq for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::cmp::Eq for bitcoin_consensus_encoding::UnexpectedEofError
impl core::cmp::PartialEq for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::cmp::PartialEq for bitcoin_consensus_encoding::UnexpectedEofError
impl core::default::Default for bitcoin_consensus_encoding::CompactSizeDecoder
+impl core::default::Default for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::fmt::Debug for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::fmt::Debug for bitcoin_consensus_encoding::UnexpectedEofError
impl core::fmt::Display for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::fmt::Display for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Freeze for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Freeze for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Send for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Send for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::StructuralPartialEq for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Sync for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Sync for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::Unpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::Unpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::marker::UnsafeUnpin for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
+impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeU64Decoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> core::clone::Clone for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::clone::Clone
@@ -297,6 +309,7 @@ pub const fn bitcoin_consensus_encoding::BytesEncoder<'sl>::without_length_prefi
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new() -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeDecoder::new_with_limit(limit: usize) -> Self
pub const fn bitcoin_consensus_encoding::CompactSizeEncoder::encoded_size(value: usize) -> usize
+pub const fn bitcoin_consensus_encoding::CompactSizeU64Decoder::new() -> Self
pub const fn bitcoin_consensus_encoding::Decoder2<A, B>::new(first: A, second: B) -> Self
pub const fn bitcoin_consensus_encoding::Decoder3<A, B, C>::new(dec_1: A, dec_2: B, dec_3: C) -> Self
pub const fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::new(dec_1: A, dec_2: B, dec_3: C, dec_4: D) -> Self
@@ -346,6 +359,13 @@ pub fn bitcoin_consensus_encoding::CompactSizeEncoder::current_chunk(&self) -> &
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::len(&self) -> usize
pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new(value: usize) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeEncoder::new_u64(value: u64) -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::clone(&self) -> bitcoin_consensus_encoding::CompactSizeU64Decoder
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::default() -> Self
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::end(self) -> core::result::Result<Self::Output, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
+pub fn bitcoin_consensus_encoding::CompactSizeU64Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
pub fn bitcoin_consensus_encoding::DecodeError<Err>::clone(&self) -> bitcoin_consensus_encoding::DecodeError<Err>
pub fn bitcoin_consensus_encoding::DecodeError<Err>::eq(&self, other: &bitcoin_consensus_encoding::DecodeError<Err>) -> bool
@@ -433,6 +453,7 @@ pub struct bitcoin_consensus_encoding::BytesEncoder<'sl>
pub struct bitcoin_consensus_encoding::CompactSizeDecoder
pub struct bitcoin_consensus_encoding::CompactSizeDecoderError(_)
pub struct bitcoin_consensus_encoding::CompactSizeEncoder
+pub struct bitcoin_consensus_encoding::CompactSizeU64Decoder
pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
@@ -453,6 +474,8 @@ pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Error = bitcoin_consensus_
pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
pub type bitcoin_consensus_encoding::CompactSizeDecoder::Output = usize
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Error = bitcoin_consensus_encoding::CompactSizeDecoderError
+pub type bitcoin_consensus_encoding::CompactSizeU64Decoder::Output = u64
pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Error = bitcoin_consensus_encoding::Decoder2Error<<A as bitcoin_consensus_encoding::Decoder>::Error, <B as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output)
diff --git a/api/primitives/all-features.txt b/api/primitives/all-features.txt
index 558784c7..985b1604 100644
--- a/api/primitives/all-features.txt
+++ b/api/primitives/all-features.txt
@@ -2080,7 +2080,7 @@ pub type bitcoin_primitives::WitnessMerkleNode::Err = hex_conservative::error::D
pub type bitcoin_primitives::WitnessScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::WitnessScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::Wtxid::Err = hex_conservative::error::DecodeFixedLengthBytesError
-pub type bitcoin_primitives::block::Block<V>::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
+pub type bitcoin_primitives::block::Block<V>::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::compact_size::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Err = bitcoin_primitives::block::ParseBlockError
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::BlockDecoderError
diff --git a/api/primitives/alloc-only.txt b/api/primitives/alloc-only.txt
index 23a790e3..6b5b82c1 100644
--- a/api/primitives/alloc-only.txt
+++ b/api/primitives/alloc-only.txt
@@ -1799,7 +1799,7 @@ pub type bitcoin_primitives::WitnessMerkleNode::Decoder = bitcoin_primitives::ha
pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub type bitcoin_primitives::WitnessScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::WitnessScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::WitnessScriptTag>
-pub type bitcoin_primitives::block::Block<V>::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
+pub type bitcoin_primitives::block::Block<V>::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::compact_size::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::BlockDecoderError
pub type bitcoin_primitives::block::BlockDecoder::Output = bitcoin_primitives::block::Block
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.