What changed, and why it matters
This commit only updates generated API snapshot files that record what public functions and traits the library exposes. The actual code changes happened in an earlier commit; this one just refreshes the snapshots. There is no security-relevant change here.
No action needed; this is a documentation/snapshot-only commit. Review the preceding implementation commit if you want to assess the API change itself.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates api/*.txt files under consensus_encoding, primitives, and units. These are rustdoc/public-API snapshots used to track API surface changes. The snapshot changes reflect: (1) Decode::Decoder now requires Default; (2) tuple decoders (Decoder2..Decoder6) gained Default implementations; and (3) the manual decoder() methods on many Decode impls were removed because the trait now provides a default implementation using Decoder::default(). This is a refactor of the encoding API, not a security patch.
Changed components
consensus_encoding/api/*.txtprimitives/api/*.txtunits/api/*.txtInspect captured patch +27 / −73
diff --git a/consensus_encoding/api/all-features.txt b/consensus_encoding/api/all-features.txt
index afa4a27a..5f6f0aa7 100644
--- a/consensus_encoding/api/all-features.txt
+++ b/consensus_encoding/api/all-features.txt
@@ -1275,6 +1275,8 @@ pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes:
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
+impl<A, B> core::default::Default for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::default() -> bitcoin_consensus_encoding::Decoder2<A, B>
impl<A, B> core::fmt::Debug for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B> core::marker::Freeze for bitcoin_consensus_encoding::Decoder2<A, B> where A: core::marker::Freeze, B: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -1317,6 +1319,8 @@ pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, byte
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
+impl<A, B, C> core::default::Default for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::default() -> bitcoin_consensus_encoding::Decoder3<A, B, C>
impl<A, B, C> core::fmt::Debug for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C> core::marker::Freeze for bitcoin_consensus_encoding::Decoder3<A, B, C> where C: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze
@@ -1359,6 +1363,8 @@ pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, b
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
+impl<A, B, C, D> core::default::Default for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::default() -> bitcoin_consensus_encoding::Decoder4<A, B, C, D>
impl<A, B, C, D> core::fmt::Debug for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D> core::marker::Freeze for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, C: core::marker::Freeze, D: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -1401,6 +1407,8 @@ pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut s
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
+impl<A, B, C, D, E, F> core::default::Default for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default, E: bitcoin_consensus_encoding::Decoder + core::default::Default, F: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::default() -> bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> core::fmt::Debug for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, E: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, F: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <D as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <E as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D, E, F> core::marker::Freeze for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, C: core::marker::Freeze, F: core::marker::Freeze, <D as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <E as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, D: core::marker::Freeze, E: core::marker::Freeze
@@ -1912,7 +1920,7 @@ pub unsafe fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::clone_to_
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::VecDecoderError<Err>
pub fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::from(t: T) -> T
pub trait bitcoin_consensus_encoding::Decode
-pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self> + core::default::Default
pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
diff --git a/consensus_encoding/api/alloc-only.txt b/consensus_encoding/api/alloc-only.txt
index 9cfcc839..1361e70a 100644
--- a/consensus_encoding/api/alloc-only.txt
+++ b/consensus_encoding/api/alloc-only.txt
@@ -1167,6 +1167,8 @@ pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes:
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
+impl<A, B> core::default::Default for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::default() -> bitcoin_consensus_encoding::Decoder2<A, B>
impl<A, B> core::fmt::Debug for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B> core::marker::Freeze for bitcoin_consensus_encoding::Decoder2<A, B> where A: core::marker::Freeze, B: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -1209,6 +1211,8 @@ pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, byte
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
+impl<A, B, C> core::default::Default for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::default() -> bitcoin_consensus_encoding::Decoder3<A, B, C>
impl<A, B, C> core::fmt::Debug for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C> core::marker::Freeze for bitcoin_consensus_encoding::Decoder3<A, B, C> where C: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze
@@ -1251,6 +1255,8 @@ pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, b
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
+impl<A, B, C, D> core::default::Default for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::default() -> bitcoin_consensus_encoding::Decoder4<A, B, C, D>
impl<A, B, C, D> core::fmt::Debug for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D> core::marker::Freeze for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, C: core::marker::Freeze, D: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -1293,6 +1299,8 @@ pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut s
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
+impl<A, B, C, D, E, F> core::default::Default for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default, E: bitcoin_consensus_encoding::Decoder + core::default::Default, F: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::default() -> bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> core::fmt::Debug for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, E: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, F: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <D as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <E as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D, E, F> core::marker::Freeze for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, C: core::marker::Freeze, F: core::marker::Freeze, <D as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <E as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, D: core::marker::Freeze, E: core::marker::Freeze
@@ -1796,7 +1804,7 @@ pub unsafe fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::clone_to_
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::VecDecoderError<Err>
pub fn bitcoin_consensus_encoding::error::VecDecoderError<Err>::from(t: T) -> T
pub trait bitcoin_consensus_encoding::Decode
-pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self> + core::default::Default
pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
diff --git a/consensus_encoding/api/no-features.txt b/consensus_encoding/api/no-features.txt
index 82e8b3cc..48b33ce3 100644
--- a/consensus_encoding/api/no-features.txt
+++ b/consensus_encoding/api/no-features.txt
@@ -872,6 +872,8 @@ pub fn bitcoin_consensus_encoding::Decoder2<A, B>::push_bytes(&mut self, bytes:
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::read_limit(&self) -> usize
impl<A, B> core::clone::Clone for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::clone(&self) -> Self
+impl<A, B> core::default::Default for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder2<A, B>::default() -> bitcoin_consensus_encoding::Decoder2<A, B>
impl<A, B> core::fmt::Debug for bitcoin_consensus_encoding::Decoder2<A, B> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder2<A, B>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B> core::marker::Freeze for bitcoin_consensus_encoding::Decoder2<A, B> where A: core::marker::Freeze, B: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -910,6 +912,8 @@ pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::push_bytes(&mut self, byte
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::read_limit(&self) -> usize
impl<A, B, C> core::clone::Clone for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::clone(&self) -> Self
+impl<A, B, C> core::default::Default for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::default() -> bitcoin_consensus_encoding::Decoder3<A, B, C>
impl<A, B, C> core::fmt::Debug for bitcoin_consensus_encoding::Decoder3<A, B, C> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder3<A, B, C>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C> core::marker::Freeze for bitcoin_consensus_encoding::Decoder3<A, B, C> where C: core::marker::Freeze, <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze
@@ -948,6 +952,8 @@ pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::push_bytes(&mut self, b
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::read_limit(&self) -> usize
impl<A, B, C, D> core::clone::Clone for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::clone(&self) -> Self
+impl<A, B, C, D> core::default::Default for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::default() -> bitcoin_consensus_encoding::Decoder4<A, B, C, D>
impl<A, B, C, D> core::fmt::Debug for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder4<A, B, C, D>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D> core::marker::Freeze for bitcoin_consensus_encoding::Decoder4<A, B, C, D> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, C: core::marker::Freeze, D: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze
@@ -986,6 +992,8 @@ pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::push_bytes(&mut s
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::read_limit(&self) -> usize
impl<A, B, C, D, E, F> core::clone::Clone for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::clone::Clone, B: bitcoin_consensus_encoding::Decoder + core::clone::Clone, C: bitcoin_consensus_encoding::Decoder + core::clone::Clone, D: bitcoin_consensus_encoding::Decoder + core::clone::Clone, E: bitcoin_consensus_encoding::Decoder + core::clone::Clone, F: bitcoin_consensus_encoding::Decoder + core::clone::Clone, <A as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <B as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <C as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <D as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone, <E as bitcoin_consensus_encoding::Decoder>::Output: core::clone::Clone
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::clone(&self) -> Self
+impl<A, B, C, D, E, F> core::default::Default for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::default::Default, B: bitcoin_consensus_encoding::Decoder + core::default::Default, C: bitcoin_consensus_encoding::Decoder + core::default::Default, D: bitcoin_consensus_encoding::Decoder + core::default::Default, E: bitcoin_consensus_encoding::Decoder + core::default::Default, F: bitcoin_consensus_encoding::Decoder + core::default::Default
+pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::default() -> bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> core::fmt::Debug for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where A: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, B: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, C: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, D: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, E: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, F: bitcoin_consensus_encoding::Decoder + core::fmt::Debug, <A as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <B as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <C as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <D as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug, <E as bitcoin_consensus_encoding::Decoder>::Output: core::fmt::Debug
pub fn bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl<A, B, C, D, E, F> core::marker::Freeze for bitcoin_consensus_encoding::Decoder6<A, B, C, D, E, F> where <A as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <B as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <C as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, C: core::marker::Freeze, F: core::marker::Freeze, <D as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, <E as bitcoin_consensus_encoding::Decoder>::Output: core::marker::Freeze, A: core::marker::Freeze, B: core::marker::Freeze, D: core::marker::Freeze, E: core::marker::Freeze
@@ -1316,7 +1324,7 @@ pub unsafe fn bitcoin_consensus_encoding::error::UnexpectedEofError::clone_to_un
impl<T> core::convert::From<T> for bitcoin_consensus_encoding::error::UnexpectedEofError
pub fn bitcoin_consensus_encoding::error::UnexpectedEofError::from(t: T) -> T
pub trait bitcoin_consensus_encoding::Decode
-pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self>
+pub type bitcoin_consensus_encoding::Decode::Decoder: bitcoin_consensus_encoding::Decoder<Output = Self> + core::default::Default
pub fn bitcoin_consensus_encoding::Decode::decoder() -> Self::Decoder
pub trait bitcoin_consensus_encoding::Decoder: core::marker::Sized
pub type bitcoin_consensus_encoding::Decoder::Error
diff --git a/primitives/api/all-features.txt b/primitives/api/all-features.txt
index a5bc7dac..4de264a8 100644
--- a/primitives/api/all-features.txt
+++ b/primitives/api/all-features.txt
@@ -584,7 +584,6 @@ impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
-pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
@@ -778,7 +777,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -1001,7 +999,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -1251,7 +1248,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -1546,7 +1542,6 @@ pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Sel
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
@@ -1760,7 +1755,6 @@ pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other:
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
@@ -2589,7 +2583,6 @@ impl<T: core::hash::Hash> core::hash::Hash for bitcoin_primitives::script::Scrip
pub fn bitcoin_primitives::script::ScriptBuf<T>::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
impl<T> bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
-pub fn bitcoin_primitives::script::ScriptBuf<T>::decoder() -> Self::Decoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::borrow(&self) -> &bitcoin_primitives::script::Script<T>
impl<T> core::borrow::BorrowMut<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -3601,7 +3594,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -3851,7 +3843,6 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
-pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
@@ -4055,7 +4046,6 @@ impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
@@ -4238,7 +4228,6 @@ pub bitcoin_primitives::transaction::TxOut::amount: bitcoin_units::amount::unsig
pub bitcoin_primitives::transaction::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
@@ -4507,7 +4496,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
@@ -5023,7 +5011,6 @@ pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
@@ -5381,7 +5368,6 @@ impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
-pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
@@ -5448,7 +5434,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -5542,7 +5527,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -5617,7 +5601,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -5694,7 +5677,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -5769,7 +5751,6 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
-pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
@@ -5847,7 +5828,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
@@ -5925,7 +5905,6 @@ impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
@@ -5979,7 +5958,6 @@ pub bitcoin_primitives::TxOut::amount: bitcoin_units::amount::unsigned::encapsul
pub bitcoin_primitives::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
@@ -6126,7 +6104,6 @@ pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
diff --git a/primitives/api/alloc-only.txt b/primitives/api/alloc-only.txt
index eb92b587..7e9a13ea 100644
--- a/primitives/api/alloc-only.txt
+++ b/primitives/api/alloc-only.txt
@@ -475,7 +475,6 @@ impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
-pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
@@ -654,7 +653,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -857,7 +855,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -1002,7 +999,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -1270,7 +1266,6 @@ pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Sel
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
@@ -1464,7 +1459,6 @@ pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other:
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
@@ -2143,7 +2137,6 @@ impl<T: core::hash::Hash> core::hash::Hash for bitcoin_primitives::script::Scrip
pub fn bitcoin_primitives::script::ScriptBuf<T>::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
impl<T> bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::script::ScriptBuf<T>
pub type bitcoin_primitives::script::ScriptBuf<T>::Decoder = bitcoin_primitives::script::ScriptBufDecoder<T>
-pub fn bitcoin_primitives::script::ScriptBuf<T>::decoder() -> Self::Decoder
impl<T> core::borrow::Borrow<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
pub fn bitcoin_primitives::script::ScriptBuf<T>::borrow(&self) -> &bitcoin_primitives::script::Script<T>
impl<T> core::borrow::BorrowMut<bitcoin_primitives::script::Script<T>> for bitcoin_primitives::script::ScriptBuf<T>
@@ -2921,7 +2914,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -3109,7 +3101,6 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
-pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
@@ -3298,7 +3289,6 @@ impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
@@ -3477,7 +3467,6 @@ pub bitcoin_primitives::transaction::TxOut::amount: bitcoin_units::amount::unsig
pub bitcoin_primitives::transaction::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
@@ -3724,7 +3713,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
@@ -4206,7 +4194,6 @@ pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
@@ -4555,7 +4542,6 @@ impl<V: bitcoin_primitives::block::Validation> bitcoin_primitives::block::Block<
pub fn bitcoin_primitives::block::Block<V>::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>
pub type bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::Decoder = bitcoin_primitives::block::BlockDecoder
-pub fn bitcoin_primitives::block::Block<bitcoin_primitives::block::Unchecked>::decoder() -> Self::Decoder
impl core::convert::From<&bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
pub fn bitcoin_primitives::BlockHash::from(block: &bitcoin_primitives::block::Block) -> Self
impl core::convert::From<bitcoin_primitives::block::Block> for bitcoin_primitives::BlockHash
@@ -4609,7 +4595,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -4685,7 +4670,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -4747,7 +4731,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -4817,7 +4800,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -4878,7 +4860,6 @@ pub fn bitcoin_primitives::transaction::Transaction::compute_wtxid(&self) -> bit
pub fn bitcoin_primitives::transaction::Transaction::is_coinbase(&self) -> bool
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Decoder = bitcoin_primitives::transaction::TransactionDecoder
-pub fn bitcoin_primitives::transaction::Transaction::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Transaction
pub type bitcoin_primitives::transaction::Transaction::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::TransactionEncoder<'e>
pub fn bitcoin_primitives::transaction::Transaction::encoder(&self) -> Self::Encoder
@@ -4943,7 +4924,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
@@ -5014,7 +4994,6 @@ impl bitcoin_primitives::transaction::TxIn
pub const bitcoin_primitives::transaction::TxIn::EMPTY_COINBASE: Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Decoder = bitcoin_primitives::transaction::TxInDecoder
-pub fn bitcoin_primitives::transaction::TxIn::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxIn
pub type bitcoin_primitives::transaction::TxIn::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder3<bitcoin_primitives::transaction::OutPointEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>, bitcoin_units::sequence::SequenceEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxIn::encoder(&self) -> Self::Encoder
@@ -5066,7 +5045,6 @@ pub bitcoin_primitives::TxOut::amount: bitcoin_units::amount::unsigned::encapsul
pub bitcoin_primitives::TxOut::script_pubkey: bitcoin_primitives::script::ScriptPubKeyBuf
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Decoder = bitcoin_primitives::transaction::TxOutDecoder
-pub fn bitcoin_primitives::transaction::TxOut::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::TxOut
pub type bitcoin_primitives::transaction::TxOut::Encoder<'e> where Self: 'e = bitcoin_consensus_encoding::encode::encoders::Encoder2<bitcoin_units::amount::unsigned::AmountEncoder<'e>, bitcoin_primitives::script::ScriptEncoder<'e>>
pub fn bitcoin_primitives::transaction::TxOut::encoder(&self) -> Self::Encoder
@@ -5192,7 +5170,6 @@ pub fn bitcoin_primitives::witness::Witness::size(&self) -> usize
pub fn bitcoin_primitives::witness::Witness::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<u8>>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Decoder = bitcoin_primitives::witness::WitnessDecoder
-pub fn bitcoin_primitives::witness::Witness::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::witness::Witness
pub type bitcoin_primitives::witness::Witness::Encoder<'e> where Self: 'e = bitcoin_primitives::witness::WitnessEncoder<'e>
pub fn bitcoin_primitives::witness::Witness::encoder(&self) -> Self::Encoder
diff --git a/primitives/api/no-features.txt b/primitives/api/no-features.txt
index 15e601e1..8e5da698 100644
--- a/primitives/api/no-features.txt
+++ b/primitives/api/no-features.txt
@@ -210,7 +210,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -391,7 +390,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -524,7 +522,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -760,7 +757,6 @@ pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::combine(&self, other: &Sel
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::from_leaf(leaf: bitcoin_primitives::Txid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Decoder = bitcoin_primitives::merkle_tree::TxMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::TxMerkleNode
pub type bitcoin_primitives::merkle_tree::TxMerkleNode::Encoder<'e> = bitcoin_primitives::merkle_tree::TxMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::TxMerkleNode::encoder(&self) -> Self::Encoder
@@ -936,7 +932,6 @@ pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::combine(&self, other:
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::from_leaf(leaf: bitcoin_primitives::Wtxid) -> Self
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Decoder = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeDecoder
-pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::merkle_tree::WitnessMerkleNode
pub type bitcoin_primitives::merkle_tree::WitnessMerkleNode::Encoder<'e> = bitcoin_primitives::hash_types::witness_merkle_node::WitnessMerkleNodeEncoder<'e>
pub fn bitcoin_primitives::merkle_tree::WitnessMerkleNode::encoder(&self) -> Self::Encoder
@@ -1205,7 +1200,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -1427,7 +1421,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
@@ -1660,7 +1653,6 @@ pub const fn bitcoin_primitives::BlockHash::from_byte_array(bytes: [u8; 32]) ->
pub const fn bitcoin_primitives::BlockHash::to_byte_array(self) -> [u8; 32]
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Decoder = bitcoin_primitives::block::BlockHashDecoder
-pub fn bitcoin_primitives::BlockHash::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::BlockHash
pub type bitcoin_primitives::BlockHash::Encoder<'e> = bitcoin_primitives::block::BlockHashEncoder<'e>
pub fn bitcoin_primitives::BlockHash::encoder(&self) -> Self::Encoder
@@ -1728,7 +1720,6 @@ pub const bitcoin_primitives::block::Header::SIZE: usize
pub fn bitcoin_primitives::block::Header::block_hash(&self) -> bitcoin_primitives::BlockHash
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Decoder = bitcoin_primitives::block::HeaderDecoder
-pub fn bitcoin_primitives::block::Header::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Header
pub type bitcoin_primitives::block::Header::Encoder<'e> = bitcoin_primitives::block::HeaderEncoder<'e>
pub fn bitcoin_primitives::block::Header::encoder(&self) -> Self::Encoder
@@ -1786,7 +1777,6 @@ pub fn bitcoin_primitives::block::Version::is_signalling_soft_fork(self, bit: u8
pub const fn bitcoin_primitives::block::Version::to_consensus(self) -> i32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Decoder = bitcoin_primitives::block::VersionDecoder
-pub fn bitcoin_primitives::block::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::block::Version
pub type bitcoin_primitives::block::Version::Encoder<'e> = bitcoin_primitives::block::VersionEncoder<'e>
pub fn bitcoin_primitives::block::Version::encoder(&self) -> Self::Encoder
@@ -1850,7 +1840,6 @@ pub const bitcoin_primitives::transaction::OutPoint::COINBASE_PREVOUT: Self
pub const bitcoin_primitives::transaction::OutPoint::SIZE: usize
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Decoder = bitcoin_primitives::transaction::OutPointDecoder
-pub fn bitcoin_primitives::transaction::OutPoint::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::OutPoint
pub type bitcoin_primitives::transaction::OutPoint::Encoder<'e> where Self: 'e = bitcoin_primitives::transaction::OutPointEncoder<'e>
pub fn bitcoin_primitives::transaction::OutPoint::encoder(&self) -> Self::Encoder
@@ -1904,7 +1893,6 @@ pub const fn bitcoin_primitives::transaction::Version::maybe_non_standard(versio
pub const fn bitcoin_primitives::transaction::Version::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Decoder = bitcoin_primitives::transaction::VersionDecoder
-pub fn bitcoin_primitives::transaction::Version::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_primitives::transaction::Version
pub type bitcoin_primitives::transaction::Version::Encoder<'e> = bitcoin_primitives::transaction::VersionEncoder<'e>
pub fn bitcoin_primitives::transaction::Version::encoder(&self) -> Self::Encoder
diff --git a/units/api/all-features.txt b/units/api/all-features.txt
index 85e139b8..d38de285 100644
--- a/units/api/all-features.txt
+++ b/units/api/all-features.txt
@@ -307,7 +307,6 @@ pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_time(self, m
pub fn bitcoin_units::locktime::absolute::LockTime::to_consensus_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Decoder = bitcoin_units::locktime::absolute::LockTimeDecoder
-pub fn bitcoin_units::locktime::absolute::LockTime::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTime::encoder(&self) -> Self::Encoder
@@ -1703,7 +1702,6 @@ pub const fn bitcoin_units::Amount::from_sat(satoshi: u64) -> core::result::Resu
pub const fn bitcoin_units::Amount::to_sat(self) -> u64
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
-pub fn bitcoin_units::Amount::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::Amount::encoder(&self) -> Self::Encoder
@@ -2980,7 +2978,6 @@ pub fn bitcoin_units::block::BlockHeight::from_hex(s: &str) -> core::result::Res
pub fn bitcoin_units::block::BlockHeight::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Decoder = bitcoin_units::block::BlockHeightDecoder
-pub fn bitcoin_units::block::BlockHeight::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeight::encoder(&self) -> Self::Encoder
@@ -4301,7 +4298,6 @@ pub fn bitcoin_units::locktime::absolute::LockTime::is_satisfied_by_time(self, m
pub fn bitcoin_units::locktime::absolute::LockTime::to_consensus_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Decoder = bitcoin_units::locktime::absolute::LockTimeDecoder
-pub fn bitcoin_units::locktime::absolute::LockTime::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::locktime::absolute::LockTime
pub type bitcoin_units::locktime::absolute::LockTime::Encoder<'e> = bitcoin_units::locktime::absolute::LockTimeEncoder<'e>
pub fn bitcoin_units::locktime::absolute::LockTime::encoder(&self) -> Self::Encoder
@@ -6491,7 +6487,6 @@ pub const fn bitcoin_units::pow::CompactTarget::to_consensus(self) -> u32
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Decoder = bitcoin_units::pow::CompactTargetDecoder
-pub fn bitcoin_units::pow::CompactTarget::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Encoder<'e> = bitcoin_units::pow::CompactTargetEncoder<'e>
pub fn bitcoin_units::pow::CompactTarget::encoder(&self) -> Self::Encoder
@@ -8752,7 +8747,6 @@ pub fn bitcoin_units::sequence::Sequence::to_hex(self) -> alloc::string::String
pub fn bitcoin_units::sequence::Sequence::to_relative_lock_time(self) -> core::option::Option<bitcoin_units::locktime::relative::LockTime>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Decoder = bitcoin_units::sequence::SequenceDecoder
-pub fn bitcoin_units::sequence::Sequence::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::sequence::Sequence::encoder(&self) -> Self::Encoder
@@ -9026,7 +9020,6 @@ pub const fn bitcoin_units::BlockTime::from_u32(t: u32) -> Self
pub const fn bitcoin_units::BlockTime::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
-pub fn bitcoin_units::BlockTime::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
pub fn bitcoin_units::BlockTime::encoder(&self) -> Self::Encoder
@@ -10032,7 +10025,6 @@ pub const fn bitcoin_units::Amount::from_sat(satoshi: u64) -> core::result::Resu
pub const fn bitcoin_units::Amount::to_sat(self) -> u64
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Decoder = bitcoin_units::amount::AmountDecoder
-pub fn bitcoin_units::Amount::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::Amount
pub type bitcoin_units::Amount::Encoder<'e> = bitcoin_units::amount::AmountEncoder<'e>
pub fn bitcoin_units::Amount::encoder(&self) -> Self::Encoder
@@ -10296,7 +10288,6 @@ pub fn bitcoin_units::block::BlockHeight::from_hex(s: &str) -> core::result::Res
pub fn bitcoin_units::block::BlockHeight::from_unprefixed_hex(s: &str) -> core::result::Result<Self, bitcoin_units::parse_int::error::UnprefixedHexError>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Decoder = bitcoin_units::block::BlockHeightDecoder
-pub fn bitcoin_units::block::BlockHeight::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::block::BlockHeight
pub type bitcoin_units::block::BlockHeight::Encoder<'e> = bitcoin_units::block::BlockHeightEncoder<'e>
pub fn bitcoin_units::block::BlockHeight::encoder(&self) -> Self::Encoder
@@ -10877,7 +10868,6 @@ pub const fn bitcoin_units::BlockTime::from_u32(t: u32) -> Self
pub const fn bitcoin_units::BlockTime::to_u32(self) -> u32
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Decoder = bitcoin_units::time::BlockTimeDecoder
-pub fn bitcoin_units::BlockTime::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::BlockTime
pub type bitcoin_units::BlockTime::Encoder<'e> = bitcoin_units::time::BlockTimeEncoder<'e>
pub fn bitcoin_units::BlockTime::encoder(&self) -> Self::Encoder
@@ -10969,7 +10959,6 @@ pub const fn bitcoin_units::pow::CompactTarget::to_consensus(self) -> u32
pub fn bitcoin_units::pow::CompactTarget::to_hex(self) -> alloc::string::String
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Decoder = bitcoin_units::pow::CompactTargetDecoder
-pub fn bitcoin_units::pow::CompactTarget::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::pow::CompactTarget
pub type bitcoin_units::pow::CompactTarget::Encoder<'e> = bitcoin_units::pow::CompactTargetEncoder<'e>
pub fn bitcoin_units::pow::CompactTarget::encoder(&self) -> Self::Encoder
@@ -11270,7 +11259,6 @@ pub fn bitcoin_units::sequence::Sequence::to_hex(self) -> alloc::string::String
pub fn bitcoin_units::sequence::Sequence::to_relative_lock_time(self) -> core::option::Option<bitcoin_units::locktime::relative::LockTime>
impl bitcoin_consensus_encoding::decode::Decode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Decoder = bitcoin_units::sequence::SequenceDecoder
-pub fn bitcoin_units::sequence::Sequence::decoder() -> Self::Decoder
impl bitcoin_consensus_encoding::encode::Encode for bitcoin_units::sequence::Sequence
pub type bitcoin_units::sequence::Sequence::Encoder<'e> = bitcoin_units::sequence::SequenceEncoder<'e>
pub fn bitcoin_units::sequence::Sequence::encoder(&self) -> Self::Encoder
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.