What changed, and why it matters
This commit only updates generated API snapshot files that document the public interface of the Rust Bitcoin crates. It does not change any source code, logic, or behavior. The snapshots reflect a separate, earlier code change that added lifetime parameters to encoder types. There is no security issue in this commit itself.
No action required. This is a documentation/snapshot update. Reviewers may optionally verify the API snapshots match the actual code changes in the preceding patch.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff consists entirely of changes to api/*.txt files, which are rustdoc/public-API snapshots used for API diffing/CI. The modifications rename lifetime parameters (e.g., 's to 'e), add lifetime parameters to encoder structs (e.g., BlockHashEncoder → BlockHashEncoder<'e>), and update trait impl listings accordingly. No executable code, unsafe blocks, parsing logic, or cryptographic operations are present in the diff. The commit message explicitly states this is a separate patch to simplify review of public API changes from introducing lifetimes to encoders.
Changed components
api/consensus_encoding/all-features.txtapi/consensus_encoding/alloc-only.txtapi/consensus_encoding/no-features.txtapi/primitives/all-features.txtapi/primitives/alloc-only.txtapi/primitives/no-features.txtapi/units/all-features.txtInspect captured patch +457 / −385
diff --git a/api/consensus_encoding/all-features.txt b/api/consensus_encoding/all-features.txt
index f990a439..b87b2660 100644
--- a/api/consensus_encoding/all-features.txt
+++ b/api/consensus_encoding/all-features.txt
@@ -81,22 +81,22 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::Compac
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T>
impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+impl<'e, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where T: bitcoin_consensus_encoding::Encodable + 'e, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: 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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
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::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
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<'s, T: bitcoin_consensus_encoding::Encodable + 's> bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T: bitcoin_consensus_encoding::Encodable + 's> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where T: bitcoin_consensus_encoding::Encodable + 's, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
-impl<'s, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'s, T> core::marker::Send for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
-impl<'s, T> core::marker::Sync for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync
-impl<'s, T> core::marker::Unpin for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'s, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
-impl<'s, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> core::marker::Freeze for bitcoin_consensus_encoding::BytesEncoder<'sl>
@@ -382,9 +382,9 @@ pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Se
pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::new(encodable: &'s T) -> Self
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::next(&mut self) -> core::option::Option<Self::Item>
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::new(encodable: &'e T) -> Self
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::next(&mut self) -> core::option::Option<Self::Item>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
@@ -447,7 +447,7 @@ pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
-pub struct bitcoin_consensus_encoding::EncodableByteIter<'s, T: bitcoin_consensus_encoding::Encodable + 's>
+pub struct bitcoin_consensus_encoding::EncodableByteIter<'e, T: bitcoin_consensus_encoding::Encodable + 'e>
pub struct bitcoin_consensus_encoding::Encoder2<A, B>
pub struct bitcoin_consensus_encoding::Encoder3<A, B, C>
pub struct bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -479,7 +479,7 @@ pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'s> where Self: 's: bitcoin_consensus_encoding::Encoder
-pub type bitcoin_consensus_encoding::EncodableByteIter<'s, T>::Item = u8
+pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub type bitcoin_consensus_encoding::EncodableByteIter<'e, T>::Item = u8
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
diff --git a/api/consensus_encoding/alloc-only.txt b/api/consensus_encoding/alloc-only.txt
index ef6afbe2..e120db5c 100644
--- a/api/consensus_encoding/alloc-only.txt
+++ b/api/consensus_encoding/alloc-only.txt
@@ -77,22 +77,22 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::Compac
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::LengthPrefixExceedsMaxError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T>
impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+impl<'e, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where T: bitcoin_consensus_encoding::Encodable + 'e, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: 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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
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::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
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<'s, T: bitcoin_consensus_encoding::Encodable + 's> bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T: bitcoin_consensus_encoding::Encodable + 's> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where T: bitcoin_consensus_encoding::Encodable + 's, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
-impl<'s, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'s, T> core::marker::Send for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
-impl<'s, T> core::marker::Sync for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync
-impl<'s, T> core::marker::Unpin for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'s, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
-impl<'s, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> core::marker::Freeze for bitcoin_consensus_encoding::BytesEncoder<'sl>
@@ -354,9 +354,9 @@ pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Se
pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::new(encodable: &'s T) -> Self
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::next(&mut self) -> core::option::Option<Self::Item>
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::new(encodable: &'e T) -> Self
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::next(&mut self) -> core::option::Option<Self::Item>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
@@ -410,7 +410,7 @@ pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
-pub struct bitcoin_consensus_encoding::EncodableByteIter<'s, T: bitcoin_consensus_encoding::Encodable + 's>
+pub struct bitcoin_consensus_encoding::EncodableByteIter<'e, T: bitcoin_consensus_encoding::Encodable + 'e>
pub struct bitcoin_consensus_encoding::Encoder2<A, B>
pub struct bitcoin_consensus_encoding::Encoder3<A, B, C>
pub struct bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -442,7 +442,7 @@ pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'s> where Self: 's: bitcoin_consensus_encoding::Encoder
-pub type bitcoin_consensus_encoding::EncodableByteIter<'s, T>::Item = u8
+pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub type bitcoin_consensus_encoding::EncodableByteIter<'e, T>::Item = u8
pub type bitcoin_consensus_encoding::VecDecoder<T>::Error = bitcoin_consensus_encoding::VecDecoderError<<<T as bitcoin_consensus_encoding::Decodable>::Decoder as bitcoin_consensus_encoding::Decoder>::Error>
pub type bitcoin_consensus_encoding::VecDecoder<T>::Output = alloc::vec::Vec<T>
diff --git a/api/consensus_encoding/no-features.txt b/api/consensus_encoding/no-features.txt
index 99fb65ac..812b811a 100644
--- a/api/consensus_encoding/no-features.txt
+++ b/api/consensus_encoding/no-features.txt
@@ -43,22 +43,22 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::Compac
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::CompactSizeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::UnexpectedEofError
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> bitcoin_consensus_encoding::EncodableByteIter<'e, T>
+impl<'e, T: bitcoin_consensus_encoding::Encodable + 'e> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T>
impl<'e, T: bitcoin_consensus_encoding::Encodable> bitcoin_consensus_encoding::SliceEncoder<'e, T>
+impl<'e, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where T: bitcoin_consensus_encoding::Encodable + 'e, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
+impl<'e, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: 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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
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::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
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::EncodableByteIter<'e, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
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<'s, T: bitcoin_consensus_encoding::Encodable + 's> bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T: bitcoin_consensus_encoding::Encodable + 's> core::iter::traits::iterator::Iterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T>
-impl<'s, T> core::iter::traits::exact_size::ExactSizeIterator for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where T: bitcoin_consensus_encoding::Encodable + 's, <T as bitcoin_consensus_encoding::Encodable>::Encoder: bitcoin_consensus_encoding::ExactSizeEncoder
-impl<'s, T> core::marker::Freeze for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Freeze
-impl<'s, T> core::marker::Send for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Send
-impl<'s, T> core::marker::Sync for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Sync
-impl<'s, T> core::marker::Unpin for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::marker::Unpin
-impl<'s, T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::RefUnwindSafe
-impl<'s, T> core::panic::unwind_safe::UnwindSafe for bitcoin_consensus_encoding::EncodableByteIter<'s, T> where <T as bitcoin_consensus_encoding::Encodable>::Encoder: core::panic::unwind_safe::UnwindSafe
impl<'sl> bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> bitcoin_consensus_encoding::ExactSizeEncoder for bitcoin_consensus_encoding::BytesEncoder<'sl>
impl<'sl> core::marker::Freeze for bitcoin_consensus_encoding::BytesEncoder<'sl>
@@ -288,9 +288,9 @@ pub fn bitcoin_consensus_encoding::Decoder::end(self) -> core::result::Result<Se
pub fn bitcoin_consensus_encoding::Decoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_consensus_encoding::Decoder::read_limit(&self) -> usize
pub fn bitcoin_consensus_encoding::Encodable::encoder(&self) -> Self::Encoder
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::len(&self) -> usize
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::new(encodable: &'s T) -> Self
-pub fn bitcoin_consensus_encoding::EncodableByteIter<'s, T>::next(&mut self) -> core::option::Option<Self::Item>
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::len(&self) -> usize
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::new(encodable: &'e T) -> Self
+pub fn bitcoin_consensus_encoding::EncodableByteIter<'e, T>::next(&mut self) -> core::option::Option<Self::Item>
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::advance(&mut self) -> bool
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::current_chunk(&self) -> &[u8]
pub fn bitcoin_consensus_encoding::Encoder2<A, B>::len(&self) -> usize
@@ -329,7 +329,7 @@ pub struct bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus
pub struct bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder
pub struct bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder, B: bitcoin_consensus_encoding::Decoder, C: bitcoin_consensus_encoding::Decoder, D: bitcoin_consensus_encoding::Decoder, E: bitcoin_consensus_encoding::Decoder, F: bitcoin_consensus_encoding::Decoder
-pub struct bitcoin_consensus_encoding::EncodableByteIter<'s, T: bitcoin_consensus_encoding::Encodable + 's>
+pub struct bitcoin_consensus_encoding::EncodableByteIter<'e, T: bitcoin_consensus_encoding::Encodable + 'e>
pub struct bitcoin_consensus_encoding::Encoder2<A, B>
pub struct bitcoin_consensus_encoding::Encoder3<A, B, C>
pub struct bitcoin_consensus_encoding::Encoder4<A, B, C, D>
@@ -356,5 +356,5 @@ pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Error = bitcoin
pub type bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::Output = (<A as bitcoin_consensus_encoding::Decoder>::Output, <B as bitcoin_consensus_encoding::Decoder>::Output, <C as bitcoin_consensus_encoding::Decoder>::Output, <D as bitcoin_consensus_encoding::Decoder>::Output, <E as bitcoin_consensus_encoding::Decoder>::Output, <F as bitcoin_consensus_encoding::Decoder>::Output)
pub type bitcoin_consensus_encoding::Decoder::Error
pub type bitcoin_consensus_encoding::Decoder::Output
-pub type bitcoin_consensus_encoding::Encodable::Encoder<'s> where Self: 's: bitcoin_consensus_encoding::Encoder
-pub type bitcoin_consensus_encoding::EncodableByteIter<'s, T>::Item = u8
+pub type bitcoin_consensus_encoding::Encodable::Encoder<'e> where Self: 'e: bitcoin_consensus_encoding::Encoder
+pub type bitcoin_consensus_encoding::EncodableByteIter<'e, T>::Item = u8
diff --git a/api/primitives/all-features.txt b/api/primitives/all-features.txt
index 323d71d9..f4e19210 100644
--- a/api/primitives/all-features.txt
+++ b/api/primitives/all-features.txt
@@ -40,20 +40,8 @@ impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::trans
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::WitnessesEncoder<'_>
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::witness::WitnessEncoder<'_>
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder
impl bitcoin_primitives::BlockHash
impl bitcoin_primitives::Ntxid
impl bitcoin_primitives::TxMerkleNode
@@ -527,24 +515,19 @@ impl core::marker::Freeze for bitcoin_primitives::block::BlockDecoder
impl core::marker::Freeze for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Freeze for bitcoin_primitives::block::Checked
impl core::marker::Freeze for bitcoin_primitives::block::Header
impl core::marker::Freeze for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Freeze for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Freeze for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Freeze for bitcoin_primitives::block::ParseHeaderError
impl core::marker::Freeze for bitcoin_primitives::block::Unchecked
impl core::marker::Freeze for bitcoin_primitives::block::Version
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTarget
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Freeze for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Freeze for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Freeze for bitcoin_primitives::script::ScriptBufDecoderError
@@ -574,7 +557,6 @@ impl core::marker::Freeze for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Freeze for bitcoin_primitives::transaction::Version
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Freeze for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Freeze for bitcoin_primitives::witness::Witness
impl core::marker::Freeze for bitcoin_primitives::witness::WitnessDecoder
@@ -590,24 +572,19 @@ impl core::marker::Send for bitcoin_primitives::block::BlockDecoder
impl core::marker::Send for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Send for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Send for bitcoin_primitives::block::Checked
impl core::marker::Send for bitcoin_primitives::block::Header
impl core::marker::Send for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Send for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Send for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Send for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Send for bitcoin_primitives::block::ParseHeaderError
impl core::marker::Send for bitcoin_primitives::block::Unchecked
impl core::marker::Send for bitcoin_primitives::block::Version
impl core::marker::Send for bitcoin_primitives::block::VersionDecoder
impl core::marker::Send for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTarget
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Send for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Send for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Send for bitcoin_primitives::script::ScriptBufDecoderError
@@ -637,7 +614,6 @@ impl core::marker::Send for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Send for bitcoin_primitives::transaction::Version
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Send for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Send for bitcoin_primitives::witness::Witness
impl core::marker::Send for bitcoin_primitives::witness::WitnessDecoder
@@ -696,24 +672,19 @@ impl core::marker::Sync for bitcoin_primitives::block::BlockDecoder
impl core::marker::Sync for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Sync for bitcoin_primitives::block::Checked
impl core::marker::Sync for bitcoin_primitives::block::Header
impl core::marker::Sync for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Sync for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Sync for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Sync for bitcoin_primitives::block::ParseHeaderError
impl core::marker::Sync for bitcoin_primitives::block::Unchecked
impl core::marker::Sync for bitcoin_primitives::block::Version
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTarget
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Sync for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Sync for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Sync for bitcoin_primitives::script::ScriptBufDecoderError
@@ -743,7 +714,6 @@ impl core::marker::Sync for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Sync for bitcoin_primitives::transaction::Version
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Sync for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Sync for bitcoin_primitives::witness::Witness
impl core::marker::Sync for bitcoin_primitives::witness::WitnessDecoder
@@ -759,24 +729,19 @@ impl core::marker::Unpin for bitcoin_primitives::block::BlockDecoder
impl core::marker::Unpin for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Unpin for bitcoin_primitives::block::Checked
impl core::marker::Unpin for bitcoin_primitives::block::Header
impl core::marker::Unpin for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Unpin for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Unpin for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Unpin for bitcoin_primitives::block::ParseHeaderError
impl core::marker::Unpin for bitcoin_primitives::block::Unchecked
impl core::marker::Unpin for bitcoin_primitives::block::Version
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTarget
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Unpin for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Unpin for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Unpin for bitcoin_primitives::script::ScriptBufDecoderError
@@ -806,7 +771,6 @@ impl core::marker::Unpin for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Unpin for bitcoin_primitives::transaction::Version
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Unpin for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Unpin for bitcoin_primitives::witness::Witness
impl core::marker::Unpin for bitcoin_primitives::witness::WitnessDecoder
@@ -823,24 +787,19 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Bloc
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockDecoderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Checked
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Header
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::InvalidBlockError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::ParseHeaderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Unchecked
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::RedeemScriptSizeError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::RedeemScriptTag
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::ScriptBufDecoderError
@@ -870,7 +829,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::UnexpectedEofError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::Witness
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessDecoder
@@ -886,24 +844,19 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockDe
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Checked
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Header
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::InvalidBlockError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::ParseHeaderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Unchecked
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::RedeemScriptSizeError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::RedeemScriptTag
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::ScriptBufDecoderError
@@ -933,7 +886,6 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::T
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::UnexpectedEofError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::Witness
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessDecoder
@@ -995,17 +947,11 @@ impl<'a> core::clone::Clone for bitcoin_primitives::witness::Iter<'a>
impl<'a> core::iter::traits::collect::IntoIterator for &'a bitcoin_primitives::witness::Witness
impl<'a> core::iter::traits::iterator::Iterator for bitcoin_primitives::witness::Iter<'a>
impl<'a> core::marker::Freeze for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Freeze for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Send for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Send for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Sync for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Sync for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Unpin for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Unpin for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'de, T> serde::de::Deserialize<'de> for &'de bitcoin_primitives::script::Script<T>
impl<'de, T> serde::de::Deserialize<'de> for bitcoin_primitives::script::ScriptBuf<T>
impl<'de> serde::de::Deserialize<'de> for bitcoin_primitives::BlockHash
@@ -1023,56 +969,122 @@ impl<'de> serde::de::Deserialize<'de> for bitcoin_primitives::transaction::OutPo
impl<'de> serde::de::Deserialize<'de> for bitcoin_primitives::transaction::Version
impl<'de> serde::de::Deserialize<'de> for bitcoin_primitives::witness::Witness
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_primitives::pow::CompactTargetEncoder<'e>
+impl<'e> bitcoin_primitives::script::ScriptEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TransactionEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TxInEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> bitcoin_primitives::transaction::WitnessesEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<T: 'static> core::default::Default for &bitcoin_primitives::script::Script<T>
impl<T: bitcoin_primitives::script::ScriptHashableTag> core::convert::TryFrom<&bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptHash
impl<T: bitcoin_primitives::script::ScriptHashableTag> core::convert::TryFrom<&bitcoin_primitives::script::ScriptBuf<T>> for bitcoin_primitives::script::ScriptHash
@@ -1491,6 +1503,7 @@ pub fn bitcoin_primitives::block::BlockDecoderError::from(never: core::convert::
pub fn bitcoin_primitives::block::BlockDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::block::BlockEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::BlockEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>) -> bitcoin_primitives::block::BlockEncoder<'e>
pub fn bitcoin_primitives::block::BlockHashDecoder::default() -> Self
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1501,9 +1514,10 @@ pub fn bitcoin_primitives::block::BlockHashDecoderError::fmt(&self, f: &mut core
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::block::BlockHashDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_primitives::block::BlockHashEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::BlockHashEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::BlockHashEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::Checked::clone(&self) -> bitcoin_primitives::block::Checked
pub fn bitcoin_primitives::block::Checked::cmp(&self, other: &bitcoin_primitives::block::Checked) -> core::cmp::Ordering
pub fn bitcoin_primitives::block::Checked::eq(&self, other: &bitcoin_primitives::block::Checked) -> bool
@@ -1529,9 +1543,10 @@ pub fn bitcoin_primitives::block::HeaderDecoderError::eq(&self, other: &bitcoin_
pub fn bitcoin_primitives::block::HeaderDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::HeaderDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::block::HeaderDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_primitives::block::HeaderEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::HeaderEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::HeaderEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder6<bitcoin_primitives::block::VersionEncoder<'e>, bitcoin_primitives::block::BlockHashEncoder<'e>, bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>, bitcoin_units::time::BlockTimeEncoder<'e>, bitcoin_primitives::pow::CompactTargetEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::InvalidBlockError::clone(&self) -> bitcoin_primitives::block::InvalidBlockError
pub fn bitcoin_primitives::block::InvalidBlockError::eq(&self, other: &bitcoin_primitives::block::InvalidBlockError) -> bool
pub fn bitcoin_primitives::block::InvalidBlockError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -1567,14 +1582,16 @@ pub fn bitcoin_primitives::block::VersionDecoderError::fmt(&self, f: &mut core::
pub fn bitcoin_primitives::block::VersionDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::VersionDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::block::VersionDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_primitives::block::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::VersionEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::compute_merkle_root(transactions: &[bitcoin_primitives::transaction::Transaction]) -> core::option::Option<bitcoin_primitives::TxMerkleNode>
pub fn bitcoin_primitives::block::compute_witness_root(transactions: &[bitcoin_primitives::transaction::Transaction]) -> core::option::Option<bitcoin_primitives::WitnessMerkleNode>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::pow::CompactTarget::clone(&self) -> bitcoin_primitives::pow::CompactTarget
pub fn bitcoin_primitives::pow::CompactTarget::cmp(&self, other: &bitcoin_primitives::pow::CompactTarget) -> core::cmp::Ordering
pub fn bitcoin_primitives::pow::CompactTarget::decoder() -> Self::Decoder
@@ -1597,9 +1614,10 @@ pub fn bitcoin_primitives::pow::CompactTargetDecoderError::fmt(&self, f: &mut co
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub fn bitcoin_primitives::script::RedeemScriptSizeError::clone(&self) -> bitcoin_primitives::script::RedeemScriptSizeError
pub fn bitcoin_primitives::script::RedeemScriptSizeError::eq(&self, other: &bitcoin_primitives::script::RedeemScriptSizeError) -> bool
pub fn bitcoin_primitives::script::RedeemScriptSizeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -1683,6 +1701,7 @@ pub fn bitcoin_primitives::script::ScriptBufDecoderError::source(&self) -> core:
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::script::ScriptEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::BytesEncoder<'e>>) -> bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::ScriptHash::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn bitcoin_primitives::script::ScriptHash::as_ref(&self) -> &[u8; 20]
pub fn bitcoin_primitives::script::ScriptHash::as_ref(&self) -> &[u8]
@@ -1769,6 +1788,7 @@ pub fn bitcoin_primitives::transaction::OutPointDecoderError::source(&self) -> c
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::BytesEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::ParseOutPointError::clone(&self) -> bitcoin_primitives::transaction::ParseOutPointError
pub fn bitcoin_primitives::transaction::ParseOutPointError::eq(&self, other: &bitcoin_primitives::transaction::ParseOutPointError) -> bool
pub fn bitcoin_primitives::transaction::ParseOutPointError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -1806,6 +1826,7 @@ pub fn bitcoin_primitives::transaction::TransactionDecoderError::from(never: cor
pub fn bitcoin_primitives::transaction::TransactionDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder6<bitcoin_primitives::transaction::VersionEncoder<'e>, core::option::Option<bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<2>>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::TxIn>>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::TxOut>>, core::option::Option<bitcoin_primitives::transaction::WitnessesEncoder<'e>>, bitcoin_units::locktime::absolute::LockTimeEncoder<'e>>) -> bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::TxIn::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn bitcoin_primitives::transaction::TxIn::clone(&self) -> bitcoin_primitives::transaction::TxIn
pub fn bitcoin_primitives::transaction::TxIn::cmp(&self, other: &bitcoin_primitives::transaction::TxIn) -> core::cmp::Ordering
@@ -1825,6 +1846,7 @@ pub fn bitcoin_primitives::transaction::TxInDecoderError::from(never: core::conv
pub fn bitcoin_primitives::transaction::TxInDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>) -> bitcoin_primitives::transaction::TxInEncoder<'e>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::default() -> Self
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1854,6 +1876,7 @@ pub fn bitcoin_primitives::transaction::TxOutDecoderError::from(never: core::con
pub fn bitcoin_primitives::transaction::TxOutDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>) -> bitcoin_primitives::transaction::TxOutEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn bitcoin_primitives::transaction::Version::clone(&self) -> bitcoin_primitives::transaction::Version
pub fn bitcoin_primitives::transaction::Version::cmp(&self, other: &bitcoin_primitives::transaction::Version) -> core::cmp::Ordering
@@ -1874,9 +1897,10 @@ pub fn bitcoin_primitives::transaction::VersionDecoderError::eq(&self, other: &b
pub fn bitcoin_primitives::transaction::VersionDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::transaction::VersionDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::transaction::VersionDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_primitives::transaction::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::transaction::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::transaction::VersionEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::new(inputs: &'e [bitcoin_primitives::transaction::TxIn]) -> Self
@@ -1970,32 +1994,32 @@ pub struct bitcoin_primitives::Wtxid(_)
pub struct bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
pub struct bitcoin_primitives::block::BlockDecoder(_)
pub struct bitcoin_primitives::block::BlockDecoderError(_)
-pub struct bitcoin_primitives::block::BlockEncoder<'e>(_)
+pub struct bitcoin_primitives::block::BlockEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::BlockHash(_)
pub struct bitcoin_primitives::block::BlockHashDecoder(_)
pub struct bitcoin_primitives::block::BlockHashDecoderError(_)
-pub struct bitcoin_primitives::block::BlockHashEncoder(_)
+pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::Header
pub struct bitcoin_primitives::block::HeaderDecoder(_)
-pub struct bitcoin_primitives::block::HeaderEncoder(_)
+pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::ParseHeaderError(_)
pub struct bitcoin_primitives::block::Version(_)
pub struct bitcoin_primitives::block::VersionDecoder(_)
pub struct bitcoin_primitives::block::VersionDecoderError(_)
-pub struct bitcoin_primitives::block::VersionEncoder(_)
+pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::WitnessCommitment(_)
pub struct bitcoin_primitives::merkle_tree::TxMerkleNode(_)
-pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder(_)
+pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
pub struct bitcoin_primitives::merkle_tree::WitnessMerkleNode(_)
pub struct bitcoin_primitives::pow::CompactTarget(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoder(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoderError(_)
-pub struct bitcoin_primitives::pow::CompactTargetEncoder(_)
+pub struct bitcoin_primitives::pow::CompactTargetEncoder<'e>(_, _)
pub struct bitcoin_primitives::script::RedeemScriptSizeError
pub struct bitcoin_primitives::script::ScriptBuf<T>(_, _)
pub struct bitcoin_primitives::script::ScriptBufDecoder<T>(_, _)
pub struct bitcoin_primitives::script::ScriptBufDecoderError(_)
-pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_)
+pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_, _)
pub struct bitcoin_primitives::script::ScriptHash(_)
pub struct bitcoin_primitives::script::WScriptHash(_)
pub struct bitcoin_primitives::script::WitnessScriptSizeError
@@ -2005,27 +2029,27 @@ pub struct bitcoin_primitives::transaction::Ntxid(_)
pub struct bitcoin_primitives::transaction::OutPoint
pub struct bitcoin_primitives::transaction::OutPointDecoder(_)
pub struct bitcoin_primitives::transaction::OutPointDecoderError(_)
-pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::ParseTransactionError(_)
pub struct bitcoin_primitives::transaction::Transaction
pub struct bitcoin_primitives::transaction::TransactionDecoder
pub struct bitcoin_primitives::transaction::TransactionDecoderError(_)
-pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::TxIn
pub struct bitcoin_primitives::transaction::TxInDecoder(_)
pub struct bitcoin_primitives::transaction::TxInDecoderError(_)
-pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoder(_)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoderError(_)
pub struct bitcoin_primitives::transaction::TxOut
pub struct bitcoin_primitives::transaction::TxOutDecoder(_)
pub struct bitcoin_primitives::transaction::TxOutDecoderError(_)
-pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::Txid(_)
pub struct bitcoin_primitives::transaction::Version(_)
pub struct bitcoin_primitives::transaction::VersionDecoder(_)
pub struct bitcoin_primitives::transaction::VersionDecoderError(_)
-pub struct bitcoin_primitives::transaction::VersionEncoder(_)
+pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub struct bitcoin_primitives::transaction::Wtxid(_)
pub struct bitcoin_primitives::witness::Iter<'a>
@@ -2033,7 +2057,7 @@ pub struct bitcoin_primitives::witness::UnexpectedEofError
pub struct bitcoin_primitives::witness::Witness
pub struct bitcoin_primitives::witness::WitnessDecoder
pub struct bitcoin_primitives::witness::WitnessDecoderError(_)
-pub struct bitcoin_primitives::witness::WitnessEncoder<'a>(_)
+pub struct bitcoin_primitives::witness::WitnessEncoder<'e>(_)
pub trait bitcoin_primitives::BlockValidation: bitcoin_primitives::block::sealed::Validation + core::marker::Sync + core::marker::Send + core::marker::Sized + core::marker::Unpin
pub trait bitcoin_primitives::block::Validation: bitcoin_primitives::block::sealed::Validation + core::marker::Sync + core::marker::Send + core::marker::Sized + core::marker::Unpin
pub trait bitcoin_primitives::script::ScriptHashableTag: bitcoin_primitives::script::sealed::Sealed
@@ -2041,7 +2065,7 @@ pub trait bitcoin_primitives::script::Tag
pub type &'a bitcoin_primitives::witness::Witness::IntoIter = bitcoin_primitives::witness::Iter<'a>
pub type &'a bitcoin_primitives::witness::Witness::Item = &'a [u8]
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder
+pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub type bitcoin_primitives::BlockHash::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::Ntxid::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::RedeemScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::RedeemScriptTag>
@@ -2053,38 +2077,38 @@ pub type bitcoin_primitives::ScriptSigBuf = bitcoin_primitives::script::ScriptBu
pub type bitcoin_primitives::TapScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::TapScriptTag>
pub type bitcoin_primitives::TapScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::TapScriptTag>
pub type bitcoin_primitives::TxMerkleNode::Decoder = bitcoin_primitives::transaction::TxMerkleNodeDecoder
-pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
+pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub type bitcoin_primitives::TxMerkleNode::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::Txid::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::WitnessCommitment::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder
+pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub type bitcoin_primitives::WitnessMerkleNode::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::WitnessScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::WitnessScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::Wtxid::Err = hex_conservative::error::DecodeFixedLengthBytesError
pub type bitcoin_primitives::block::Block::Decoder = bitcoin_primitives::block::BlockDecoder
-pub type bitcoin_primitives::block::Block::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
+pub type bitcoin_primitives::block::Block::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::BlockDecoderError
pub type bitcoin_primitives::block::BlockDecoder::Output = bitcoin_primitives::block::Block
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder
+pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub type bitcoin_primitives::block::Header::Err = bitcoin_primitives::block::ParseHeaderError
pub type bitcoin_primitives::block::HeaderDecoder::Error = bitcoin_primitives::block::HeaderDecoderError
pub type bitcoin_primitives::block::HeaderDecoder::Output = bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder
+pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub type bitcoin_primitives::pow::CompactTarget::Decoder = bitcoin_primitives::pow::CompactTargetDecoder
-pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder
+pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub type bitcoin_primitives::pow::CompactTargetDecoder::Error = bitcoin_primitives::pow::CompactTargetDecoderError
pub type bitcoin_primitives::pow::CompactTargetDecoder::Output = bitcoin_primitives::pow::CompactTarget
pub type bitcoin_primitives::script::RedeemScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::RedeemScriptTag>
pub type bitcoin_primitives::script::RedeemScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::RedeemScriptTag>
-pub type bitcoin_primitives::script::Script<T>::Encoder<'a> where Self: 'a = bitcoin_primitives::script::ScriptEncoder<'a>
+pub type bitcoin_primitives::script::Script<T>::Encoder<'e> where Self: 'e = bitcoin_primitives::script::ScriptEncoder<'e>
pub type bitcoin_primitives::script::Script<T>::Output = bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Owned = bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
@@ -2116,22 +2140,22 @@ pub type bitcoin_primitives::transaction::Transaction::Err = bitcoin_primitives:
pub type bitcoin_primitives::transaction::TransactionDecoder::Error = bitcoin_primitives::transaction::TransactionDecoderError
pub type bitcoin_primitives::transaction::TransactionDecoder::Output = bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-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>
+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 type bitcoin_primitives::transaction::TxInDecoder::Error = bitcoin_primitives::transaction::TxInDecoderError
pub type bitcoin_primitives::transaction::TxInDecoder::Output = bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Error = bitcoin_primitives::transaction::TxMerkleNodeDecoderError
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Output = bitcoin_primitives::TxMerkleNode
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder, bitcoin_primitives::script::ScriptEncoder<'e>>
+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 type bitcoin_primitives::transaction::TxOutDecoder::Error = bitcoin_primitives::transaction::TxOutDecoderError
pub type bitcoin_primitives::transaction::TxOutDecoder::Output = bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder
+pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::witness::Iter<'a>::Item = &'a [u8]
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub type bitcoin_primitives::witness::Witness::Encoder<'a> where Self: 'a = bitcoin_primitives::witness::WitnessEncoder<'a>
+pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub type bitcoin_primitives::witness::Witness::Output = [u8]
pub type bitcoin_primitives::witness::WitnessDecoder::Error = bitcoin_primitives::witness::WitnessDecoderError
pub type bitcoin_primitives::witness::WitnessDecoder::Output = bitcoin_primitives::witness::Witness
diff --git a/api/primitives/alloc-only.txt b/api/primitives/alloc-only.txt
index f6b7bd2d..1880ca62 100644
--- a/api/primitives/alloc-only.txt
+++ b/api/primitives/alloc-only.txt
@@ -39,20 +39,8 @@ impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::trans
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::TxOut
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::witness::Witness
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::WitnessesEncoder<'_>
impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::witness::WitnessEncoder<'_>
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder
impl bitcoin_primitives::BlockHash
impl bitcoin_primitives::Ntxid
impl bitcoin_primitives::TxMerkleNode
@@ -462,23 +450,18 @@ impl core::marker::Freeze for bitcoin_primitives::block::BlockDecoder
impl core::marker::Freeze for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Freeze for bitcoin_primitives::block::Checked
impl core::marker::Freeze for bitcoin_primitives::block::Header
impl core::marker::Freeze for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Freeze for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Freeze for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Freeze for bitcoin_primitives::block::Unchecked
impl core::marker::Freeze for bitcoin_primitives::block::Version
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTarget
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Freeze for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Freeze for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Freeze for bitcoin_primitives::script::ScriptBufDecoderError
@@ -506,7 +489,6 @@ impl core::marker::Freeze for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Freeze for bitcoin_primitives::transaction::Version
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Freeze for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Freeze for bitcoin_primitives::witness::Witness
impl core::marker::Freeze for bitcoin_primitives::witness::WitnessDecoder
@@ -522,23 +504,18 @@ impl core::marker::Send for bitcoin_primitives::block::BlockDecoder
impl core::marker::Send for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Send for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Send for bitcoin_primitives::block::Checked
impl core::marker::Send for bitcoin_primitives::block::Header
impl core::marker::Send for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Send for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Send for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Send for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Send for bitcoin_primitives::block::Unchecked
impl core::marker::Send for bitcoin_primitives::block::Version
impl core::marker::Send for bitcoin_primitives::block::VersionDecoder
impl core::marker::Send for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTarget
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Send for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Send for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Send for bitcoin_primitives::script::ScriptBufDecoderError
@@ -566,7 +543,6 @@ impl core::marker::Send for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Send for bitcoin_primitives::transaction::Version
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Send for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Send for bitcoin_primitives::witness::Witness
impl core::marker::Send for bitcoin_primitives::witness::WitnessDecoder
@@ -624,23 +600,18 @@ impl core::marker::Sync for bitcoin_primitives::block::BlockDecoder
impl core::marker::Sync for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Sync for bitcoin_primitives::block::Checked
impl core::marker::Sync for bitcoin_primitives::block::Header
impl core::marker::Sync for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Sync for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Sync for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Sync for bitcoin_primitives::block::Unchecked
impl core::marker::Sync for bitcoin_primitives::block::Version
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTarget
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Sync for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Sync for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Sync for bitcoin_primitives::script::ScriptBufDecoderError
@@ -668,7 +639,6 @@ impl core::marker::Sync for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Sync for bitcoin_primitives::transaction::Version
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Sync for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Sync for bitcoin_primitives::witness::Witness
impl core::marker::Sync for bitcoin_primitives::witness::WitnessDecoder
@@ -684,23 +654,18 @@ impl core::marker::Unpin for bitcoin_primitives::block::BlockDecoder
impl core::marker::Unpin for bitcoin_primitives::block::BlockDecoderError
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Unpin for bitcoin_primitives::block::Checked
impl core::marker::Unpin for bitcoin_primitives::block::Header
impl core::marker::Unpin for bitcoin_primitives::block::HeaderDecoder
impl core::marker::Unpin for bitcoin_primitives::block::HeaderDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Unpin for bitcoin_primitives::block::InvalidBlockError
impl core::marker::Unpin for bitcoin_primitives::block::Unchecked
impl core::marker::Unpin for bitcoin_primitives::block::Version
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTarget
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Unpin for bitcoin_primitives::script::RedeemScriptSizeError
impl core::marker::Unpin for bitcoin_primitives::script::RedeemScriptTag
impl core::marker::Unpin for bitcoin_primitives::script::ScriptBufDecoderError
@@ -728,7 +693,6 @@ impl core::marker::Unpin for bitcoin_primitives::transaction::TxOutDecoderError
impl core::marker::Unpin for bitcoin_primitives::transaction::Version
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Unpin for bitcoin_primitives::witness::UnexpectedEofError
impl core::marker::Unpin for bitcoin_primitives::witness::Witness
impl core::marker::Unpin for bitcoin_primitives::witness::WitnessDecoder
@@ -745,23 +709,18 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Bloc
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockDecoderError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Checked
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Header
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::InvalidBlockError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Unchecked
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::RedeemScriptSizeError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::RedeemScriptTag
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::ScriptBufDecoderError
@@ -789,7 +748,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::UnexpectedEofError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::Witness
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessDecoder
@@ -805,23 +763,18 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockDe
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockDecoderError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Checked
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Header
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::InvalidBlockError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Unchecked
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::RedeemScriptSizeError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::RedeemScriptTag
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::ScriptBufDecoderError
@@ -849,7 +802,6 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::T
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::UnexpectedEofError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::Witness
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessDecoder
@@ -865,68 +817,128 @@ impl<'a> core::clone::Clone for bitcoin_primitives::witness::Iter<'a>
impl<'a> core::iter::traits::collect::IntoIterator for &'a bitcoin_primitives::witness::Witness
impl<'a> core::iter::traits::iterator::Iterator for bitcoin_primitives::witness::Iter<'a>
impl<'a> core::marker::Freeze for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Freeze for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Send for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Send for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Sync for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Sync for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::marker::Unpin for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::marker::Unpin for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'a> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::Iter<'a>
-impl<'a> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'a>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_primitives::pow::CompactTargetEncoder<'e>
+impl<'e> bitcoin_primitives::script::ScriptEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TransactionEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TxInEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> bitcoin_primitives::transaction::WitnessesEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::script::ScriptEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TransactionEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TxInEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::TxOutEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::WitnessesEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::witness::WitnessEncoder<'e>
impl<T: 'static> core::default::Default for &bitcoin_primitives::script::Script<T>
impl<T: bitcoin_primitives::script::ScriptHashableTag> core::convert::TryFrom<&bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptHash
impl<T: bitcoin_primitives::script::ScriptHashableTag> core::convert::TryFrom<&bitcoin_primitives::script::ScriptBuf<T>> for bitcoin_primitives::script::ScriptHash
@@ -1301,6 +1313,7 @@ pub fn bitcoin_primitives::block::BlockDecoderError::fmt(&self, f: &mut core::fm
pub fn bitcoin_primitives::block::BlockDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::block::BlockEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::block::BlockEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::BlockEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>) -> bitcoin_primitives::block::BlockEncoder<'e>
pub fn bitcoin_primitives::block::BlockHashDecoder::default() -> Self
pub fn bitcoin_primitives::block::BlockHashDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_primitives::block::BlockHashDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1310,9 +1323,10 @@ pub fn bitcoin_primitives::block::BlockHashDecoderError::eq(&self, other: &bitco
pub fn bitcoin_primitives::block::BlockHashDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::block::BlockHashEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::BlockHashEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::BlockHashEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::Checked::clone(&self) -> bitcoin_primitives::block::Checked
pub fn bitcoin_primitives::block::Checked::cmp(&self, other: &bitcoin_primitives::block::Checked) -> core::cmp::Ordering
pub fn bitcoin_primitives::block::Checked::eq(&self, other: &bitcoin_primitives::block::Checked) -> bool
@@ -1335,9 +1349,10 @@ pub fn bitcoin_primitives::block::HeaderDecoderError::clone(&self) -> bitcoin_pr
pub fn bitcoin_primitives::block::HeaderDecoderError::eq(&self, other: &bitcoin_primitives::block::HeaderDecoderError) -> bool
pub fn bitcoin_primitives::block::HeaderDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::HeaderDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::block::HeaderEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::HeaderEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::HeaderEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder6<bitcoin_primitives::block::VersionEncoder<'e>, bitcoin_primitives::block::BlockHashEncoder<'e>, bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>, bitcoin_units::time::BlockTimeEncoder<'e>, bitcoin_primitives::pow::CompactTargetEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::InvalidBlockError::clone(&self) -> bitcoin_primitives::block::InvalidBlockError
pub fn bitcoin_primitives::block::InvalidBlockError::eq(&self, other: &bitcoin_primitives::block::InvalidBlockError) -> bool
pub fn bitcoin_primitives::block::InvalidBlockError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -1367,14 +1382,16 @@ pub fn bitcoin_primitives::block::VersionDecoderError::eq(&self, other: &bitcoin
pub fn bitcoin_primitives::block::VersionDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::VersionDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::VersionDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::block::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::VersionEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::compute_merkle_root(transactions: &[bitcoin_primitives::transaction::Transaction]) -> core::option::Option<bitcoin_primitives::TxMerkleNode>
pub fn bitcoin_primitives::block::compute_witness_root(transactions: &[bitcoin_primitives::transaction::Transaction]) -> core::option::Option<bitcoin_primitives::WitnessMerkleNode>
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::pow::CompactTarget::clone(&self) -> bitcoin_primitives::pow::CompactTarget
pub fn bitcoin_primitives::pow::CompactTarget::cmp(&self, other: &bitcoin_primitives::pow::CompactTarget) -> core::cmp::Ordering
pub fn bitcoin_primitives::pow::CompactTarget::decoder() -> Self::Decoder
@@ -1394,9 +1411,10 @@ pub fn bitcoin_primitives::pow::CompactTargetDecoderError::eq(&self, other: &bit
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub fn bitcoin_primitives::script::RedeemScriptSizeError::clone(&self) -> bitcoin_primitives::script::RedeemScriptSizeError
pub fn bitcoin_primitives::script::RedeemScriptSizeError::eq(&self, other: &bitcoin_primitives::script::RedeemScriptSizeError) -> bool
pub fn bitcoin_primitives::script::RedeemScriptSizeError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
@@ -1473,6 +1491,7 @@ pub fn bitcoin_primitives::script::ScriptBufDecoderError::from(never: core::conv
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::script::ScriptEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::script::ScriptEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::BytesEncoder<'e>>) -> bitcoin_primitives::script::ScriptEncoder<'e>
pub fn bitcoin_primitives::script::ScriptHash::as_ref(&self) -> &[u8; 20]
pub fn bitcoin_primitives::script::ScriptHash::as_ref(&self) -> &[u8]
pub fn bitcoin_primitives::script::ScriptHash::borrow(&self) -> &[u8; 20]
@@ -1546,6 +1565,7 @@ pub fn bitcoin_primitives::transaction::OutPointDecoderError::fmt(&self, f: &mut
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::BytesEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::clone(&self) -> bitcoin_primitives::transaction::Transaction
pub fn bitcoin_primitives::transaction::Transaction::cmp(&self, other: &Self) -> core::cmp::Ordering
pub fn bitcoin_primitives::transaction::Transaction::compute_ntxid(&self) -> bitcoin_primitives::Ntxid
@@ -1573,6 +1593,7 @@ pub fn bitcoin_primitives::transaction::TransactionDecoderError::from(e: bitcoin
pub fn bitcoin_primitives::transaction::TransactionDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TransactionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder6<bitcoin_primitives::transaction::VersionEncoder<'e>, core::option::Option<bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<2>>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::TxIn>>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::TxOut>>, core::option::Option<bitcoin_primitives::transaction::WitnessesEncoder<'e>>, bitcoin_units::locktime::absolute::LockTimeEncoder<'e>>) -> bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::TxIn::clone(&self) -> bitcoin_primitives::transaction::TxIn
pub fn bitcoin_primitives::transaction::TxIn::cmp(&self, other: &bitcoin_primitives::transaction::TxIn) -> core::cmp::Ordering
pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
@@ -1590,6 +1611,7 @@ pub fn bitcoin_primitives::transaction::TxInDecoderError::fmt(&self, f: &mut cor
pub fn bitcoin_primitives::transaction::TxInDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TxInEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>) -> bitcoin_primitives::transaction::TxInEncoder<'e>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::default() -> Self
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -1616,6 +1638,7 @@ pub fn bitcoin_primitives::transaction::TxOutDecoderError::fmt(&self, f: &mut co
pub fn bitcoin_primitives::transaction::TxOutDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::TxOutEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>) -> bitcoin_primitives::transaction::TxOutEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::clone(&self) -> bitcoin_primitives::transaction::Version
pub fn bitcoin_primitives::transaction::Version::cmp(&self, other: &bitcoin_primitives::transaction::Version) -> core::cmp::Ordering
pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
@@ -1632,9 +1655,10 @@ pub fn bitcoin_primitives::transaction::VersionDecoderError::clone(&self) -> bit
pub fn bitcoin_primitives::transaction::VersionDecoderError::eq(&self, other: &bitcoin_primitives::transaction::VersionDecoderError) -> bool
pub fn bitcoin_primitives::transaction::VersionDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::transaction::VersionDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::transaction::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::transaction::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::transaction::VersionEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'_>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::transaction::WitnessesEncoder<'e>::new(inputs: &'e [bitcoin_primitives::transaction::TxIn]) -> Self
@@ -1723,31 +1747,31 @@ pub struct bitcoin_primitives::Wtxid(_)
pub struct bitcoin_primitives::block::Block<V> where V: bitcoin_primitives::block::Validation
pub struct bitcoin_primitives::block::BlockDecoder(_)
pub struct bitcoin_primitives::block::BlockDecoderError(_)
-pub struct bitcoin_primitives::block::BlockEncoder<'e>(_)
+pub struct bitcoin_primitives::block::BlockEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::BlockHash(_)
pub struct bitcoin_primitives::block::BlockHashDecoder(_)
pub struct bitcoin_primitives::block::BlockHashDecoderError(_)
-pub struct bitcoin_primitives::block::BlockHashEncoder(_)
+pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::Header
pub struct bitcoin_primitives::block::HeaderDecoder(_)
-pub struct bitcoin_primitives::block::HeaderEncoder(_)
+pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::Version(_)
pub struct bitcoin_primitives::block::VersionDecoder(_)
pub struct bitcoin_primitives::block::VersionDecoderError(_)
-pub struct bitcoin_primitives::block::VersionEncoder(_)
+pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::WitnessCommitment(_)
pub struct bitcoin_primitives::merkle_tree::TxMerkleNode(_)
-pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder(_)
+pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
pub struct bitcoin_primitives::merkle_tree::WitnessMerkleNode(_)
pub struct bitcoin_primitives::pow::CompactTarget(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoder(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoderError(_)
-pub struct bitcoin_primitives::pow::CompactTargetEncoder(_)
+pub struct bitcoin_primitives::pow::CompactTargetEncoder<'e>(_, _)
pub struct bitcoin_primitives::script::RedeemScriptSizeError
pub struct bitcoin_primitives::script::ScriptBuf<T>(_, _)
pub struct bitcoin_primitives::script::ScriptBufDecoder<T>(_, _)
pub struct bitcoin_primitives::script::ScriptBufDecoderError(_)
-pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_)
+pub struct bitcoin_primitives::script::ScriptEncoder<'e>(_, _)
pub struct bitcoin_primitives::script::ScriptHash(_)
pub struct bitcoin_primitives::script::WScriptHash(_)
pub struct bitcoin_primitives::script::WitnessScriptSizeError
@@ -1757,26 +1781,26 @@ pub struct bitcoin_primitives::transaction::Ntxid(_)
pub struct bitcoin_primitives::transaction::OutPoint
pub struct bitcoin_primitives::transaction::OutPointDecoder(_)
pub struct bitcoin_primitives::transaction::OutPointDecoderError(_)
-pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::Transaction
pub struct bitcoin_primitives::transaction::TransactionDecoder
pub struct bitcoin_primitives::transaction::TransactionDecoderError(_)
-pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TransactionEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::TxIn
pub struct bitcoin_primitives::transaction::TxInDecoder(_)
pub struct bitcoin_primitives::transaction::TxInDecoderError(_)
-pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TxInEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoder(_)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoderError(_)
pub struct bitcoin_primitives::transaction::TxOut
pub struct bitcoin_primitives::transaction::TxOutDecoder(_)
pub struct bitcoin_primitives::transaction::TxOutDecoderError(_)
-pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::TxOutEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::Txid(_)
pub struct bitcoin_primitives::transaction::Version(_)
pub struct bitcoin_primitives::transaction::VersionDecoder(_)
pub struct bitcoin_primitives::transaction::VersionDecoderError(_)
-pub struct bitcoin_primitives::transaction::VersionEncoder(_)
+pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::WitnessesEncoder<'e>
pub struct bitcoin_primitives::transaction::Wtxid(_)
pub struct bitcoin_primitives::witness::Iter<'a>
@@ -1784,7 +1808,7 @@ pub struct bitcoin_primitives::witness::UnexpectedEofError
pub struct bitcoin_primitives::witness::Witness
pub struct bitcoin_primitives::witness::WitnessDecoder
pub struct bitcoin_primitives::witness::WitnessDecoderError(_)
-pub struct bitcoin_primitives::witness::WitnessEncoder<'a>(_)
+pub struct bitcoin_primitives::witness::WitnessEncoder<'e>(_)
pub trait bitcoin_primitives::BlockValidation: bitcoin_primitives::block::sealed::Validation + core::marker::Sync + core::marker::Send + core::marker::Sized + core::marker::Unpin
pub trait bitcoin_primitives::block::Validation: bitcoin_primitives::block::sealed::Validation + core::marker::Sync + core::marker::Send + core::marker::Sized + core::marker::Unpin
pub trait bitcoin_primitives::script::ScriptHashableTag: bitcoin_primitives::script::sealed::Sealed
@@ -1792,7 +1816,7 @@ pub trait bitcoin_primitives::script::Tag
pub type &'a bitcoin_primitives::witness::Witness::IntoIter = bitcoin_primitives::witness::Iter<'a>
pub type &'a bitcoin_primitives::witness::Witness::Item = &'a [u8]
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder
+pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub type bitcoin_primitives::RedeemScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::RedeemScriptTag>
pub type bitcoin_primitives::RedeemScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::RedeemScriptTag>
pub type bitcoin_primitives::ScriptPubKey = bitcoin_primitives::script::Script<bitcoin_primitives::script::ScriptPubKeyTag>
@@ -1802,32 +1826,32 @@ pub type bitcoin_primitives::ScriptSigBuf = bitcoin_primitives::script::ScriptBu
pub type bitcoin_primitives::TapScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::TapScriptTag>
pub type bitcoin_primitives::TapScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::TapScriptTag>
pub type bitcoin_primitives::TxMerkleNode::Decoder = bitcoin_primitives::transaction::TxMerkleNodeDecoder
-pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
+pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub type bitcoin_primitives::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder
+pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub type bitcoin_primitives::WitnessScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::WitnessScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::WitnessScriptTag>
pub type bitcoin_primitives::block::Block::Decoder = bitcoin_primitives::block::BlockDecoder
-pub type bitcoin_primitives::block::Block::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
+pub type bitcoin_primitives::block::Block::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_primitives::block::HeaderEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::CompactSizeEncoder, bitcoin_consensus_encoding::encode::encoders::SliceEncoder<'e, bitcoin_primitives::transaction::Transaction>>>
pub type bitcoin_primitives::block::BlockDecoder::Error = bitcoin_primitives::block::BlockDecoderError
pub type bitcoin_primitives::block::BlockDecoder::Output = bitcoin_primitives::block::Block
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder
+pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub type bitcoin_primitives::block::HeaderDecoder::Error = bitcoin_primitives::block::HeaderDecoderError
pub type bitcoin_primitives::block::HeaderDecoder::Output = bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder
+pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub type bitcoin_primitives::pow::CompactTarget::Decoder = bitcoin_primitives::pow::CompactTargetDecoder
-pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder
+pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub type bitcoin_primitives::pow::CompactTargetDecoder::Error = bitcoin_primitives::pow::CompactTargetDecoderError
pub type bitcoin_primitives::pow::CompactTargetDecoder::Output = bitcoin_primitives::pow::CompactTarget
pub type bitcoin_primitives::script::RedeemScript = bitcoin_primitives::script::Script<bitcoin_primitives::script::RedeemScriptTag>
pub type bitcoin_primitives::script::RedeemScriptBuf = bitcoin_primitives::script::ScriptBuf<bitcoin_primitives::script::RedeemScriptTag>
-pub type bitcoin_primitives::script::Script<T>::Encoder<'a> where Self: 'a = bitcoin_primitives::script::ScriptEncoder<'a>
+pub type bitcoin_primitives::script::Script<T>::Encoder<'e> where Self: 'e = bitcoin_primitives::script::ScriptEncoder<'e>
pub type bitcoin_primitives::script::Script<T>::Output = bitcoin_primitives::script::Script<T>
pub type bitcoin_primitives::script::Script<T>::Owned = bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
@@ -1855,22 +1879,22 @@ pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: '
pub type bitcoin_primitives::transaction::TransactionDecoder::Error = bitcoin_primitives::transaction::TransactionDecoderError
pub type bitcoin_primitives::transaction::TransactionDecoder::Output = bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-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>
+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 type bitcoin_primitives::transaction::TxInDecoder::Error = bitcoin_primitives::transaction::TxInDecoderError
pub type bitcoin_primitives::transaction::TxInDecoder::Output = bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Error = bitcoin_primitives::transaction::TxMerkleNodeDecoderError
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Output = bitcoin_primitives::TxMerkleNode
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder, bitcoin_primitives::script::ScriptEncoder<'e>>
+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 type bitcoin_primitives::transaction::TxOutDecoder::Error = bitcoin_primitives::transaction::TxOutDecoderError
pub type bitcoin_primitives::transaction::TxOutDecoder::Output = bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder
+pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::witness::Iter<'a>::Item = &'a [u8]
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub type bitcoin_primitives::witness::Witness::Encoder<'a> where Self: 'a = bitcoin_primitives::witness::WitnessEncoder<'a>
+pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub type bitcoin_primitives::witness::Witness::Output = [u8]
pub type bitcoin_primitives::witness::WitnessDecoder::Error = bitcoin_primitives::witness::WitnessDecoderError
pub type bitcoin_primitives::witness::WitnessDecoder::Output = bitcoin_primitives::witness::Witness
diff --git a/api/primitives/no-features.txt b/api/primitives/no-features.txt
index 26e73edd..2410eaa7 100644
--- a/api/primitives/no-features.txt
+++ b/api/primitives/no-features.txt
@@ -19,18 +19,6 @@ impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::block
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::pow::CompactTarget
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::OutPoint
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_primitives::transaction::Version
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder
impl bitcoin_primitives::BlockHash
impl bitcoin_primitives::Ntxid
impl bitcoin_primitives::TxMerkleNode
@@ -234,18 +222,13 @@ impl core::marker::Freeze for bitcoin_primitives::WitnessMerkleNode
impl core::marker::Freeze for bitcoin_primitives::Wtxid
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Freeze for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Freeze for bitcoin_primitives::block::Header
-impl core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Freeze for bitcoin_primitives::block::Version
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTarget
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Freeze for bitcoin_primitives::transaction::OutPoint
impl core::marker::Freeze for bitcoin_primitives::transaction::OutPointDecoder
impl core::marker::Freeze for bitcoin_primitives::transaction::OutPointDecoderError
@@ -254,7 +237,6 @@ impl core::marker::Freeze for bitcoin_primitives::transaction::TxMerkleNodeDecod
impl core::marker::Freeze for bitcoin_primitives::transaction::Version
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Freeze for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Send for bitcoin_primitives::BlockHash
impl core::marker::Send for bitcoin_primitives::Ntxid
impl core::marker::Send for bitcoin_primitives::TxMerkleNode
@@ -264,18 +246,13 @@ impl core::marker::Send for bitcoin_primitives::WitnessMerkleNode
impl core::marker::Send for bitcoin_primitives::Wtxid
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Send for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Send for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Send for bitcoin_primitives::block::Header
-impl core::marker::Send for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Send for bitcoin_primitives::block::Version
impl core::marker::Send for bitcoin_primitives::block::VersionDecoder
impl core::marker::Send for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTarget
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Send for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Send for bitcoin_primitives::transaction::OutPoint
impl core::marker::Send for bitcoin_primitives::transaction::OutPointDecoder
impl core::marker::Send for bitcoin_primitives::transaction::OutPointDecoderError
@@ -284,7 +261,6 @@ impl core::marker::Send for bitcoin_primitives::transaction::TxMerkleNodeDecoder
impl core::marker::Send for bitcoin_primitives::transaction::Version
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Send for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Send for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::StructuralPartialEq for bitcoin_primitives::BlockHash
impl core::marker::StructuralPartialEq for bitcoin_primitives::Ntxid
impl core::marker::StructuralPartialEq for bitcoin_primitives::TxMerkleNode
@@ -312,18 +288,13 @@ impl core::marker::Sync for bitcoin_primitives::WitnessMerkleNode
impl core::marker::Sync for bitcoin_primitives::Wtxid
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Sync for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Sync for bitcoin_primitives::block::Header
-impl core::marker::Sync for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Sync for bitcoin_primitives::block::Version
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTarget
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Sync for bitcoin_primitives::transaction::OutPoint
impl core::marker::Sync for bitcoin_primitives::transaction::OutPointDecoder
impl core::marker::Sync for bitcoin_primitives::transaction::OutPointDecoderError
@@ -332,7 +303,6 @@ impl core::marker::Sync for bitcoin_primitives::transaction::TxMerkleNodeDecoder
impl core::marker::Sync for bitcoin_primitives::transaction::Version
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Sync for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder
impl core::marker::Unpin for bitcoin_primitives::BlockHash
impl core::marker::Unpin for bitcoin_primitives::Ntxid
impl core::marker::Unpin for bitcoin_primitives::TxMerkleNode
@@ -342,18 +312,13 @@ impl core::marker::Unpin for bitcoin_primitives::WitnessMerkleNode
impl core::marker::Unpin for bitcoin_primitives::Wtxid
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoder
impl core::marker::Unpin for bitcoin_primitives::block::BlockHashDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder
impl core::marker::Unpin for bitcoin_primitives::block::Header
-impl core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder
impl core::marker::Unpin for bitcoin_primitives::block::Version
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::block::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::block::VersionEncoder
-impl core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTarget
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoder
impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder
impl core::marker::Unpin for bitcoin_primitives::transaction::OutPoint
impl core::marker::Unpin for bitcoin_primitives::transaction::OutPointDecoder
impl core::marker::Unpin for bitcoin_primitives::transaction::OutPointDecoderError
@@ -362,7 +327,6 @@ impl core::marker::Unpin for bitcoin_primitives::transaction::TxMerkleNodeDecode
impl core::marker::Unpin for bitcoin_primitives::transaction::Version
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoder
impl core::marker::Unpin for bitcoin_primitives::transaction::VersionDecoderError
-impl core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::BlockHash
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::Ntxid
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::TxMerkleNode
@@ -372,18 +336,13 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::WitnessMerk
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::Wtxid
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Header
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPoint
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPointDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPointDecoderError
@@ -392,7 +351,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::BlockHash
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::Ntxid
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::TxMerkleNode
@@ -402,18 +360,13 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::WitnessMerkleN
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::Wtxid
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Header
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTarget
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPoint
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPointDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPointDecoderError
@@ -422,15 +375,69 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::T
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::Version
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> bitcoin_primitives::pow::CompactTargetEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Send for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Sync for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::BlockHashEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::HeaderEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::block::VersionEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::pow::CompactTargetEncoder<'e>
impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::OutPointEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_primitives::transaction::VersionEncoder<'e>
pub bitcoin_primitives::BlockHeader::bits: bitcoin_primitives::pow::CompactTarget
pub bitcoin_primitives::BlockHeader::merkle_root: bitcoin_primitives::TxMerkleNode
pub bitcoin_primitives::BlockHeader::nonce: u32
@@ -586,9 +593,10 @@ pub fn bitcoin_primitives::block::BlockHashDecoderError::eq(&self, other: &bitco
pub fn bitcoin_primitives::block::BlockHashDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::BlockHashDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::block::BlockHashEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::BlockHashEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::BlockHashEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::BlockHashEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::block::Header::clone(&self) -> bitcoin_primitives::block::Header
pub fn bitcoin_primitives::block::Header::cmp(&self, other: &bitcoin_primitives::block::Header) -> core::cmp::Ordering
@@ -597,9 +605,10 @@ pub fn bitcoin_primitives::block::Header::eq(&self, other: &bitcoin_primitives::
pub fn bitcoin_primitives::block::Header::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::Header::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin_primitives::block::Header::partial_cmp(&self, other: &bitcoin_primitives::block::Header) -> core::option::Option<core::cmp::Ordering>
-pub fn bitcoin_primitives::block::HeaderEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::HeaderEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::HeaderEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::HeaderEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder6<bitcoin_primitives::block::VersionEncoder<'e>, bitcoin_primitives::block::BlockHashEncoder<'e>, bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>, bitcoin_units::time::BlockTimeEncoder<'e>, bitcoin_primitives::pow::CompactTargetEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Version::clone(&self) -> bitcoin_primitives::block::Version
pub fn bitcoin_primitives::block::Version::cmp(&self, other: &bitcoin_primitives::block::Version) -> core::cmp::Ordering
pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
@@ -619,12 +628,14 @@ pub fn bitcoin_primitives::block::VersionDecoderError::eq(&self, other: &bitcoin
pub fn bitcoin_primitives::block::VersionDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::block::VersionDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::block::VersionDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::block::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::block::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::block::VersionEncoder::len(&self) -> usize
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::block::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::block::VersionEncoder<'e>
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<32>) -> bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::pow::CompactTarget::clone(&self) -> bitcoin_primitives::pow::CompactTarget
pub fn bitcoin_primitives::pow::CompactTarget::cmp(&self, other: &bitcoin_primitives::pow::CompactTarget) -> core::cmp::Ordering
pub fn bitcoin_primitives::pow::CompactTarget::decoder() -> Self::Decoder
@@ -643,9 +654,10 @@ pub fn bitcoin_primitives::pow::CompactTargetDecoderError::eq(&self, other: &bit
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(e: bitcoin_consensus_encoding::decode::decoders::UnexpectedEofError) -> Self
pub fn bitcoin_primitives::pow::CompactTargetDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::pow::CompactTargetEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::pow::CompactTargetEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::clone(&self) -> bitcoin_primitives::transaction::OutPoint
pub fn bitcoin_primitives::transaction::OutPoint::cmp(&self, other: &bitcoin_primitives::transaction::OutPoint) -> core::cmp::Ordering
pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
@@ -664,6 +676,7 @@ pub fn bitcoin_primitives::transaction::OutPointDecoderError::fmt(&self, f: &mut
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::advance(&mut self) -> bool
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::current_chunk(&self) -> &[u8]
pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::OutPointEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_consensus_encoding::encode::encoders::BytesEncoder<'e>, bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>>) -> bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::default() -> Self
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_primitives::transaction::TxMerkleNodeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -689,9 +702,10 @@ pub fn bitcoin_primitives::transaction::VersionDecoderError::clone(&self) -> bit
pub fn bitcoin_primitives::transaction::VersionDecoderError::eq(&self, other: &bitcoin_primitives::transaction::VersionDecoderError) -> bool
pub fn bitcoin_primitives::transaction::VersionDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_primitives::transaction::VersionDecoderError::from(never: core::convert::Infallible) -> Self
-pub fn bitcoin_primitives::transaction::VersionEncoder::advance(&mut self) -> bool
-pub fn bitcoin_primitives::transaction::VersionEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_primitives::transaction::VersionEncoder::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_primitives::transaction::VersionEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn u32::from(version: bitcoin_primitives::transaction::Version) -> Self
pub mod bitcoin_primitives
pub mod bitcoin_primitives::block
@@ -713,51 +727,51 @@ pub struct bitcoin_primitives::Wtxid(_)
pub struct bitcoin_primitives::block::BlockHash(_)
pub struct bitcoin_primitives::block::BlockHashDecoder(_)
pub struct bitcoin_primitives::block::BlockHashDecoderError(_)
-pub struct bitcoin_primitives::block::BlockHashEncoder(_)
+pub struct bitcoin_primitives::block::BlockHashEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::Header
-pub struct bitcoin_primitives::block::HeaderEncoder(_)
+pub struct bitcoin_primitives::block::HeaderEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::Version(_)
pub struct bitcoin_primitives::block::VersionDecoder(_)
pub struct bitcoin_primitives::block::VersionDecoderError(_)
-pub struct bitcoin_primitives::block::VersionEncoder(_)
+pub struct bitcoin_primitives::block::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::block::WitnessCommitment(_)
pub struct bitcoin_primitives::merkle_tree::TxMerkleNode(_)
-pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder(_)
+pub struct bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>(_, _)
pub struct bitcoin_primitives::merkle_tree::WitnessMerkleNode(_)
pub struct bitcoin_primitives::pow::CompactTarget(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoder(_)
pub struct bitcoin_primitives::pow::CompactTargetDecoderError(_)
-pub struct bitcoin_primitives::pow::CompactTargetEncoder(_)
+pub struct bitcoin_primitives::pow::CompactTargetEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::BlockHashDecoder(_)
pub struct bitcoin_primitives::transaction::BlockHashDecoderError(_)
pub struct bitcoin_primitives::transaction::Ntxid(_)
pub struct bitcoin_primitives::transaction::OutPoint
pub struct bitcoin_primitives::transaction::OutPointDecoder(_)
pub struct bitcoin_primitives::transaction::OutPointDecoderError(_)
-pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_)
+pub struct bitcoin_primitives::transaction::OutPointEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoder(_)
pub struct bitcoin_primitives::transaction::TxMerkleNodeDecoderError(_)
pub struct bitcoin_primitives::transaction::Txid(_)
pub struct bitcoin_primitives::transaction::Version(_)
pub struct bitcoin_primitives::transaction::VersionDecoder(_)
pub struct bitcoin_primitives::transaction::VersionDecoderError(_)
-pub struct bitcoin_primitives::transaction::VersionEncoder(_)
+pub struct bitcoin_primitives::transaction::VersionEncoder<'e>(_, _)
pub struct bitcoin_primitives::transaction::Wtxid(_)
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder
+pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub type bitcoin_primitives::TxMerkleNode::Decoder = bitcoin_primitives::transaction::TxMerkleNodeDecoder
-pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder
+pub type bitcoin_primitives::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub type bitcoin_primitives::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder
+pub type bitcoin_primitives::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub type bitcoin_primitives::block::BlockHashDecoder::Error = bitcoin_primitives::block::BlockHashDecoderError
pub type bitcoin_primitives::block::BlockHashDecoder::Output = bitcoin_primitives::BlockHash
-pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder
+pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder
+pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub type bitcoin_primitives::block::VersionDecoder::Error = bitcoin_primitives::block::VersionDecoderError
pub type bitcoin_primitives::block::VersionDecoder::Output = bitcoin_primitives::block::Version
pub type bitcoin_primitives::pow::CompactTarget::Decoder = bitcoin_primitives::pow::CompactTargetDecoder
-pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder
+pub type bitcoin_primitives::pow::CompactTarget::Encoder<'e> = bitcoin_primitives::pow::CompactTargetEncoder<'e>
pub type bitcoin_primitives::pow::CompactTargetDecoder::Error = bitcoin_primitives::pow::CompactTargetDecoderError
pub type bitcoin_primitives::pow::CompactTargetDecoder::Output = bitcoin_primitives::pow::CompactTarget
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
@@ -767,7 +781,7 @@ pub type bitcoin_primitives::transaction::OutPointDecoder::Output = bitcoin_prim
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Error = bitcoin_primitives::transaction::TxMerkleNodeDecoderError
pub type bitcoin_primitives::transaction::TxMerkleNodeDecoder::Output = bitcoin_primitives::TxMerkleNode
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder
+pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub type bitcoin_primitives::transaction::VersionDecoder::Error = bitcoin_primitives::transaction::VersionDecoderError
pub type bitcoin_primitives::transaction::VersionDecoder::Output = bitcoin_primitives::transaction::Version
pub use bitcoin_primitives::Amount
diff --git a/api/units/all-features.txt b/api/units/all-features.txt
index edaf1c02..203fd997 100644
--- a/api/units/all-features.txt
+++ b/api/units/all-features.txt
@@ -27,16 +27,6 @@ impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::BlockTime
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::block::BlockHeight
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::locktime::absolute::LockTime
impl bitcoin_consensus_encoding::encode::Encodable for bitcoin_units::sequence::Sequence
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::amount::AmountEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::block::BlockHeightEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::locktime::absolute::LockTimeEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::sequence::SequenceEncoder
-impl bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::time::BlockTimeEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::amount::AmountEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::block::BlockHeightEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::locktime::absolute::LockTimeEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::sequence::SequenceEncoder
-impl bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::time::BlockTimeEncoder
impl bitcoin_units::Amount
impl bitcoin_units::BlockTime
impl bitcoin_units::FeeRate
@@ -560,7 +550,6 @@ impl core::marker::Freeze for bitcoin_units::FeeRate
impl core::marker::Freeze for bitcoin_units::SignedAmount
impl core::marker::Freeze for bitcoin_units::Weight
impl core::marker::Freeze for bitcoin_units::amount::AmountDecoder
-impl core::marker::Freeze for bitcoin_units::amount::AmountEncoder
impl core::marker::Freeze for bitcoin_units::amount::Denomination
impl core::marker::Freeze for bitcoin_units::amount::Display
impl core::marker::Freeze for bitcoin_units::amount::error::AmountDecoderError
@@ -579,7 +568,6 @@ impl core::marker::Freeze for bitcoin_units::amount::error::UnknownDenominationE
impl core::marker::Freeze for bitcoin_units::block::BlockHeight
impl core::marker::Freeze for bitcoin_units::block::BlockHeightDecoder
impl core::marker::Freeze for bitcoin_units::block::BlockHeightDecoderError
-impl core::marker::Freeze for bitcoin_units::block::BlockHeightEncoder
impl core::marker::Freeze for bitcoin_units::block::BlockHeightInterval
impl core::marker::Freeze for bitcoin_units::block::BlockMtp
impl core::marker::Freeze for bitcoin_units::block::BlockMtpInterval
@@ -588,7 +576,6 @@ impl core::marker::Freeze for bitcoin_units::fee_rate::serde::OverflowError
impl core::marker::Freeze for bitcoin_units::locktime::absolute::Height
impl core::marker::Freeze for bitcoin_units::locktime::absolute::LockTime
impl core::marker::Freeze for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::marker::Freeze for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::marker::Freeze for bitcoin_units::locktime::absolute::MedianTimePast
impl core::marker::Freeze for bitcoin_units::locktime::absolute::error::ConversionError
impl core::marker::Freeze for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -614,17 +601,14 @@ impl core::marker::Freeze for bitcoin_units::result::NumOpError
impl core::marker::Freeze for bitcoin_units::sequence::Sequence
impl core::marker::Freeze for bitcoin_units::sequence::SequenceDecoder
impl core::marker::Freeze for bitcoin_units::sequence::SequenceDecoderError
-impl core::marker::Freeze for bitcoin_units::sequence::SequenceEncoder
impl core::marker::Freeze for bitcoin_units::time::BlockTimeDecoder
impl core::marker::Freeze for bitcoin_units::time::BlockTimeDecoderError
-impl core::marker::Freeze for bitcoin_units::time::BlockTimeEncoder
impl core::marker::Send for bitcoin_units::Amount
impl core::marker::Send for bitcoin_units::BlockTime
impl core::marker::Send for bitcoin_units::FeeRate
impl core::marker::Send for bitcoin_units::SignedAmount
impl core::marker::Send for bitcoin_units::Weight
impl core::marker::Send for bitcoin_units::amount::AmountDecoder
-impl core::marker::Send for bitcoin_units::amount::AmountEncoder
impl core::marker::Send for bitcoin_units::amount::Denomination
impl core::marker::Send for bitcoin_units::amount::Display
impl core::marker::Send for bitcoin_units::amount::error::AmountDecoderError
@@ -643,7 +627,6 @@ impl core::marker::Send for bitcoin_units::amount::error::UnknownDenominationErr
impl core::marker::Send for bitcoin_units::block::BlockHeight
impl core::marker::Send for bitcoin_units::block::BlockHeightDecoder
impl core::marker::Send for bitcoin_units::block::BlockHeightDecoderError
-impl core::marker::Send for bitcoin_units::block::BlockHeightEncoder
impl core::marker::Send for bitcoin_units::block::BlockHeightInterval
impl core::marker::Send for bitcoin_units::block::BlockMtp
impl core::marker::Send for bitcoin_units::block::BlockMtpInterval
@@ -652,7 +635,6 @@ impl core::marker::Send for bitcoin_units::fee_rate::serde::OverflowError
impl core::marker::Send for bitcoin_units::locktime::absolute::Height
impl core::marker::Send for bitcoin_units::locktime::absolute::LockTime
impl core::marker::Send for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::marker::Send for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::marker::Send for bitcoin_units::locktime::absolute::MedianTimePast
impl core::marker::Send for bitcoin_units::locktime::absolute::error::ConversionError
impl core::marker::Send for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -678,10 +660,8 @@ impl core::marker::Send for bitcoin_units::result::NumOpError
impl core::marker::Send for bitcoin_units::sequence::Sequence
impl core::marker::Send for bitcoin_units::sequence::SequenceDecoder
impl core::marker::Send for bitcoin_units::sequence::SequenceDecoderError
-impl core::marker::Send for bitcoin_units::sequence::SequenceEncoder
impl core::marker::Send for bitcoin_units::time::BlockTimeDecoder
impl core::marker::Send for bitcoin_units::time::BlockTimeDecoderError
-impl core::marker::Send for bitcoin_units::time::BlockTimeEncoder
impl core::marker::StructuralPartialEq for bitcoin_units::Amount
impl core::marker::StructuralPartialEq for bitcoin_units::BlockTime
impl core::marker::StructuralPartialEq for bitcoin_units::FeeRate
@@ -741,7 +721,6 @@ impl core::marker::Sync for bitcoin_units::FeeRate
impl core::marker::Sync for bitcoin_units::SignedAmount
impl core::marker::Sync for bitcoin_units::Weight
impl core::marker::Sync for bitcoin_units::amount::AmountDecoder
-impl core::marker::Sync for bitcoin_units::amount::AmountEncoder
impl core::marker::Sync for bitcoin_units::amount::Denomination
impl core::marker::Sync for bitcoin_units::amount::Display
impl core::marker::Sync for bitcoin_units::amount::error::AmountDecoderError
@@ -760,7 +739,6 @@ impl core::marker::Sync for bitcoin_units::amount::error::UnknownDenominationErr
impl core::marker::Sync for bitcoin_units::block::BlockHeight
impl core::marker::Sync for bitcoin_units::block::BlockHeightDecoder
impl core::marker::Sync for bitcoin_units::block::BlockHeightDecoderError
-impl core::marker::Sync for bitcoin_units::block::BlockHeightEncoder
impl core::marker::Sync for bitcoin_units::block::BlockHeightInterval
impl core::marker::Sync for bitcoin_units::block::BlockMtp
impl core::marker::Sync for bitcoin_units::block::BlockMtpInterval
@@ -769,7 +747,6 @@ impl core::marker::Sync for bitcoin_units::fee_rate::serde::OverflowError
impl core::marker::Sync for bitcoin_units::locktime::absolute::Height
impl core::marker::Sync for bitcoin_units::locktime::absolute::LockTime
impl core::marker::Sync for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::marker::Sync for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::marker::Sync for bitcoin_units::locktime::absolute::MedianTimePast
impl core::marker::Sync for bitcoin_units::locktime::absolute::error::ConversionError
impl core::marker::Sync for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -795,17 +772,14 @@ impl core::marker::Sync for bitcoin_units::result::NumOpError
impl core::marker::Sync for bitcoin_units::sequence::Sequence
impl core::marker::Sync for bitcoin_units::sequence::SequenceDecoder
impl core::marker::Sync for bitcoin_units::sequence::SequenceDecoderError
-impl core::marker::Sync for bitcoin_units::sequence::SequenceEncoder
impl core::marker::Sync for bitcoin_units::time::BlockTimeDecoder
impl core::marker::Sync for bitcoin_units::time::BlockTimeDecoderError
-impl core::marker::Sync for bitcoin_units::time::BlockTimeEncoder
impl core::marker::Unpin for bitcoin_units::Amount
impl core::marker::Unpin for bitcoin_units::BlockTime
impl core::marker::Unpin for bitcoin_units::FeeRate
impl core::marker::Unpin for bitcoin_units::SignedAmount
impl core::marker::Unpin for bitcoin_units::Weight
impl core::marker::Unpin for bitcoin_units::amount::AmountDecoder
-impl core::marker::Unpin for bitcoin_units::amount::AmountEncoder
impl core::marker::Unpin for bitcoin_units::amount::Denomination
impl core::marker::Unpin for bitcoin_units::amount::Display
impl core::marker::Unpin for bitcoin_units::amount::error::AmountDecoderError
@@ -824,7 +798,6 @@ impl core::marker::Unpin for bitcoin_units::amount::error::UnknownDenominationEr
impl core::marker::Unpin for bitcoin_units::block::BlockHeight
impl core::marker::Unpin for bitcoin_units::block::BlockHeightDecoder
impl core::marker::Unpin for bitcoin_units::block::BlockHeightDecoderError
-impl core::marker::Unpin for bitcoin_units::block::BlockHeightEncoder
impl core::marker::Unpin for bitcoin_units::block::BlockHeightInterval
impl core::marker::Unpin for bitcoin_units::block::BlockMtp
impl core::marker::Unpin for bitcoin_units::block::BlockMtpInterval
@@ -833,7 +806,6 @@ impl core::marker::Unpin for bitcoin_units::fee_rate::serde::OverflowError
impl core::marker::Unpin for bitcoin_units::locktime::absolute::Height
impl core::marker::Unpin for bitcoin_units::locktime::absolute::LockTime
impl core::marker::Unpin for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::marker::Unpin for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::marker::Unpin for bitcoin_units::locktime::absolute::MedianTimePast
impl core::marker::Unpin for bitcoin_units::locktime::absolute::error::ConversionError
impl core::marker::Unpin for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -859,10 +831,8 @@ impl core::marker::Unpin for bitcoin_units::result::NumOpError
impl core::marker::Unpin for bitcoin_units::sequence::Sequence
impl core::marker::Unpin for bitcoin_units::sequence::SequenceDecoder
impl core::marker::Unpin for bitcoin_units::sequence::SequenceDecoderError
-impl core::marker::Unpin for bitcoin_units::sequence::SequenceEncoder
impl core::marker::Unpin for bitcoin_units::time::BlockTimeDecoder
impl core::marker::Unpin for bitcoin_units::time::BlockTimeDecoderError
-impl core::marker::Unpin for bitcoin_units::time::BlockTimeEncoder
impl core::ops::arith::Add for bitcoin_units::Amount
impl core::ops::arith::Add for bitcoin_units::FeeRate
impl core::ops::arith::Add for bitcoin_units::SignedAmount
@@ -1103,7 +1073,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::FeeRate
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::SignedAmount
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::Weight
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::AmountDecoder
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::AmountEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::Denomination
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::Display
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::error::AmountDecoderError
@@ -1122,7 +1091,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::error::U
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeight
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeightDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeightDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeightEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeightInterval
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockMtp
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockMtpInterval
@@ -1131,7 +1099,6 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::fee_rate::serde:
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::Height
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::LockTime
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::MedianTimePast
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::error::ConversionError
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -1157,17 +1124,14 @@ impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::result::NumOpErr
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::sequence::Sequence
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::sequence::SequenceDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::sequence::SequenceDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::sequence::SequenceEncoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::time::BlockTimeDecoder
impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::time::BlockTimeDecoderError
-impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::time::BlockTimeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::Amount
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::BlockTime
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::FeeRate
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::SignedAmount
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::Weight
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::AmountDecoder
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::AmountEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::Denomination
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::Display
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::error::AmountDecoderError
@@ -1186,7 +1150,6 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::error::Unkn
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeight
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeightDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeightDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeightEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeightInterval
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockMtp
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockMtpInterval
@@ -1195,7 +1158,6 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::fee_rate::serde::Ov
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::Height
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::LockTime
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::LockTimeDecoder
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::LockTimeEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::MedianTimePast
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::error::ConversionError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::error::IncompatibleHeightError
@@ -1221,10 +1183,8 @@ impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::result::NumOpError
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::Sequence
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::SequenceDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::SequenceDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::SequenceEncoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeDecoder
impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeDecoderError
-impl core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeEncoder
impl core::str::traits::FromStr for bitcoin_units::Amount
impl core::str::traits::FromStr for bitcoin_units::SignedAmount
impl core::str::traits::FromStr for bitcoin_units::Weight
@@ -1352,6 +1312,51 @@ impl<'de> serde::de::Deserialize<'de> for bitcoin_units::block::BlockMtpInterval
impl<'de> serde::de::Deserialize<'de> for bitcoin_units::locktime::absolute::LockTime
impl<'de> serde::de::Deserialize<'de> for bitcoin_units::locktime::relative::LockTime
impl<'de> serde::de::Deserialize<'de> for bitcoin_units::sequence::Sequence
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::Encoder for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> bitcoin_consensus_encoding::encode::ExactSizeEncoder for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::marker::Freeze for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::marker::Send for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::marker::Sync for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::marker::Unpin for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::panic::unwind_safe::RefUnwindSafe for bitcoin_units::time::BlockTimeEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_units::amount::AmountEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_units::block::BlockHeightEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_units::sequence::SequenceEncoder<'e>
+impl<'e> core::panic::unwind_safe::UnwindSafe for bitcoin_units::time::BlockTimeEncoder<'e>
impl<T: core::clone::Clone> core::clone::Clone for bitcoin_units::result::NumOpResult<T>
impl<T: core::cmp::Eq> core::cmp::Eq for bitcoin_units::result::NumOpResult<T>
impl<T: core::cmp::PartialEq> core::cmp::PartialEq for bitcoin_units::result::NumOpResult<T>
@@ -1941,9 +1946,10 @@ pub fn bitcoin_units::amount::AmountDecoder::default() -> Self
pub fn bitcoin_units::amount::AmountDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_units::amount::AmountDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_units::amount::AmountDecoder::read_limit(&self) -> usize
-pub fn bitcoin_units::amount::AmountEncoder::advance(&mut self) -> bool
-pub fn bitcoin_units::amount::AmountEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_units::amount::AmountEncoder::len(&self) -> usize
+pub fn bitcoin_units::amount::AmountEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::amount::AmountEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_units::amount::AmountEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_units::amount::AmountEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<8>) -> bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::amount::Denomination::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn bitcoin_units::amount::Denomination::clone(&self) -> bitcoin_units::amount::Denomination
pub fn bitcoin_units::amount::Denomination::eq(&self, other: &bitcoin_units::amount::Denomination) -> bool
@@ -2065,9 +2071,10 @@ pub fn bitcoin_units::block::BlockHeightDecoderError::eq(&self, other: &bitcoin_
pub fn bitcoin_units::block::BlockHeightDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::block::BlockHeightDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_units::block::BlockHeightDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_units::block::BlockHeightEncoder::advance(&mut self) -> bool
-pub fn bitcoin_units::block::BlockHeightEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_units::block::BlockHeightEncoder::len(&self) -> usize
+pub fn bitcoin_units::block::BlockHeightEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::block::BlockHeightEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_units::block::BlockHeightEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_units::block::BlockHeightEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeightInterval::add(self, rhs: &bitcoin_units::block::BlockHeightInterval) -> Self::Output
pub fn bitcoin_units::block::BlockHeightInterval::add(self, rhs: bitcoin_units::block::BlockHeightInterval) -> Self::Output
pub fn bitcoin_units::block::BlockHeightInterval::add_assign(&mut self, rhs: &bitcoin_units::block::BlockHeightInterval)
@@ -2210,9 +2217,10 @@ pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::default() -> Self
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::read_limit(&self) -> usize
-pub fn bitcoin_units::locktime::absolute::LockTimeEncoder::advance(&mut self) -> bool
-pub fn bitcoin_units::locktime::absolute::LockTimeEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_units::locktime::absolute::LockTimeEncoder::len(&self) -> usize
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_units::locktime::absolute::LockTimeEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::MedianTimePast::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
pub fn bitcoin_units::locktime::absolute::MedianTimePast::clone(&self) -> bitcoin_units::locktime::absolute::MedianTimePast
pub fn bitcoin_units::locktime::absolute::MedianTimePast::cmp(&self, other: &bitcoin_units::locktime::absolute::MedianTimePast) -> core::cmp::Ordering
@@ -2493,9 +2501,10 @@ pub fn bitcoin_units::sequence::SequenceDecoderError::eq(&self, other: &bitcoin_
pub fn bitcoin_units::sequence::SequenceDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::sequence::SequenceDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_units::sequence::SequenceDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_units::sequence::SequenceEncoder::advance(&mut self) -> bool
-pub fn bitcoin_units::sequence::SequenceEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_units::sequence::SequenceEncoder::len(&self) -> usize
+pub fn bitcoin_units::sequence::SequenceEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::sequence::SequenceEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_units::sequence::SequenceEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_units::sequence::SequenceEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::time::BlockTimeDecoder::default() -> Self
pub fn bitcoin_units::time::BlockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
pub fn bitcoin_units::time::BlockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
@@ -2505,9 +2514,10 @@ pub fn bitcoin_units::time::BlockTimeDecoderError::eq(&self, other: &bitcoin_uni
pub fn bitcoin_units::time::BlockTimeDecoderError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin_units::time::BlockTimeDecoderError::from(never: core::convert::Infallible) -> Self
pub fn bitcoin_units::time::BlockTimeDecoderError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
-pub fn bitcoin_units::time::BlockTimeEncoder::advance(&mut self) -> bool
-pub fn bitcoin_units::time::BlockTimeEncoder::current_chunk(&self) -> &[u8]
-pub fn bitcoin_units::time::BlockTimeEncoder::len(&self) -> usize
+pub fn bitcoin_units::time::BlockTimeEncoder<'e>::advance(&mut self) -> bool
+pub fn bitcoin_units::time::BlockTimeEncoder<'e>::current_chunk(&self) -> &[u8]
+pub fn bitcoin_units::time::BlockTimeEncoder<'e>::len(&self) -> usize
+pub fn bitcoin_units::time::BlockTimeEncoder<'e>::new(encoder: bitcoin_consensus_encoding::encode::encoders::ArrayEncoder<4>) -> bitcoin_units::time::BlockTimeEncoder<'e>
pub fn core::num::error::ParseIntError::from(value: bitcoin_units::parse_int::ParseIntError) -> Self
pub fn i64::mul(self, rhs: &bitcoin_units::SignedAmount) -> Self::Output
pub fn i64::mul(self, rhs: &bitcoin_units::result::NumOpResult<bitcoin_units::SignedAmount>) -> Self::Output
@@ -2574,7 +2584,7 @@ pub struct bitcoin_units::absolute::IncompatibleHeightError
pub struct bitcoin_units::absolute::IncompatibleTimeError
pub struct bitcoin_units::absolute::LockTimeDecoder(_)
pub struct bitcoin_units::absolute::LockTimeDecoderError(_)
-pub struct bitcoin_units::absolute::LockTimeEncoder(_)
+pub struct bitcoin_units::absolute::LockTimeEncoder<'e>(_, _)
pub struct bitcoin_units::absolute::MedianTimePast(_)
pub struct bitcoin_units::absolute::ParseHeightError(_)
pub struct bitcoin_units::absolute::ParseTimeError(_)
@@ -2586,7 +2596,7 @@ pub struct bitcoin_units::absolute::error::ParseTimeError(_)
pub struct bitcoin_units::amount::Amount(_)
pub struct bitcoin_units::amount::AmountDecoder(_)
pub struct bitcoin_units::amount::AmountDecoderError(_)
-pub struct bitcoin_units::amount::AmountEncoder(_)
+pub struct bitcoin_units::amount::AmountEncoder<'e>(_, _)
pub struct bitcoin_units::amount::Display
pub struct bitcoin_units::amount::OutOfRangeError
pub struct bitcoin_units::amount::ParseAmountError(_)
@@ -2604,7 +2614,7 @@ pub struct bitcoin_units::amount::error::TooPreciseError
pub struct bitcoin_units::block::BlockHeight(_)
pub struct bitcoin_units::block::BlockHeightDecoder(_)
pub struct bitcoin_units::block::BlockHeightDecoderError(_)
-pub struct bitcoin_units::block::BlockHeightEncoder(_)
+pub struct bitcoin_units::block::BlockHeightEncoder<'e>(_, _)
pub struct bitcoin_units::block::BlockHeightInterval(_)
pub struct bitcoin_units::block::BlockMtp(_)
pub struct bitcoin_units::block::BlockMtpInterval(_)
@@ -2615,7 +2625,7 @@ pub struct bitcoin_units::locktime::absolute::IncompatibleHeightError
pub struct bitcoin_units::locktime::absolute::IncompatibleTimeError
pub struct bitcoin_units::locktime::absolute::LockTimeDecoder(_)
pub struct bitcoin_units::locktime::absolute::LockTimeDecoderError(_)
-pub struct bitcoin_units::locktime::absolute::LockTimeEncoder(_)
+pub struct bitcoin_units::locktime::absolute::LockTimeEncoder<'e>(_, _)
pub struct bitcoin_units::locktime::absolute::MedianTimePast(_)
pub struct bitcoin_units::locktime::absolute::ParseHeightError(_)
pub struct bitcoin_units::locktime::absolute::ParseTimeError(_)
@@ -2649,11 +2659,11 @@ pub struct bitcoin_units::relative::error::TimeOverflowError
pub struct bitcoin_units::sequence::Sequence(pub u32)
pub struct bitcoin_units::sequence::SequenceDecoder(_)
pub struct bitcoin_units::sequence::SequenceDecoderError(_)
-pub struct bitcoin_units::sequence::SequenceEncoder(_)
+pub struct bitcoin_units::sequence::SequenceEncoder<'e>(_, _)
pub struct bitcoin_units::time::BlockTime(_)
pub struct bitcoin_units::time::BlockTimeDecoder(_)
pub struct bitcoin_units::time::BlockTimeDecoderError(_)
-pub struct bitcoin_units::time::BlockTimeEncoder(_)
+pub struct bitcoin_units::time::BlockTimeEncoder<'e>(_, _)
pub struct bitcoin_units::weight::Weight(_)
pub trait bitcoin_units::parse_int::Integer: core::str::traits::FromStr<Err = core::num::error::ParseIntError> + core::convert::TryFrom<i8> + core::marker::Sized + bitcoin_units::parse_int::sealed::Sealed
pub type &bitcoin_units::Amount::Output = <bitcoin_units::Amount as core::ops::arith::Add<bitcoin_units::result::NumOpResult<bitcoin_units::Amount>>>::Output
@@ -2727,7 +2737,7 @@ pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::Amount>>::O
pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
pub type &u64::Output = <u64 as core::ops::arith::Mul<bitcoin_units::result::NumOpResult<bitcoin_units::Amount>>>::Output
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
-pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder
+pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder<'e>
pub type bitcoin_units::Amount::Err = bitcoin_units::amount::error::ParseError
pub type bitcoin_units::Amount::Error = bitcoin_units::amount::error::OutOfRangeError
pub type bitcoin_units::Amount::Output = <bitcoin_units::Amount as core::ops::arith::Add<bitcoin_units::result::NumOpResult<bitcoin_units::Amount>>>::Output
@@ -2749,7 +2759,7 @@ pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitc
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<bitcoin_units::Weight>
pub type bitcoin_units::Amount::Output = bitcoin_units::result::NumOpResult<u64>
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
-pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder
+pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Add>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Div<core::num::nonzero::NonZero<u64>>>::Output
pub type bitcoin_units::FeeRate::Output = <bitcoin_units::FeeRate as core::ops::arith::Mul<bitcoin_units::Weight>>::Output
@@ -2789,7 +2799,7 @@ pub type bitcoin_units::amount::AmountDecoder::Error = bitcoin_units::amount::er
pub type bitcoin_units::amount::AmountDecoder::Output = bitcoin_units::Amount
pub type bitcoin_units::amount::Denomination::Err = bitcoin_units::amount::error::ParseDenominationError
pub type bitcoin_units::block::BlockHeight::Decoder = bitcoin_units::block::BlockHeightDecoder
-pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder
+pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder<'e>
pub type bitcoin_units::block::BlockHeight::Err = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::block::BlockHeight::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::block::BlockHeight::Output = <bitcoin_units::block::BlockHeight as core::ops::arith::Add<bitcoin_units::block::BlockHeightInterval>>::Output
@@ -2820,7 +2830,7 @@ pub type bitcoin_units::locktime::absolute::Height::Err = bitcoin_units::locktim
pub type bitcoin_units::locktime::absolute::Height::Error = bitcoin_units::locktime::absolute::error::ConversionError
pub type bitcoin_units::locktime::absolute::Height::Error = bitcoin_units::locktime::absolute::error::ParseHeightError
pub type bitcoin_units::locktime::absolute::LockTime::Decoder = bitcoin_units::locktime::absolute::LockTimeDecoder
-pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder
+pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub type bitcoin_units::locktime::absolute::LockTime::Err = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::locktime::absolute::LockTime::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::locktime::absolute::LockTimeDecoder::Error = bitcoin_units::locktime::absolute::error::LockTimeDecoderError
@@ -2860,7 +2870,7 @@ pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = <bi
pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = <bitcoin_units::result::NumOpResult<bitcoin_units::Weight> as core::ops::arith::Mul<bitcoin_units::result::NumOpResult<bitcoin_units::FeeRate>>>::Output
pub type bitcoin_units::result::NumOpResult<bitcoin_units::Weight>::Output = bitcoin_units::result::NumOpResult<bitcoin_units::Amount>
pub type bitcoin_units::sequence::Sequence::Decoder = bitcoin_units::sequence::SequenceDecoder
-pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder
+pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder<'e>
pub type bitcoin_units::sequence::Sequence::Err = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::sequence::Sequence::Error = bitcoin_units::parse_int::ParseIntError
pub type bitcoin_units::sequence::SequenceDecoder::Error = bitcoin_units::sequence::SequenceDecoderError
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.