What changed, and why it matters
This commit only refreshes automatically-generated API text snapshots. It renames trait references from 'Encodable'/'Decodable' to 'Encode'/'Decode' in the snapshot files, matching a prior source-code rename. No program logic, behavior, or security properties change.
No action required. Treat as routine maintenance / snapshot synchronization.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff touches only api/*.txt files under consensus_encoding, hashes, primitives, and units. These are public-API snapshots produced by cargo public-api or a similar tool. Every change is a mechanical substitution of trait names (Encodable -> Encode, Decodable -> Decode) and corresponding bound references. No Rust source files, tests, documentation, or CI configuration are modified. There is no executable code change, no bug fix, and no security patch.
Changed components
consensus_encoding/api/all-features.txtconsensus_encoding/api/alloc-only.txtconsensus_encoding/api/no-features.txthashes/api/all-features.txthashes/api/alloc-only.txthashes/api/no-features.txtprimitives/api/all-features.txtprimitives/api/alloc-only.txtprimitives/api/no-features.txtunits/api/all-features.txtInspect captured patch +254 / −254
diff --git a/consensus_encoding/api/all-features.txt b/consensus_encoding/api/all-features.txt
index 6acde8c5..afa4a27a 100644
--- a/consensus_encoding/api/all-features.txt
+++ b/consensus_encoding/api/all-features.txt
@@ -1689,23 +1689,23 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Length
pub unsafe fn bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError
pub fn bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError::from(t: T) -> T
-pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encodable>
-impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encode>
+impl<'e, T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::SliceEncoder<'e, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::without_length_prefix(sl: &'e [T]) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::clone::Clone
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::clone::Clone
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::fmt::Debug
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
-impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send, T: core::marker::Sync
-impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync, T: core::marker::Sync
-impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::UnsafeUnpin
-impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
-impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
+impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
+impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Sync, T: core::marker::Sync
+impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Unpin
+impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::UnsafeUnpin
+impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::From<T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::Into<T>
@@ -1820,29 +1820,29 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Unexpe
pub unsafe fn bitcoin_consensus_encoding::error::UnexpectedEofError::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::UnexpectedEofError
pub fn bitcoin_consensus_encoding::error::UnexpectedEofError::from(t: T) -> T
-pub struct bitcoin_consensus_encoding::VecDecoder<T: bitcoin_consensus_encoding::Decodable>
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::VecDecoder<T>
+pub struct bitcoin_consensus_encoding::VecDecoder<T: bitcoin_consensus_encoding::Decode>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::VecDecoder<T>
pub const fn bitcoin_consensus_encoding::VecDecoder<T>::new() -> Self
pub const fn bitcoin_consensus_encoding::VecDecoder<T>::new_with_limit(limit: usize) -> Self
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
-pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
+pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
-impl<T: bitcoin_consensus_encoding::Decodable> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
+impl<T: bitcoin_consensus_encoding::Decode> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::default() -> Self
-impl<T: bitcoin_consensus_encoding::Decodable> core::fmt::Debug for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::fmt::Debug
+impl<T: bitcoin_consensus_encoding::Decode> core::fmt::Debug for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::VecDecoder<T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<T> core::clone::Clone for bitcoin_consensus_encoding::VecDecoder<T> where T: core::clone::Clone + bitcoin_consensus_encoding::Decodable, <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::clone::Clone
+impl<T> core::clone::Clone for bitcoin_consensus_encoding::VecDecoder<T> where T: core::clone::Clone + bitcoin_consensus_encoding::Decode, <T as bitcoin_consensus_encoding::Decode>::Decoder: core::clone::Clone
pub fn bitcoin_consensus_encoding::VecDecoder<T>::clone(&self) -> Self
-impl<T> core::marker::Freeze for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Freeze
-impl<T> core::marker::Send for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Send, T: core::marker::Send
-impl<T> core::marker::Sync for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Sync, T: core::marker::Sync
-impl<T> core::marker::Unpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Unpin, T: core::marker::Unpin
-impl<T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::UnsafeUnpin
-impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
-impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::UnwindSafe
+impl<T> core::marker::Freeze for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Freeze
+impl<T> core::marker::Send for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Send, T: core::marker::Send
+impl<T> core::marker::Sync for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Sync, T: core::marker::Sync
+impl<T> core::marker::Unpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Unpin, T: core::marker::Unpin
+impl<T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::UnsafeUnpin
+impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::UnwindSafe
impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::VecDecoder<T> where U: core::convert::From<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::VecDecoder<T> where U: core::convert::Into<T>
@@ -1911,9 +1911,9 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::VecDec
pub unsafe fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::VecDecoderError<Err>
pub fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::from(t: T) -> T
-pub trait bitcoin_consensus_encoding::Decodable
-pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
-pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
+pub trait bitcoin_consensus_encoding::Decode
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
@@ -1962,8 +1962,8 @@ pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_con
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
-pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
+pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1974,9 +1974,9 @@ pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
-pub trait bitcoin_consensus_encoding::Encodable
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
+pub trait bitcoin_consensus_encoding::Encode
+pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
@@ -1998,7 +1998,7 @@ pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
@@ -2029,12 +2029,12 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::decode_from_read<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decodable, R: std::io::BufRead
-pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decodable, R: std::io::Read
-pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered_with<T, R, const BUFFER_SIZE: usize>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decodable, R: std::io::Read
-pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decodable>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
-pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decodable
+pub fn bitcoin_consensus_encoding::decode_from_read<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::BufRead
+pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered<T, R>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::Read
+pub fn bitcoin_consensus_encoding::decode_from_read_unbuffered_with<T, R, const BUFFER_SIZE: usize>(reader: R) -> core::result::Result<T, bitcoin_consensus_encoding::error::ReadError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>> where T: bitcoin_consensus_encoding::Decode, R: std::io::Read
+pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decode>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
+pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decode
pub fn bitcoin_consensus_encoding::drain_to_vec<T>(encoder: &mut T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized
pub fn bitcoin_consensus_encoding::drain_to_writer<T, W>(encoder: &mut T, writer: W) -> core::result::Result<(), std::io::error::Error> where T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized, W: std::io::Write
-pub fn bitcoin_consensus_encoding::encode_to_vec<T>(object: &T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encodable + ?core::marker::Sized
-pub fn bitcoin_consensus_encoding::encode_to_writer<T, W>(object: &T, writer: W) -> core::result::Result<(), std::io::error::Error> where T: bitcoin_consensus_encoding::Encodable + ?core::marker::Sized, W: std::io::Write
+pub fn bitcoin_consensus_encoding::encode_to_vec<T>(object: &T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::encode_to_writer<T, W>(object: &T, writer: W) -> core::result::Result<(), std::io::error::Error> where T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized, W: std::io::Write
diff --git a/consensus_encoding/api/alloc-only.txt b/consensus_encoding/api/alloc-only.txt
index f9461d0b..9cfcc839 100644
--- a/consensus_encoding/api/alloc-only.txt
+++ b/consensus_encoding/api/alloc-only.txt
@@ -1579,23 +1579,23 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Length
pub unsafe fn bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError
pub fn bitcoin_consensus_encoding::error::LengthPrefixExceedsMaxError::from(t: T) -> T
-pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encodable>
-impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encode>
+impl<'e, T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::SliceEncoder<'e, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::without_length_prefix(sl: &'e [T]) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::clone::Clone
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::clone::Clone
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::fmt::Debug
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
-impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send, T: core::marker::Sync
-impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync, T: core::marker::Sync
-impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::UnsafeUnpin
-impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
-impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
+impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
+impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Sync, T: core::marker::Sync
+impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Unpin
+impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::UnsafeUnpin
+impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::From<T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::Into<T>
@@ -1706,29 +1706,29 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Unexpe
pub unsafe fn bitcoin_consensus_encoding::error::UnexpectedEofError::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::UnexpectedEofError
pub fn bitcoin_consensus_encoding::error::UnexpectedEofError::from(t: T) -> T
-pub struct bitcoin_consensus_encoding::VecDecoder<T: bitcoin_consensus_encoding::Decodable>
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::VecDecoder<T>
+pub struct bitcoin_consensus_encoding::VecDecoder<T: bitcoin_consensus_encoding::Decode>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::VecDecoder<T>
pub const fn bitcoin_consensus_encoding::VecDecoder<T>::new() -> Self
pub const fn bitcoin_consensus_encoding::VecDecoder<T>::new_with_limit(limit: usize) -> Self
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
-pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
+pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::read_limit(&self) -> usize
-impl<T: bitcoin_consensus_encoding::Decodable> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
+impl<T: bitcoin_consensus_encoding::Decode> core::default::Default for bitcoin_consensus_encoding::VecDecoder<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::default() -> Self
-impl<T: bitcoin_consensus_encoding::Decodable> core::fmt::Debug for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::fmt::Debug
+impl<T: bitcoin_consensus_encoding::Decode> core::fmt::Debug for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::VecDecoder<T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<T> core::clone::Clone for bitcoin_consensus_encoding::VecDecoder<T> where T: core::clone::Clone + bitcoin_consensus_encoding::Decodable, <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::clone::Clone
+impl<T> core::clone::Clone for bitcoin_consensus_encoding::VecDecoder<T> where T: core::clone::Clone + bitcoin_consensus_encoding::Decode, <T as bitcoin_consensus_encoding::Decode>::Decoder: core::clone::Clone
pub fn bitcoin_consensus_encoding::VecDecoder<T>::clone(&self) -> Self
-impl<T> core::marker::Freeze for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Freeze
-impl<T> core::marker::Send for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Send, T: core::marker::Send
-impl<T> core::marker::Sync for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Sync, T: core::marker::Sync
-impl<T> core::marker::Unpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::Unpin, T: core::marker::Unpin
-impl<T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::marker::UnsafeUnpin
-impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
-impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decodable>::Decoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::UnwindSafe
+impl<T> core::marker::Freeze for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Freeze
+impl<T> core::marker::Send for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Send, T: core::marker::Send
+impl<T> core::marker::Sync for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Sync, T: core::marker::Sync
+impl<T> core::marker::Unpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::Unpin, T: core::marker::Unpin
+impl<T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::marker::UnsafeUnpin
+impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::VecDecoder<T> where <T as bitcoin_consensus_encoding::Decode>::Decoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::UnwindSafe
impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::VecDecoder<T> where U: core::convert::From<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::VecDecoder<T> where U: core::convert::Into<T>
@@ -1795,9 +1795,9 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::VecDec
pub unsafe fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::VecDecoderError<Err>
pub fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::from(t: T) -> T
-pub trait bitcoin_consensus_encoding::Decodable
-pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
-pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
+pub trait bitcoin_consensus_encoding::Decode
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
@@ -1846,8 +1846,8 @@ pub type bitcoin_consensus_encoding::Decoder2<A, B>::Output = (<A as bitcoin_con
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
-impl<T: bitcoin_consensus_encoding::Decodable> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
-pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
+impl<T: bitcoin_consensus_encoding::Decode> bitcoin_consensus_encoding::Decoder for bitcoin_consensus_encoding::VecDecoder<T>
+pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::error::VecDecoderError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::VecDecoder<T>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1858,9 +1858,9 @@ pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
-pub trait bitcoin_consensus_encoding::Encodable
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
+pub trait bitcoin_consensus_encoding::Encode
+pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
@@ -1882,7 +1882,7 @@ pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
@@ -1913,7 +1913,7 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decodable>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
-pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decodable
+pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decode>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
+pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decode
pub fn bitcoin_consensus_encoding::drain_to_vec<T>(encoder: &mut T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encoder + ?core::marker::Sized
-pub fn bitcoin_consensus_encoding::encode_to_vec<T>(object: &T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encodable + ?core::marker::Sized
+pub fn bitcoin_consensus_encoding::encode_to_vec<T>(object: &T) -> alloc::vec::Vec<u8> where T: bitcoin_consensus_encoding::Encode + ?core::marker::Sized
diff --git a/consensus_encoding/api/no-features.txt b/consensus_encoding/api/no-features.txt
index 30751617..82e8b3cc 100644
--- a/consensus_encoding/api/no-features.txt
+++ b/consensus_encoding/api/no-features.txt
@@ -1204,23 +1204,23 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::EncoderByteIt
pub unsafe fn bitcoin_consensus_encoding::EncoderByteIter<T>::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::EncoderByteIter<T>
pub fn bitcoin_consensus_encoding::EncoderByteIter<T>::from(t: T) -> T
-pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encodable>
-impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+pub struct bitcoin_consensus_encoding::SliceEncoder<'e, T: bitcoin_consensus_encoding::Encode>
+impl<'e, T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::SliceEncoder<'e, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::without_length_prefix(sl: &'e [T]) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::clone::Clone
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::clone::Clone for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::clone::Clone
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::clone(&self) -> Self
-impl<'e, T: bitcoin_consensus_encoding::Encodable> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::fmt::Debug
+impl<'e, T: bitcoin_consensus_encoding::Encode> core::fmt::Debug for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::fmt::Debug
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
-impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send, T: core::marker::Sync
-impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync, T: core::marker::Sync
-impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::UnsafeUnpin
-impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
-impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Freeze
+impl<'e, T> core::marker::Send for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Send, T: core::marker::Sync
+impl<'e, T> core::marker::Sync for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Sync, T: core::marker::Sync
+impl<'e, T> core::marker::Unpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::Unpin
+impl<'e, T> core::marker::UnsafeUnpin for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::marker::UnsafeUnpin
+impl<'e, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::RefUnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
+impl<'e, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::SliceEncoder<'e, T> where <T as bitcoin_consensus_encoding::Encode>::Encoder: core::panic::unwind_safe::UnwindSafe, T: core::panic::unwind_safe::RefUnwindSafe
impl<T, U> core::convert::Into<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::From<T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'e, T>::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for bitcoin_consensus_encoding::SliceEncoder<'e, T> where U: core::convert::Into<T>
@@ -1315,9 +1315,9 @@ impl<T> core::clone::CloneToUninit for bitcoin_consensus_encoding::error::Unexpe
pub unsafe fn bitcoin_consensus_encoding::error::UnexpectedEofError::clone_to_uninit(&self, dest: *mut u8)
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::UnexpectedEofError
pub fn bitcoin_consensus_encoding::error::UnexpectedEofError::from(t: T) -> T
-pub trait bitcoin_consensus_encoding::Decodable
-pub type bitcoin_consensus_encoding::Decodable::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
-pub fn bitcoin_consensus_encoding::Decodable::decoder() -> Self::Decoder
+pub trait bitcoin_consensus_encoding::Decode
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
@@ -1366,9 +1366,9 @@ pub type bitcoin_consensus_encoding::ArrayDecoder<N>::Output = [u8; N]
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::ArrayDecoder<N>::read_limit(&self) -> usize
-pub trait bitcoin_consensus_encoding::Encodable
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
-pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
+pub trait bitcoin_consensus_encoding::Encode
+pub type bitcoin_consensus_encoding::Encode::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub fn bitcoin_consensus_encoding::Encode::encoder(&self) -> Self::Encoder
pub trait bitcoin_consensus_encoding::Encoder
pub fn bitcoin_consensus_encoding::Encoder::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder::current_chunk(&self) -> &[u8]
@@ -1390,7 +1390,7 @@ pub fn bitcoin_consensus_encoding::Encoder3<A, B, C>::current_chunk(&self) -> &[
impl<A: bitcoin_consensus_encoding::Encoder, B: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::Encoder2<A, B>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
-impl<T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
+impl<T: bitcoin_consensus_encoding::Encode> bitcoin_consensus_encoding::Encoder for bitcoin_consensus_encoding::SliceEncoder<'_, T>
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::SliceEncoder<'_, T>::current_chunk(&self) -> &[u8]
impl<T: bitcoin_consensus_encoding::Encoder> bitcoin_consensus_encoding::Encoder for core::option::Option<T>
@@ -1421,5 +1421,5 @@ impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_co
pub fn bitcoin_consensus_encoding::ArrayEncoder<N>::len(&self) -> usize
impl<const N: usize> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>
pub fn bitcoin_consensus_encoding::ArrayRefEncoder<'_, N>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decodable>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
-pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decodable
+pub fn bitcoin_consensus_encoding::decode_from_slice<T: bitcoin_consensus_encoding::Decode>(bytes: &[u8]) -> core::result::Result<T, bitcoin_consensus_encoding::error::DecodeError<<<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>>
+pub fn bitcoin_consensus_encoding::decode_from_slice_unbounded<T>(bytes: &mut &[u8]) -> core::result::Result<T, <<T as bitcoin_consensus_encoding::Decode>::Decoder as bitcoin_consensus_encoding::Decoder>::Error> where T: bitcoin_consensus_encoding::Decode
diff --git a/hashes/api/all-features.txt b/hashes/api/all-features.txt
index 2a6468ef..ad64a104 100644
--- a/hashes/api/all-features.txt
+++ b/hashes/api/all-features.txt
@@ -3357,7 +3357,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
-pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encodable + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
+pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
pub type bitcoin_hashes::HmacSha256 = bitcoin_hashes::hmac::Hmac<bitcoin_hashes::sha256::Hash>
diff --git a/hashes/api/alloc-only.txt b/hashes/api/alloc-only.txt
index aae053ec..22852c1b 100644
--- a/hashes/api/alloc-only.txt
+++ b/hashes/api/alloc-only.txt
@@ -2891,7 +2891,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
-pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encodable + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
+pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
pub type bitcoin_hashes::HmacSha256 = bitcoin_hashes::hmac::Hmac<bitcoin_hashes::sha256::Hash>
diff --git a/hashes/api/no-features.txt b/hashes/api/no-features.txt
index a2b4613f..b4bdefc3 100644
--- a/hashes/api/no-features.txt
+++ b/hashes/api/no-features.txt
@@ -2697,7 +2697,7 @@ pub trait bitcoin_hashes::IsByteArray: core::convert::AsRef<[u8]> + bitcoin_hash
pub const bitcoin_hashes::IsByteArray::LEN: usize
impl<const N: usize> bitcoin_hashes::IsByteArray for [u8; N]
pub const [u8; N]::LEN: usize
-pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encodable + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
+pub fn bitcoin_hashes::encode_to_engine<T, H>(object: &T, engine: &mut H) where T: bitcoin_consensus_encoding::encode::Encode + ?core::marker::Sized, H: bitcoin_hashes::HashEngine
pub type bitcoin_hashes::HkdfSha256 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha256::Hash>
pub type bitcoin_hashes::HkdfSha512 = bitcoin_hashes::hkdf::Hkdf<bitcoin_hashes::sha512::Hash>
pub type bitcoin_hashes::HmacSha256 = bitcoin_hashes::hmac::Hmac<bitcoin_hashes::sha256::Hash>
diff --git a/primitives/api/all-features.txt b/primitives/api/all-features.txt
index 41a62409..a5bc7dac 100644
--- a/primitives/api/all-features.txt
+++ b/primitives/api/all-features.txt
@@ -582,25 +582,25 @@ pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::n
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::validate(self) -> core::result::Result<bitcoin_primitives::block::Block<bitcoin_primitives::block::Checked>, bitcoin_primitives::block::error::InvalidBlockError>
impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: bitcoin_primitives::block::Block) -> Self
-impl core::str::traits::FromStr for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked> where Self: bitcoin_consensus_encoding::decode::Decodable
+impl core::str::traits::FromStr for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked> where Self: bitcoin_consensus_encoding::decode::Decode
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Err = bitcoin_primitives::block::error::ParseBlockError
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::from_str(s: &str) -> core::result::Result<Self, Self::Err>
impl<'a> arbitrary::Arbitrary<'a> for bitcoin_primitives::block::Block
pub fn bitcoin_primitives::block::Block::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
-impl<V: bitcoin_primitives::block::Validation> core::fmt::Display for bitcoin_primitives::block::Block<V> where Self: bitcoin_consensus_encoding::encode::Encodable
+impl<V: bitcoin_primitives::block::Validation> core::fmt::Display for bitcoin_primitives::block::Block<V> where Self: bitcoin_consensus_encoding::encode::Encode
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<V: bitcoin_primitives::block::Validation> core::fmt::LowerHex for bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<V: bitcoin_primitives::block::Validation> core::fmt::UpperHex for bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<V> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
+impl<V> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
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 fn bitcoin_primitives::block::Block<V>::encoder(&self) -> Self::Encoder
impl<V> core::clone::Clone for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation + core::clone::Clone
@@ -776,10 +776,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -999,10 +999,10 @@ pub bitcoin_primitives::block::Header::version: bitcoin_primitives::block::Versi
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -1249,10 +1249,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -1544,10 +1544,10 @@ impl bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Txid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::TxMerkleNode
@@ -1758,10 +1758,10 @@ impl bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Wtxid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::WitnessMerkleNode
@@ -2462,7 +2462,7 @@ pub fn bitcoin_primitives::script::Script<T>::hash<__H: core::hash::Hasher>(&sel
impl<T> alloc::borrow::ToOwned for bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Owned = bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::Script<T>::to_owned(&self) -> Self::Owned
-impl<T> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::script::Script<T>
+impl<T> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Encoder<'e> where Self: 'e = bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::Script<T>::encoder(&self) -> Self::Encoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -2587,7 +2587,7 @@ impl<T: core::cmp::PartialOrd> core::cmp::PartialOrd<bitcoin_primitives::script:
pub fn bitcoin_primitives::script::Script<T>::partial_cmp(&self, other: &bitcoin_primitives::script::ScriptBuf<T>) -> core::option::Option<core::cmp::Ordering>
impl<T: core::hash::Hash> core::hash::Hash for bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
-impl<T> bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::script::ScriptBuf<T>
+impl<T> bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::decoder() -> Self::Decoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -3041,13 +3041,13 @@ pub type bitcoin_primitives::script::WitnessScript = bitcoin_primitives::script:
pub type bitcoin_primitives::script::WitnessScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::WitnessScriptTag>
pub mod bitcoin_primitives::serde_as_consensus
pub mod bitcoin_primitives::serde_as_consensus::opt
-pub fn bitcoin_primitives::serde_as_consensus::opt::deserialize<'d, T, D>(d: D) -> core::result::Result<core::option::Option<T>, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, D: serde::de::Deserializer<'d>
-pub fn bitcoin_primitives::serde_as_consensus::opt::serialize<T, S>(t: &core::option::Option<T>, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, S: serde::ser::Serializer
+pub fn bitcoin_primitives::serde_as_consensus::opt::deserialize<'d, T, D>(d: D) -> core::result::Result<core::option::Option<T>, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, D: serde::de::Deserializer<'d>
+pub fn bitcoin_primitives::serde_as_consensus::opt::serialize<T, S>(t: &core::option::Option<T>, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, S: serde::ser::Serializer
pub mod bitcoin_primitives::serde_as_consensus::vec
-pub fn bitcoin_primitives::serde_as_consensus::vec::deserialize<'d, T, D>(d: D) -> core::result::Result<alloc::vec::Vec<T>, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, D: serde::de::Deserializer<'d>
-pub fn bitcoin_primitives::serde_as_consensus::vec::serialize<T, S>(v: &[T], s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, S: serde::ser::Serializer
-pub fn bitcoin_primitives::serde_as_consensus::deserialize<'d, T, D>(d: D) -> core::result::Result<T, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, D: serde::de::Deserializer<'d>
-pub fn bitcoin_primitives::serde_as_consensus::serialize<T, S>(value: &T, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encodable + bitcoin_consensus_encoding::decode::Decodable, S: serde::ser::Serializer
+pub fn bitcoin_primitives::serde_as_consensus::vec::deserialize<'d, T, D>(d: D) -> core::result::Result<alloc::vec::Vec<T>, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, D: serde::de::Deserializer<'d>
+pub fn bitcoin_primitives::serde_as_consensus::vec::serialize<T, S>(v: &[T], s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, S: serde::ser::Serializer
+pub fn bitcoin_primitives::serde_as_consensus::deserialize<'d, T, D>(d: D) -> core::result::Result<T, <D as serde::de::Deserializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, D: serde::de::Deserializer<'d>
+pub fn bitcoin_primitives::serde_as_consensus::serialize<T, S>(value: &T, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where T: bitcoin_consensus_encoding::encode::Encode + bitcoin_consensus_encoding::decode::Decode, S: serde::ser::Serializer
pub mod bitcoin_primitives::transaction
pub mod bitcoin_primitives::transaction::error
#[non_exhaustive] pub enum bitcoin_primitives::transaction::error::ParseOutPointError
@@ -3599,10 +3599,10 @@ pub bitcoin_primitives::transaction::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -3849,10 +3849,10 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_ntxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::compute_txid(&self) -> bitcoin_primitives::Txid
pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bitcoin_primitives::Wtxid
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Transaction
@@ -4053,10 +4053,10 @@ pub bitcoin_primitives::transaction::TxIn::sequence: bitcoin_units::sequence::Se
pub bitcoin_primitives::transaction::TxIn::witness: bitcoin_primitives::witness::Witness
impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxIn
@@ -4236,10 +4236,10 @@ pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxOut
pub bitcoin_primitives::transaction::TxOut::amount: bitcoin_units::amount::unsigned::encapsulate::Amount
pub bitcoin_primitives::transaction::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxOut
@@ -4505,10 +4505,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
@@ -5021,10 +5021,10 @@ pub const fn bitcoin_primitives::witness::Witness::new() -> Self
pub fn bitcoin_primitives::witness::Witness::push<T: core::convert::AsRef<[u8]>>(&mut self, new_element: T)
pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::witness::Witness
@@ -5379,25 +5379,25 @@ pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::n
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::validate(self) -> core::result::Result<bitcoin_primitives::block::Block<bitcoin_primitives::block::Checked>, bitcoin_primitives::block::error::InvalidBlockError>
impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: bitcoin_primitives::block::Block) -> Self
-impl core::str::traits::FromStr for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked> where Self: bitcoin_consensus_encoding::decode::Decodable
+impl core::str::traits::FromStr for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked> where Self: bitcoin_consensus_encoding::decode::Decode
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Err = bitcoin_primitives::block::error::ParseBlockError
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::from_str(s: &str) -> core::result::Result<Self, Self::Err>
impl<'a> arbitrary::Arbitrary<'a> for bitcoin_primitives::block::Block
pub fn bitcoin_primitives::block::Block::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
-impl<V: bitcoin_primitives::block::Validation> core::fmt::Display for bitcoin_primitives::block::Block<V> where Self: bitcoin_consensus_encoding::encode::Encodable
+impl<V: bitcoin_primitives::block::Validation> core::fmt::Display for bitcoin_primitives::block::Block<V> where Self: bitcoin_consensus_encoding::encode::Encode
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<V: bitcoin_primitives::block::Validation> core::fmt::LowerHex for bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<V: bitcoin_primitives::block::Validation> core::fmt::UpperHex for bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
-impl<V> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
+impl<V> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
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 fn bitcoin_primitives::block::Block<V>::encoder(&self) -> Self::Encoder
impl<V> core::clone::Clone for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation + core::clone::Clone
@@ -5446,10 +5446,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -5540,10 +5540,10 @@ pub bitcoin_primitives::BlockHeader::version: bitcoin_primitives::block::Version
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -5615,10 +5615,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -5692,10 +5692,10 @@ pub bitcoin_primitives::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -5767,10 +5767,10 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_ntxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::compute_txid(&self) -> bitcoin_primitives::Txid
pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bitcoin_primitives::Wtxid
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Transaction
@@ -5845,10 +5845,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
@@ -5923,10 +5923,10 @@ pub bitcoin_primitives::TxIn::sequence: bitcoin_units::sequence::Sequence
pub bitcoin_primitives::TxIn::witness: bitcoin_primitives::witness::Witness
impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxIn
@@ -5977,10 +5977,10 @@ pub fn bitcoin_primitives::transaction::TxIn::from(t: T) -> T
pub struct bitcoin_primitives::TxOut
pub bitcoin_primitives::TxOut::amount: bitcoin_units::amount::unsigned::encapsulate::Amount
pub bitcoin_primitives::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxOut
@@ -6124,10 +6124,10 @@ pub const fn bitcoin_primitives::witness::Witness::new() -> Self
pub fn bitcoin_primitives::witness::Witness::push<T: core::convert::AsRef<[u8]>>(&mut self, new_element: T)
pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::witness::Witness
diff --git a/primitives/api/alloc-only.txt b/primitives/api/alloc-only.txt
index 8faef774..eb92b587 100644
--- a/primitives/api/alloc-only.txt
+++ b/primitives/api/alloc-only.txt
@@ -473,14 +473,14 @@ pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::n
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::validate(self) -> core::result::Result<bitcoin_primitives::block::Block<bitcoin_primitives::block::Checked>, bitcoin_primitives::block::error::InvalidBlockError>
impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: bitcoin_primitives::block::Block) -> Self
-impl<V> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
+impl<V> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
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 fn bitcoin_primitives::block::Block<V>::encoder(&self) -> Self::Encoder
impl<V> core::clone::Clone for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation + core::clone::Clone
@@ -652,10 +652,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -855,10 +855,10 @@ pub bitcoin_primitives::block::Header::version: bitcoin_primitives::block::Versi
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -1000,10 +1000,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -1268,10 +1268,10 @@ impl bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Txid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::TxMerkleNode
@@ -1462,10 +1462,10 @@ impl bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Wtxid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::WitnessMerkleNode
@@ -2029,7 +2029,7 @@ pub fn bitcoin_primitives::script::Script<T>::hash<__H: core::hash::Hasher>(&sel
impl<T> alloc::borrow::ToOwned for bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Owned = bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::Script<T>::to_owned(&self) -> Self::Owned
-impl<T> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::script::Script<T>
+impl<T> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Encoder<'e> where Self: 'e = bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::Script<T>::encoder(&self) -> Self::Encoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -2141,7 +2141,7 @@ impl<T: core::cmp::PartialOrd> core::cmp::PartialOrd<bitcoin_primitives::script:
pub fn bitcoin_primitives::script::Script<T>::partial_cmp(&self, other: &bitcoin_primitives::script::ScriptBuf<T>) -> core::option::Option<core::cmp::Ordering>
impl<T: core::hash::Hash> core::hash::Hash for bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
-impl<T> bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::script::ScriptBuf<T>
+impl<T> bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::decoder() -> Self::Decoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -2919,10 +2919,10 @@ pub bitcoin_primitives::transaction::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -3107,10 +3107,10 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_ntxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::compute_txid(&self) -> bitcoin_primitives::Txid
pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bitcoin_primitives::Wtxid
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Transaction
@@ -3296,10 +3296,10 @@ pub bitcoin_primitives::transaction::TxIn::sequence: bitcoin_units::sequence::Se
pub bitcoin_primitives::transaction::TxIn::witness: bitcoin_primitives::witness::Witness
impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxIn
@@ -3475,10 +3475,10 @@ pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::from(t: T) -> T
pub struct bitcoin_primitives::transaction::TxOut
pub bitcoin_primitives::transaction::TxOut::amount: bitcoin_units::amount::unsigned::encapsulate::Amount
pub bitcoin_primitives::transaction::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxOut
@@ -3722,10 +3722,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
@@ -4204,10 +4204,10 @@ pub const fn bitcoin_primitives::witness::Witness::new() -> Self
pub fn bitcoin_primitives::witness::Witness::push<T: core::convert::AsRef<[u8]>>(&mut self, new_element: T)
pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::witness::Witness
@@ -4553,14 +4553,14 @@ pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::n
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::validate(self) -> core::result::Result<bitcoin_primitives::block::Block<bitcoin_primitives::block::Checked>, bitcoin_primitives::block::error::InvalidBlockError>
impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<V>
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: bitcoin_primitives::block::Block) -> Self
-impl<V> bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
+impl<V> bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
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 fn bitcoin_primitives::block::Block<V>::encoder(&self) -> Self::Encoder
impl<V> core::clone::Clone for bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation + core::clone::Clone
@@ -4607,10 +4607,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -4683,10 +4683,10 @@ pub bitcoin_primitives::BlockHeader::version: bitcoin_primitives::block::Version
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -4745,10 +4745,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -4815,10 +4815,10 @@ pub bitcoin_primitives::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -4876,10 +4876,10 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_ntxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::compute_txid(&self) -> bitcoin_primitives::Txid
pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bitcoin_primitives::Wtxid
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Transaction
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Transaction
@@ -4941,10 +4941,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
@@ -5012,10 +5012,10 @@ pub bitcoin_primitives::TxIn::sequence: bitcoin_units::sequence::Sequence
pub bitcoin_primitives::TxIn::witness: bitcoin_primitives::witness::Witness
impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxIn
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxIn
@@ -5064,10 +5064,10 @@ pub fn bitcoin_primitives::transaction::TxIn::from(t: T) -> T
pub struct bitcoin_primitives::TxOut
pub bitcoin_primitives::TxOut::amount: bitcoin_units::amount::unsigned::encapsulate::Amount
pub bitcoin_primitives::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::TxOut
@@ -5190,10 +5190,10 @@ pub const fn bitcoin_primitives::witness::Witness::new() -> Self
pub fn bitcoin_primitives::witness::Witness::push<T: core::convert::AsRef<[u8]>>(&mut self, new_element: T)
pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::witness::Witness
diff --git a/primitives/api/no-features.txt b/primitives/api/no-features.txt
index dd211268..15e601e1 100644
--- a/primitives/api/no-features.txt
+++ b/primitives/api/no-features.txt
@@ -208,10 +208,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -389,10 +389,10 @@ pub bitcoin_primitives::block::Header::version: bitcoin_primitives::block::Versi
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -522,10 +522,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -758,10 +758,10 @@ impl bitcoin_primitives::merkle_tree::TxMerkleNode
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Txid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::TxMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::TxMerkleNode
@@ -934,10 +934,10 @@ impl bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::calculate_root<I: core::iter::traits::iterator::Iterator<Item = bitcoin_primitives::Wtxid>>(iter: I) -> core::option::Option<Self>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> Self
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::merkle_tree::WitnessMerkleNode
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::merkle_tree::WitnessMerkleNode
@@ -1203,10 +1203,10 @@ pub bitcoin_primitives::transaction::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -1425,10 +1425,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
@@ -1658,10 +1658,10 @@ impl bitcoin_primitives::BlockHash
pub const fn bitcoin_primitives::BlockHash::as_byte_array(&self) -> &[u8; 32]
pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) -> Self
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::BlockHash
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
impl core::borrow::Borrow<[u8; 32]> for bitcoin_primitives::BlockHash
@@ -1726,10 +1726,10 @@ pub bitcoin_primitives::BlockHeader::version: bitcoin_primitives::block::Version
impl bitcoin_primitives::block::Header
pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Header
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Header
@@ -1784,10 +1784,10 @@ pub const bitcoin_primitives::block::Version::TWO: Self
pub const fn bitcoin_primitives::block::Version::from_consensus(v: i32) -> Self
pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8) -> bool
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::block::Version
@@ -1848,10 +1848,10 @@ pub bitcoin_primitives::OutPoint::vout: u32
impl bitcoin_primitives::transaction::OutPoint
pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::OutPoint
@@ -1902,10 +1902,10 @@ pub const bitcoin_primitives::transaction::Version::TWO: Self
pub const fn bitcoin_primitives::transaction::Version::is_standard(self) -> bool
pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(version: u32) -> Self
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_primitives::transaction::Version
diff --git a/units/api/all-features.txt b/units/api/all-features.txt
index b3225bdd..85e139b8 100644
--- a/units/api/all-features.txt
+++ b/units/api/all-features.txt
@@ -305,10 +305,10 @@ pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by(self, height
pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_height(self, height: bitcoin_units::locktime::absolute::Height) -> core::result::Result<bool, bitcoin_units::locktime::absolute::error::IncompatibleHeightError>
pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_time(self, mtp: bitcoin_units::locktime::absolute::MedianTimePast) -> core::result::Result<bool, bitcoin_units::locktime::absolute::error::IncompatibleTimeError>
pub fn bitcoin_units::locktime::absolute::LockTime::to_consensus_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::locktime::absolute::LockTime
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Decoder = bitcoin_units::locktime::absolute::LockTimeDecoder
pub fn bitcoin_units::locktime::absolute::LockTime::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::locktime::absolute::LockTime
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTime::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::locktime::absolute::LockTime
@@ -1701,10 +1701,10 @@ pub const bitcoin_units::Amount::MAX: Self
pub const bitcoin_units::Amount::MIN: Self
pub const fn bitcoin_units::Amount::from_sat(satoshi: u64) -> core::result::Result<Self, bitcoin_units::amount::error::OutOfRangeError>
pub const fn bitcoin_units::Amount::to_sat(self) -> u64
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::Amount
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
pub fn bitcoin_units::Amount::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::Amount
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::Amount::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::Amount
@@ -2978,10 +2978,10 @@ pub const fn bitcoin_units::block::BlockHeight::to_u32(self) -> u32
impl bitcoin_units::block::BlockHeight
pub fn bitcoin_units::block::BlockHeight::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::PrefixedHexError>
pub fn bitcoin_units::block::BlockHeight::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::block::BlockHeight
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Decoder = bitcoin_units::block::BlockHeightDecoder
pub fn bitcoin_units::block::BlockHeight::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::block::BlockHeight
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeight::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::block::BlockHeight
@@ -4299,10 +4299,10 @@ pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by(self, height
pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_height(self, height: bitcoin_units::locktime::absolute::Height) -> core::result::Result<bool, bitcoin_units::locktime::absolute::error::IncompatibleHeightError>
pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_time(self, mtp: bitcoin_units::locktime::absolute::MedianTimePast) -> core::result::Result<bool, bitcoin_units::locktime::absolute::error::IncompatibleTimeError>
pub fn bitcoin_units::locktime::absolute::LockTime::to_consensus_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::locktime::absolute::LockTime
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Decoder = bitcoin_units::locktime::absolute::LockTimeDecoder
pub fn bitcoin_units::locktime::absolute::LockTime::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::locktime::absolute::LockTime
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTime::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::locktime::absolute::LockTime
@@ -6489,10 +6489,10 @@ pub fn bitcoin_units::pow::CompactTarget::from_hex(s: &str) -> core::result::Res
pub fn bitcoin_units::pow::CompactTarget::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError> where Self: core::marker::Sized
pub const fn bitcoin_units::pow::CompactTarget::to_consensus(self) -> u32
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::pow::CompactTarget
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Decoder = bitcoin_units::pow::CompactTargetDecoder
pub fn bitcoin_units::pow::CompactTarget::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::pow::CompactTarget
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Encoder<'e> = bitcoin_units::pow::CompactTargetEncoder<'e>
pub fn bitcoin_units::pow::CompactTarget::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::pow::CompactTarget
@@ -8750,10 +8750,10 @@ pub fn bitcoin_units::sequence::Sequence::is_time_locked(self) -> bool
pub const fn bitcoin_units::sequence::Sequence::to_consensus_u32(self) -> u32
pub fn bitcoin_units::sequence::Sequence::to_hex(self) -> alloc::string::String
pub fn bitcoin_units::sequence::Sequence::to_relative_lock_time(self) -> core::option::Option<bitcoin_units::locktime::relative::LockTime>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::sequence::Sequence
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Decoder = bitcoin_units::sequence::SequenceDecoder
pub fn bitcoin_units::sequence::Sequence::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::sequence::Sequence
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::sequence::Sequence::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::sequence::Sequence
@@ -9024,10 +9024,10 @@ pub fn bitcoin_units::BlockTime::from_unprefixed_hex(s: &str) -> core::result::R
impl bitcoin_units::BlockTime
pub const fn bitcoin_units::BlockTime::from_u32(t: u32) -> Self
pub const fn bitcoin_units::BlockTime::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::BlockTime
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
pub fn bitcoin_units::BlockTime::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::BlockTime
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
pub fn bitcoin_units::BlockTime::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::BlockTime
@@ -10030,10 +10030,10 @@ pub const bitcoin_units::Amount::MAX: Self
pub const bitcoin_units::Amount::MIN: Self
pub const fn bitcoin_units::Amount::from_sat(satoshi: u64) -> core::result::Result<Self, bitcoin_units::amount::error::OutOfRangeError>
pub const fn bitcoin_units::Amount::to_sat(self) -> u64
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::Amount
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
pub fn bitcoin_units::Amount::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::Amount
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::Amount::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::Amount
@@ -10294,10 +10294,10 @@ pub const fn bitcoin_units::block::BlockHeight::to_u32(self) -> u32
impl bitcoin_units::block::BlockHeight
pub fn bitcoin_units::block::BlockHeight::from_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::PrefixedHexError>
pub fn bitcoin_units::block::BlockHeight::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::block::BlockHeight
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Decoder = bitcoin_units::block::BlockHeightDecoder
pub fn bitcoin_units::block::BlockHeight::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::block::BlockHeight
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeight::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::block::BlockHeight
@@ -10875,10 +10875,10 @@ pub fn bitcoin_units::BlockTime::from_unprefixed_hex(s: &str) -> core::result::R
impl bitcoin_units::BlockTime
pub const fn bitcoin_units::BlockTime::from_u32(t: u32) -> Self
pub const fn bitcoin_units::BlockTime::to_u32(self) -> u32
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::BlockTime
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
pub fn bitcoin_units::BlockTime::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::BlockTime
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
pub fn bitcoin_units::BlockTime::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::BlockTime
@@ -10967,10 +10967,10 @@ pub fn bitcoin_units::pow::CompactTarget::from_hex(s: &str) -> core::result::Res
pub fn bitcoin_units::pow::CompactTarget::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError> where Self: core::marker::Sized
pub const fn bitcoin_units::pow::CompactTarget::to_consensus(self) -> u32
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::pow::CompactTarget
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Decoder = bitcoin_units::pow::CompactTargetDecoder
pub fn bitcoin_units::pow::CompactTarget::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::pow::CompactTarget
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Encoder<'e> = bitcoin_units::pow::CompactTargetEncoder<'e>
pub fn bitcoin_units::pow::CompactTarget::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::pow::CompactTarget
@@ -11268,10 +11268,10 @@ pub fn bitcoin_units::sequence::Sequence::is_time_locked(self) -> bool
pub const fn bitcoin_units::sequence::Sequence::to_consensus_u32(self) -> u32
pub fn bitcoin_units::sequence::Sequence::to_hex(self) -> alloc::string::String
pub fn bitcoin_units::sequence::Sequence::to_relative_lock_time(self) -> core::option::Option<bitcoin_units::locktime::relative::LockTime>
-impl bitcoin_consensus_encoding::decode::Decodable for bitcoin_units::sequence::Sequence
+impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Decoder = bitcoin_units::sequence::SequenceDecoder
pub fn bitcoin_units::sequence::Sequence::decoder() -> Self::Decoder
-impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::sequence::Sequence
+impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::sequence::Sequence::encoder(&self) -> Self::Encoder
impl core::clone::Clone for bitcoin_units::sequence::Sequence
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.