Skip to content

Commit

Permalink
API changes for "delete all_zeros"
Browse files Browse the repository at this point in the history
This is the kind of diff that is nicer to read than the source code.
  • Loading branch information
apoelstra committed Jun 19, 2024
1 parent 7313d79 commit f7fa344
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 111 deletions.
16 changes: 0 additions & 16 deletions api/bitcoin/all-features.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7007,7 +7007,6 @@ pub fn bitcoin::EcdsaSighashType::from_str(s: &str) -> core::result::Result<Self
pub fn bitcoin::EcdsaSighashType::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin::EcdsaSighashType::serialize<S>(&self, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
pub fn bitcoin::EcdsaSighashType::to_u32(self) -> u32
pub fn bitcoin::LegacySighash::all_zeros() -> Self
pub fn bitcoin::LegacySighash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::LegacySighash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::LegacySighash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7056,7 +7055,6 @@ pub fn bitcoin::PrivateKey::public_key<C: secp256k1::context::Signing>(&self, se
pub fn bitcoin::PrivateKey::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
pub fn bitcoin::PrivateKey::to_bytes(self) -> alloc::vec::Vec<u8>
pub fn bitcoin::PrivateKey::to_wif(self) -> alloc::string::String
pub fn bitcoin::PubkeyHash::all_zeros() -> Self
pub fn bitcoin::PubkeyHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::PubkeyHash::as_ref(&self) -> &[u8; 20]
pub fn bitcoin::PubkeyHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7109,7 +7107,6 @@ pub fn bitcoin::PublicKey::to_sort_key(self) -> bitcoin::key::SortKey
pub fn bitcoin::PublicKey::verify<C: secp256k1::context::Verification>(&self, secp: &secp256k1::Secp256k1<C>, msg: &secp256k1::Message, sig: &bitcoin::ecdsa::Signature) -> core::result::Result<(), secp256k1::Error>
pub fn bitcoin::PublicKey::wpubkey_hash(&self) -> core::result::Result<bitcoin::WPubkeyHash, bitcoin::key::UncompressedPublicKeyError>
pub fn bitcoin::PublicKey::write_into<W: bitcoin_io::Write + core::marker::Sized>(&self, writer: &mut W) -> core::result::Result<(), bitcoin_io::error::Error>
pub fn bitcoin::SegwitV0Sighash::all_zeros() -> Self
pub fn bitcoin::SegwitV0Sighash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::SegwitV0Sighash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::SegwitV0Sighash::as_ref(&self) -> &[u8]
Expand All @@ -7134,7 +7131,6 @@ pub fn bitcoin::SegwitV0Sighash::index(&self, index: I) -> &Self::Output
pub fn bitcoin::SegwitV0Sighash::partial_cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::SegwitV0Sighash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
pub fn bitcoin::SegwitV0Sighash::to_byte_array(self) -> Self::Bytes
pub fn bitcoin::TapSighash::all_zeros() -> Self
pub fn bitcoin::TapSighash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::TapSighash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::TapSighash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7177,7 +7173,6 @@ pub fn bitcoin::TapSighashType::from_str(s: &str) -> core::result::Result<Self,
pub fn bitcoin::TapSighashType::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin::TapSighashType::partial_cmp(&self, other: &bitcoin::TapSighashType) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::TapSighashType::serialize<S>(&self, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
pub fn bitcoin::WPubkeyHash::all_zeros() -> Self
pub fn bitcoin::WPubkeyHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::WPubkeyHash::as_ref(&self) -> &[u8; 20]
pub fn bitcoin::WPubkeyHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7426,7 +7421,6 @@ pub fn bitcoin::bip158::Error::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> c
pub fn bitcoin::bip158::Error::from(io: bitcoin_io::error::Error) -> Self
pub fn bitcoin::bip158::Error::from(never: core::convert::Infallible) -> Self
pub fn bitcoin::bip158::Error::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
pub fn bitcoin::bip158::FilterHash::all_zeros() -> Self
pub fn bitcoin::bip158::FilterHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::bip158::FilterHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::bip158::FilterHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7454,7 +7448,6 @@ pub fn bitcoin::bip158::FilterHash::index(&self, index: I) -> &Self::Output
pub fn bitcoin::bip158::FilterHash::partial_cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::bip158::FilterHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
pub fn bitcoin::bip158::FilterHash::to_byte_array(self) -> Self::Bytes
pub fn bitcoin::bip158::FilterHeader::all_zeros() -> Self
pub fn bitcoin::bip158::FilterHeader::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::bip158::FilterHeader::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::bip158::FilterHeader::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7605,7 +7598,6 @@ pub fn bitcoin::bip32::InvalidBase58PayloadLengthError::clone(&self) -> bitcoin:
pub fn bitcoin::bip32::InvalidBase58PayloadLengthError::eq(&self, other: &bitcoin::bip32::InvalidBase58PayloadLengthError) -> bool
pub fn bitcoin::bip32::InvalidBase58PayloadLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
pub fn bitcoin::bip32::InvalidBase58PayloadLengthError::invalid_base58_payload_length(&self) -> usize
pub fn bitcoin::bip32::XKeyIdentifier::all_zeros() -> Self
pub fn bitcoin::bip32::XKeyIdentifier::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::bip32::XKeyIdentifier::as_ref(&self) -> &[u8; 20]
pub fn bitcoin::bip32::XKeyIdentifier::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -7757,7 +7749,6 @@ pub fn bitcoin::blockdata::block::Version::is_signalling_soft_fork(&self, bit: u
pub fn bitcoin::blockdata::block::Version::partial_cmp(&self, other: &bitcoin::blockdata::block::Version) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::blockdata::block::Version::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer
pub fn bitcoin::blockdata::block::Version::to_consensus(self) -> i32
pub fn bitcoin::blockdata::block::WitnessCommitment::all_zeros() -> Self
pub fn bitcoin::blockdata::block::WitnessCommitment::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::blockdata::block::WitnessCommitment::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::blockdata::block::WitnessCommitment::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -8266,7 +8257,6 @@ pub fn bitcoin::blockdata::script::ScriptBuf::reserve_exact(&mut self, additiona
pub fn bitcoin::blockdata::script::ScriptBuf::scan_and_push_verify(&mut self)
pub fn bitcoin::blockdata::script::ScriptBuf::serialize<S>(&self, serializer: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error> where S: serde::ser::Serializer
pub fn bitcoin::blockdata::script::ScriptBuf::with_capacity(capacity: usize) -> Self
pub fn bitcoin::blockdata::script::ScriptHash::all_zeros() -> Self
pub fn bitcoin::blockdata::script::ScriptHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::blockdata::script::ScriptHash::as_ref(&self) -> &[u8; 20]
pub fn bitcoin::blockdata::script::ScriptHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -8297,7 +8287,6 @@ pub fn bitcoin::blockdata::script::ScriptHash::to_byte_array(self) -> Self::Byte
pub fn bitcoin::blockdata::script::ScriptHash::try_from(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, Self::Error>
pub fn bitcoin::blockdata::script::ScriptHash::try_from(redeem_script: &bitcoin::blockdata::script::ScriptBuf) -> core::result::Result<Self, Self::Error>
pub fn bitcoin::blockdata::script::ScriptHash::try_from(redeem_script: bitcoin::blockdata::script::ScriptBuf) -> core::result::Result<Self, Self::Error>
pub fn bitcoin::blockdata::script::WScriptHash::all_zeros() -> Self
pub fn bitcoin::blockdata::script::WScriptHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::blockdata::script::WScriptHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::blockdata::script::WScriptHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -8880,7 +8869,6 @@ pub fn bitcoin::merkle_tree::PartialMerkleTree::fmt(&self, f: &mut core::fmt::Fo
pub fn bitcoin::merkle_tree::PartialMerkleTree::from_txids(txids: &[bitcoin::blockdata::transaction::Txid], matches: &[bool]) -> Self
pub fn bitcoin::merkle_tree::PartialMerkleTree::hashes(&self) -> &alloc::vec::Vec<bitcoin::merkle_tree::TxMerkleNode>
pub fn bitcoin::merkle_tree::PartialMerkleTree::num_transactions(&self) -> u32
pub fn bitcoin::merkle_tree::TxMerkleNode::all_zeros() -> Self
pub fn bitcoin::merkle_tree::TxMerkleNode::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::merkle_tree::TxMerkleNode::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::merkle_tree::TxMerkleNode::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -8909,7 +8897,6 @@ pub fn bitcoin::merkle_tree::TxMerkleNode::index(&self, index: I) -> &Self::Outp
pub fn bitcoin::merkle_tree::TxMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::merkle_tree::TxMerkleNode::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
pub fn bitcoin::merkle_tree::TxMerkleNode::to_byte_array(self) -> Self::Bytes
pub fn bitcoin::merkle_tree::WitnessMerkleNode::all_zeros() -> Self
pub fn bitcoin::merkle_tree::WitnessMerkleNode::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::merkle_tree::WitnessMerkleNode::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::merkle_tree::WitnessMerkleNode::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -9644,7 +9631,6 @@ pub fn bitcoin::taproot::TapLeaf::fmt(&self, f: &mut core::fmt::Formatter<'_>) -
pub fn bitcoin::taproot::TapLeaf::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin::taproot::TapLeaf::partial_cmp(&self, other: &bitcoin::taproot::TapLeaf) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::taproot::TapLeaf::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer
pub fn bitcoin::taproot::TapLeafHash::all_zeros() -> Self
pub fn bitcoin::taproot::TapLeafHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::taproot::TapLeafHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::taproot::TapLeafHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -9680,7 +9666,6 @@ pub fn bitcoin::taproot::TapLeafTag::engine() -> bitcoin_hashes::sha256::HashEng
pub fn bitcoin::taproot::TapLeafTag::eq(&self, other: &bitcoin::taproot::TapLeafTag) -> bool
pub fn bitcoin::taproot::TapLeafTag::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
pub fn bitcoin::taproot::TapLeafTag::partial_cmp(&self, other: &bitcoin::taproot::TapLeafTag) -> core::option::Option<core::cmp::Ordering>
pub fn bitcoin::taproot::TapNodeHash::all_zeros() -> Self
pub fn bitcoin::taproot::TapNodeHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::taproot::TapNodeHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::taproot::TapNodeHash::as_ref(&self) -> &[u8]
Expand Down Expand Up @@ -9723,7 +9708,6 @@ pub fn bitcoin::taproot::TapTree::script_leaves(&self) -> bitcoin::taproot::Scri
pub fn bitcoin::taproot::TapTree::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde::ser::Serializer>::Ok, <__S as serde::ser::Serializer>::Error> where __S: serde::ser::Serializer
pub fn bitcoin::taproot::TapTree::try_from(builder: bitcoin::taproot::TaprootBuilder) -> core::result::Result<Self, Self::Error>
pub fn bitcoin::taproot::TapTree::try_from(node_info: bitcoin::taproot::NodeInfo) -> core::result::Result<Self, Self::Error>
pub fn bitcoin::taproot::TapTweakHash::all_zeros() -> Self
pub fn bitcoin::taproot::TapTweakHash::as_byte_array(&self) -> &Self::Bytes
pub fn bitcoin::taproot::TapTweakHash::as_ref(&self) -> &[u8; 32]
pub fn bitcoin::taproot::TapTweakHash::as_ref(&self) -> &[u8]
Expand Down
Loading

0 comments on commit f7fa344

Please sign in to comment.