Skip to content

Commit 0ac8e91

Browse files
committed
consensus_encoding: API update
1 parent 93a085b commit 0ac8e91

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/units/all-features.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,6 +1893,7 @@ pub fn bitcoin_units::Weight::try_from(s: alloc::boxed::Box<str>) -> core::resul
18931893
pub fn bitcoin_units::Weight::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
18941894
pub fn bitcoin_units::amount::AmountDecoder::default() -> Self
18951895
pub fn bitcoin_units::amount::AmountDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
1896+
pub fn bitcoin_units::amount::AmountDecoder::min_bytes_needed(&self) -> usize
18961897
pub fn bitcoin_units::amount::AmountDecoder::new() -> Self
18971898
pub fn bitcoin_units::amount::AmountDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
18981899
pub fn bitcoin_units::amount::Denomination::arbitrary(u: &mut arbitrary::unstructured::Unstructured<'a>) -> arbitrary::error::Result<Self>
@@ -2004,6 +2005,7 @@ pub fn bitcoin_units::block::BlockHeight::try_from(s: alloc::boxed::Box<str>) ->
20042005
pub fn bitcoin_units::block::BlockHeight::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
20052006
pub fn bitcoin_units::block::BlockHeightDecoder::default() -> Self
20062007
pub fn bitcoin_units::block::BlockHeightDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
2008+
pub fn bitcoin_units::block::BlockHeightDecoder::min_bytes_needed(&self) -> usize
20072009
pub fn bitcoin_units::block::BlockHeightDecoder::new() -> Self
20082010
pub fn bitcoin_units::block::BlockHeightDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
20092011
pub fn bitcoin_units::block::BlockHeightDecoderError::clone(&self) -> bitcoin_units::block::BlockHeightDecoderError
@@ -2153,6 +2155,7 @@ pub fn bitcoin_units::locktime::absolute::LockTime::try_from(s: alloc::boxed::Bo
21532155
pub fn bitcoin_units::locktime::absolute::LockTime::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
21542156
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::default() -> Self
21552157
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
2158+
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::min_bytes_needed(&self) -> usize
21562159
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::new() -> Self
21572160
pub fn bitcoin_units::locktime::absolute::LockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
21582161
pub fn bitcoin_units::locktime::absolute::LockTimeEncoder::advance(&mut self) -> bool
@@ -2418,6 +2421,7 @@ pub fn bitcoin_units::sequence::Sequence::try_from(s: alloc::boxed::Box<str>) ->
24182421
pub fn bitcoin_units::sequence::Sequence::try_from(s: alloc::string::String) -> core::result::Result<Self, Self::Error>
24192422
pub fn bitcoin_units::sequence::SequenceDecoder::default() -> Self
24202423
pub fn bitcoin_units::sequence::SequenceDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
2424+
pub fn bitcoin_units::sequence::SequenceDecoder::min_bytes_needed(&self) -> usize
24212425
pub fn bitcoin_units::sequence::SequenceDecoder::new() -> Self
24222426
pub fn bitcoin_units::sequence::SequenceDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
24232427
pub fn bitcoin_units::sequence::SequenceDecoderError::clone(&self) -> bitcoin_units::sequence::SequenceDecoderError
@@ -2429,6 +2433,7 @@ pub fn bitcoin_units::sequence::SequenceEncoder::advance(&mut self) -> bool
24292433
pub fn bitcoin_units::sequence::SequenceEncoder::current_chunk(&self) -> core::option::Option<&[u8]>
24302434
pub fn bitcoin_units::time::BlockTimeDecoder::default() -> Self
24312435
pub fn bitcoin_units::time::BlockTimeDecoder::end(self) -> core::result::Result<Self::Output, Self::Error>
2436+
pub fn bitcoin_units::time::BlockTimeDecoder::min_bytes_needed(&self) -> usize
24322437
pub fn bitcoin_units::time::BlockTimeDecoder::new() -> Self
24332438
pub fn bitcoin_units::time::BlockTimeDecoder::push_bytes(&mut self, bytes: &mut &[u8]) -> core::result::Result<bool, Self::Error>
24342439
pub fn bitcoin_units::time::BlockTimeDecoderError::clone(&self) -> bitcoin_units::time::BlockTimeDecoderError

0 commit comments

Comments
 (0)