diff --git a/api/bitcoin/all-features.txt b/api/bitcoin/all-features.txt index 998fb3762..fb5912719 100644 --- a/api/bitcoin/all-features.txt +++ b/api/bitcoin/all-features.txt @@ -442,6 +442,25 @@ impl bitcoin::taproot::merkle_branch::IntoIter impl bitcoin::taproot::merkle_branch::TaprootMerkleBranch impl bitcoin::taproot::serialized_signature::IntoIter impl bitcoin::taproot::serialized_signature::SerializedSignature +impl bitcoin_hashes::GeneralHash for bitcoin::LegacySighash +impl bitcoin_hashes::GeneralHash for bitcoin::PubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::SegwitV0Sighash +impl bitcoin_hashes::GeneralHash for bitcoin::TapSighash +impl bitcoin_hashes::GeneralHash for bitcoin::WPubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHeader +impl bitcoin_hashes::GeneralHash for bitcoin::bip32::XKeyIdentifier +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::BlockHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::WitnessCommitment +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::ScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::WScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Txid +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Wtxid +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::TxMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::WitnessMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapLeafHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapNodeHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapTweakHash impl bitcoin_hashes::Hash for bitcoin::LegacySighash impl bitcoin_hashes::Hash for bitcoin::PubkeyHash impl bitcoin_hashes::Hash for bitcoin::SegwitV0Sighash @@ -7017,13 +7036,14 @@ pub fn bitcoin::LegacySighash::borrow(&self) -> &[u8] pub fn bitcoin::LegacySighash::clone(&self) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::cmp(&self, other: &bitcoin::LegacySighash) -> core::cmp::Ordering pub fn bitcoin::LegacySighash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> Self::Engine pub fn bitcoin::LegacySighash::eq(&self, other: &bitcoin::LegacySighash) -> bool pub fn bitcoin::LegacySighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::LegacySighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::LegacySighash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result @@ -7066,7 +7086,8 @@ pub fn bitcoin::PubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::PubkeyHash::clone(&self) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::cmp(&self, other: &bitcoin::PubkeyHash) -> core::cmp::Ordering pub fn bitcoin::PubkeyHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> Self::Engine pub fn bitcoin::PubkeyHash::eq(&self, other: &bitcoin::PubkeyHash) -> bool pub fn bitcoin::PubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::PubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::PubkeyHash @@ -7075,8 +7096,8 @@ pub fn bitcoin::PubkeyHash::from(key: &bitcoin::PublicKey) -> bitcoin::PubkeyHas pub fn bitcoin::PubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::PubkeyHash::from(key: bitcoin::PublicKey) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::PubkeyHash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result @@ -7117,13 +7138,14 @@ pub fn bitcoin::SegwitV0Sighash::borrow(&self) -> &[u8] pub fn bitcoin::SegwitV0Sighash::clone(&self) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::cmp::Ordering pub fn bitcoin::SegwitV0Sighash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> Self::Engine pub fn bitcoin::SegwitV0Sighash::eq(&self, other: &bitcoin::SegwitV0Sighash) -> bool pub fn bitcoin::SegwitV0Sighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::SegwitV0Sighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result @@ -7141,13 +7163,14 @@ pub fn bitcoin::TapSighash::borrow(&self) -> &[u8] pub fn bitcoin::TapSighash::clone(&self) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::cmp(&self, other: &bitcoin::TapSighash) -> core::cmp::Ordering pub fn bitcoin::TapSighash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::TapSighash::engine() -> Self::Engine pub fn bitcoin::TapSighash::eq(&self, other: &bitcoin::TapSighash) -> bool pub fn bitcoin::TapSighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::TapSighash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::TapSighash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result @@ -7184,15 +7207,16 @@ pub fn bitcoin::WPubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::WPubkeyHash::clone(&self) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::cmp(&self, other: &bitcoin::WPubkeyHash) -> core::cmp::Ordering pub fn bitcoin::WPubkeyHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> Self::Engine pub fn bitcoin::WPubkeyHash::eq(&self, other: &bitcoin::WPubkeyHash) -> bool pub fn bitcoin::WPubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::WPubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from(key: &bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::WPubkeyHash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result @@ -7433,14 +7457,15 @@ pub fn bitcoin::bip158::FilterHash::cmp(&self, other: &bitcoin::bip158::FilterHa pub fn bitcoin::bip158::FilterHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHash::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::bip158::FilterHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHash::eq(&self, other: &bitcoin::bip158::FilterHash) -> bool pub fn bitcoin::bip158::FilterHash::filter_header(&self, previous_filter_header: bitcoin::bip158::FilterHeader) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result @@ -7460,13 +7485,14 @@ pub fn bitcoin::bip158::FilterHeader::cmp(&self, other: &bitcoin::bip158::Filter pub fn bitcoin::bip158::FilterHeader::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHeader::eq(&self, other: &bitcoin::bip158::FilterHeader) -> bool pub fn bitcoin::bip158::FilterHeader::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHeader::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result @@ -7608,15 +7634,16 @@ pub fn bitcoin::bip32::XKeyIdentifier::borrow(&self) -> &[u8] pub fn bitcoin::bip32::XKeyIdentifier::clone(&self) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::cmp::Ordering pub fn bitcoin::bip32::XKeyIdentifier::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> Self::Engine pub fn bitcoin::bip32::XKeyIdentifier::eq(&self, other: &bitcoin::bip32::XKeyIdentifier) -> bool pub fn bitcoin::bip32::XKeyIdentifier::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip32::XKeyIdentifier::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: &bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result @@ -7696,7 +7723,8 @@ pub fn bitcoin::blockdata::block::BlockHash::cmp(&self, other: &bitcoin::blockda pub fn bitcoin::blockdata::block::BlockHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> Self::Engine pub fn bitcoin::blockdata::block::BlockHash::eq(&self, other: &bitcoin::blockdata::block::BlockHash) -> bool pub fn bitcoin::blockdata::block::BlockHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::BlockHash::from(block: &bitcoin::blockdata::block::Block) -> bitcoin::blockdata::block::BlockHash @@ -7705,8 +7733,8 @@ pub fn bitcoin::blockdata::block::BlockHash::from(header: &bitcoin::blockdata::b pub fn bitcoin::blockdata::block::BlockHash::from(header: bitcoin::blockdata::block::Header) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result @@ -7759,13 +7787,14 @@ pub fn bitcoin::blockdata::block::WitnessCommitment::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::block::WitnessCommitment::clone(&self) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::cmp::Ordering pub fn bitcoin::blockdata::block::WitnessCommitment::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> Self::Engine pub fn bitcoin::blockdata::block::WitnessCommitment::eq(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> bool pub fn bitcoin::blockdata::block::WitnessCommitment::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result @@ -8268,13 +8297,14 @@ pub fn bitcoin::blockdata::script::ScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::ScriptHash::clone(&self) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::cmp::Ordering pub fn bitcoin::blockdata::script::ScriptHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::ScriptHash::eq(&self, other: &bitcoin::blockdata::script::ScriptHash) -> bool pub fn bitcoin::blockdata::script::ScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::ScriptHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::ScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::ScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -8298,13 +8328,14 @@ pub fn bitcoin::blockdata::script::WScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::WScriptHash::clone(&self) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::cmp::Ordering pub fn bitcoin::blockdata::script::WScriptHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::WScriptHash::eq(&self, other: &bitcoin::blockdata::script::WScriptHash) -> bool pub fn bitcoin::blockdata::script::WScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::WScriptHash::from(inner: bitcoin_hashes::sha256::Hash) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::WScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::WScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -8517,15 +8548,16 @@ pub fn bitcoin::blockdata::transaction::Txid::cmp(&self, other: &bitcoin::blockd pub fn bitcoin::blockdata::transaction::Txid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Txid::eq(&self, other: &bitcoin::blockdata::transaction::Txid) -> bool pub fn bitcoin::blockdata::transaction::Txid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Txid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result @@ -8558,15 +8590,16 @@ pub fn bitcoin::blockdata::transaction::Wtxid::cmp(&self, other: &bitcoin::block pub fn bitcoin::blockdata::transaction::Wtxid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Wtxid::eq(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> bool pub fn bitcoin::blockdata::transaction::Wtxid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Wtxid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::from_slice_delegated(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result @@ -8882,13 +8915,14 @@ pub fn bitcoin::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::TxMerkleNode::eq(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> bool pub fn bitcoin::merkle_tree::TxMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from_slice_delegated(sl: &[u8]) -> core::result::Result @@ -8910,13 +8944,14 @@ pub fn bitcoin::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::WitnessMerkleNode::eq(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> bool pub fn bitcoin::merkle_tree::WitnessMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_slice_delegated(sl: &[u8]) -> core::result::Result @@ -9643,14 +9678,15 @@ pub fn bitcoin::taproot::TapLeafHash::cmp(&self, other: &bitcoin::taproot::TapLe pub fn bitcoin::taproot::TapLeafHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::consensus_encode(&self, w: &mut W) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapLeafHash::eq(&self, other: &bitcoin::taproot::TapLeafHash) -> bool pub fn bitcoin::taproot::TapLeafHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapLeafHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from(script_path: bitcoin::sighash::ScriptPath<'s>) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::from_slice_delegated(sl: &[u8]) -> core::result::Result @@ -9677,7 +9713,8 @@ pub fn bitcoin::taproot::TapNodeHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapNodeHash::clone(&self) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::cmp(&self, other: &bitcoin::taproot::TapNodeHash) -> core::cmp::Ordering pub fn bitcoin::taproot::TapNodeHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapNodeHash::eq(&self, other: &bitcoin::taproot::TapNodeHash) -> bool pub fn bitcoin::taproot::TapNodeHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapNodeHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapNodeHash @@ -9685,8 +9722,8 @@ pub fn bitcoin::taproot::TapNodeHash::from(leaf: &bitcoin::taproot::LeafNode) -> pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::LeafNode) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::TapLeafHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_node_hashes(a: bitcoin::taproot::TapNodeHash, b: bitcoin::taproot::TapNodeHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_slice(sl: &[u8]) -> core::result::Result @@ -9718,15 +9755,16 @@ pub fn bitcoin::taproot::TapTweakHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapTweakHash::clone(&self) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::cmp(&self, other: &bitcoin::taproot::TapTweakHash) -> core::cmp::Ordering pub fn bitcoin::taproot::TapTweakHash::deserialize>(d: D) -> core::result::Result::Error> -pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapTweakHash::eq(&self, other: &bitcoin::taproot::TapTweakHash) -> bool pub fn bitcoin::taproot::TapTweakHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapTweakHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: &bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_key_and_tweak(internal_key: bitcoin::key::UntweakedPublicKey, merkle_root: core::option::Option) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapTweakHash::from_slice_delegated(sl: &[u8]) -> core::result::Result @@ -10413,27 +10451,27 @@ pub type bitcoin::CompressedPublicKey::Err = bitcoin::key::ParseCompressedPublic pub type bitcoin::CompressedPublicKey::Error = bitcoin::key::UncompressedPublicKeyError pub type bitcoin::EcdsaSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::LegacySighash::Bytes = ::Bytes -pub type bitcoin::LegacySighash::Engine = ::Engine +pub type bitcoin::LegacySighash::Engine = ::Engine pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::LegacySighash::Output = >::Output pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError pub type bitcoin::PrivateKey::Output = [u8] pub type bitcoin::PubkeyHash::Bytes = ::Bytes -pub type bitcoin::PubkeyHash::Engine = ::Engine +pub type bitcoin::PubkeyHash::Engine = ::Engine pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::PubkeyHash::Output = >::Output pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError pub type bitcoin::SegwitV0Sighash::Bytes = ::Bytes -pub type bitcoin::SegwitV0Sighash::Engine = ::Engine +pub type bitcoin::SegwitV0Sighash::Engine = ::Engine pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::SegwitV0Sighash::Output = >::Output pub type bitcoin::TapSighash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::TapSighash::Output = >::Output pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::WPubkeyHash::Bytes = ::Bytes -pub type bitcoin::WPubkeyHash::Engine = ::Engine +pub type bitcoin::WPubkeyHash::Engine = ::Engine pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::WPubkeyHash::Output = >::Output pub type bitcoin::address::Address::Err = bitcoin::address::error::ParseError @@ -10442,11 +10480,11 @@ pub type bitcoin::bip152::ShortId::Err = hex_conservative::error::HexToArrayErro pub type bitcoin::bip152::ShortId::Error = core::array::TryFromSliceError pub type bitcoin::bip152::ShortId::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip158::FilterHash::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHash::Engine = ::Engine +pub type bitcoin::bip158::FilterHash::Engine = ::Engine pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHash::Output = >::Output pub type bitcoin::bip158::FilterHeader::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHeader::Engine = ::Engine +pub type bitcoin::bip158::FilterHeader::Engine = ::Engine pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHeader::Output = >::Output pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError @@ -10463,18 +10501,18 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath) pub type bitcoin::bip32::XKeyIdentifier::Bytes = ::Bytes -pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine +pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip32::XKeyIdentifier::Output = >::Output pub type bitcoin::bip32::Xpriv::Err = bitcoin::bip32::Error pub type bitcoin::bip32::Xpriv::Error = bitcoin::psbt::GetKeyError pub type bitcoin::bip32::Xpub::Err = bitcoin::bip32::Error pub type bitcoin::blockdata::block::BlockHash::Bytes = ::Bytes -pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine +pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::BlockHash::Output = >::Output pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = ::Bytes -pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine +pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::WitnessCommitment::Output = >::Output pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError @@ -10495,12 +10533,12 @@ pub type bitcoin::blockdata::script::Script::Output = bitcoin::blockdata::script pub type bitcoin::blockdata::script::Script::Owned = bitcoin::blockdata::script::ScriptBuf pub type bitcoin::blockdata::script::ScriptBuf::Target = bitcoin::blockdata::script::Script pub type bitcoin::blockdata::script::ScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::ScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::ScriptHash::Error = bitcoin::blockdata::script::RedeemScriptSizeError pub type bitcoin::blockdata::script::ScriptHash::Output = >::Output pub type bitcoin::blockdata::script::WScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::WScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::WScriptHash::Error = bitcoin::blockdata::script::WitnessScriptSizeError pub type bitcoin::blockdata::script::WScriptHash::Output = >::Output @@ -10511,11 +10549,11 @@ pub type bitcoin::blockdata::transaction::OutPoint::Err = bitcoin::blockdata::tr pub type bitcoin::blockdata::transaction::Sequence::Err = bitcoin_units::parse::ParseIntError pub type bitcoin::blockdata::transaction::Sequence::Error = bitcoin_units::parse::ParseIntError pub type bitcoin::blockdata::transaction::Txid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Txid::Output = >::Output pub type bitcoin::blockdata::transaction::Wtxid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Wtxid::Output = >::Output pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8] @@ -10541,12 +10579,12 @@ pub type bitcoin::key::UntweakedPublicKey::TweakedAux = (bitcoin::key::TweakedPu pub type bitcoin::key::UntweakedPublicKey::TweakedKey = bitcoin::key::TweakedPublicKey pub type bitcoin::merkle_tree::MerkleNode::Leaf pub type bitcoin::merkle_tree::TxMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::TxMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::TxMerkleNode::Leaf = bitcoin::blockdata::transaction::Txid pub type bitcoin::merkle_tree::TxMerkleNode::Output = >::Output pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::WitnessMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::WitnessMerkleNode::Leaf = bitcoin::blockdata::transaction::Wtxid pub type bitcoin::merkle_tree::WitnessMerkleNode::Output = >::Output @@ -10573,17 +10611,17 @@ pub type bitcoin::taproot::NodeInfo::Error = bitcoin::taproot::IncompleteBuilder pub type bitcoin::taproot::ScriptLeaves<'tree>::Item = bitcoin::taproot::ScriptLeaf<'tree> pub type bitcoin::taproot::Signature::Error = bitcoin::taproot::SigFromSliceError pub type bitcoin::taproot::TapLeafHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapLeafHash::Output = >::Output pub type bitcoin::taproot::TapNodeHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapNodeHash::Output = >::Output pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::HiddenNodesError pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::IncompleteBuilderError pub type bitcoin::taproot::TapTweakHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapTweakHash::Output = >::Output pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash diff --git a/api/bitcoin/default-features.txt b/api/bitcoin/default-features.txt index c5831a048..bf16221f1 100644 --- a/api/bitcoin/default-features.txt +++ b/api/bitcoin/default-features.txt @@ -433,6 +433,25 @@ impl bitcoin::taproot::merkle_branch::IntoIter impl bitcoin::taproot::merkle_branch::TaprootMerkleBranch impl bitcoin::taproot::serialized_signature::IntoIter impl bitcoin::taproot::serialized_signature::SerializedSignature +impl bitcoin_hashes::GeneralHash for bitcoin::LegacySighash +impl bitcoin_hashes::GeneralHash for bitcoin::PubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::SegwitV0Sighash +impl bitcoin_hashes::GeneralHash for bitcoin::TapSighash +impl bitcoin_hashes::GeneralHash for bitcoin::WPubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHeader +impl bitcoin_hashes::GeneralHash for bitcoin::bip32::XKeyIdentifier +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::BlockHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::WitnessCommitment +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::ScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::WScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Txid +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Wtxid +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::TxMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::WitnessMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapLeafHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapNodeHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapTweakHash impl bitcoin_hashes::Hash for bitcoin::LegacySighash impl bitcoin_hashes::Hash for bitcoin::PubkeyHash impl bitcoin_hashes::Hash for bitcoin::SegwitV0Sighash @@ -6706,13 +6725,14 @@ pub fn bitcoin::LegacySighash::as_ref(&self) -> &[u8] pub fn bitcoin::LegacySighash::borrow(&self) -> &[u8] pub fn bitcoin::LegacySighash::clone(&self) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::cmp(&self, other: &bitcoin::LegacySighash) -> core::cmp::Ordering -pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> Self::Engine pub fn bitcoin::LegacySighash::eq(&self, other: &bitcoin::LegacySighash) -> bool pub fn bitcoin::LegacySighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::LegacySighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::LegacySighash::hash(data: &[u8]) -> Self @@ -6749,7 +6769,8 @@ pub fn bitcoin::PubkeyHash::as_ref(&self) -> &bitcoin::blockdata::script::PushBy pub fn bitcoin::PubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::PubkeyHash::clone(&self) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::cmp(&self, other: &bitcoin::PubkeyHash) -> core::cmp::Ordering -pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> Self::Engine pub fn bitcoin::PubkeyHash::eq(&self, other: &bitcoin::PubkeyHash) -> bool pub fn bitcoin::PubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::PubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::PubkeyHash @@ -6758,8 +6779,8 @@ pub fn bitcoin::PubkeyHash::from(key: &bitcoin::PublicKey) -> bitcoin::PubkeyHas pub fn bitcoin::PubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::PubkeyHash::from(key: bitcoin::PublicKey) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::PubkeyHash::hash(data: &[u8]) -> Self @@ -6795,13 +6816,14 @@ pub fn bitcoin::SegwitV0Sighash::as_ref(&self) -> &[u8] pub fn bitcoin::SegwitV0Sighash::borrow(&self) -> &[u8] pub fn bitcoin::SegwitV0Sighash::clone(&self) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::cmp::Ordering -pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> Self::Engine pub fn bitcoin::SegwitV0Sighash::eq(&self, other: &bitcoin::SegwitV0Sighash) -> bool pub fn bitcoin::SegwitV0Sighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::SegwitV0Sighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::hash(data: &[u8]) -> Self @@ -6816,13 +6838,14 @@ pub fn bitcoin::TapSighash::as_ref(&self) -> &[u8] pub fn bitcoin::TapSighash::borrow(&self) -> &[u8] pub fn bitcoin::TapSighash::clone(&self) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::cmp(&self, other: &bitcoin::TapSighash) -> core::cmp::Ordering -pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::TapSighash::engine() -> Self::Engine pub fn bitcoin::TapSighash::eq(&self, other: &bitcoin::TapSighash) -> bool pub fn bitcoin::TapSighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::TapSighash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::TapSighash::hash(data: &[u8]) -> Self @@ -6854,15 +6877,16 @@ pub fn bitcoin::WPubkeyHash::as_ref(&self) -> &bitcoin::blockdata::script::PushB pub fn bitcoin::WPubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::WPubkeyHash::clone(&self) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::cmp(&self, other: &bitcoin::WPubkeyHash) -> core::cmp::Ordering -pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> Self::Engine pub fn bitcoin::WPubkeyHash::eq(&self, other: &bitcoin::WPubkeyHash) -> bool pub fn bitcoin::WPubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::WPubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from(key: &bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::WPubkeyHash::hash(data: &[u8]) -> Self @@ -7096,14 +7120,15 @@ pub fn bitcoin::bip158::FilterHash::clone(&self) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::cmp::Ordering pub fn bitcoin::bip158::FilterHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHash::eq(&self, other: &bitcoin::bip158::FilterHash) -> bool pub fn bitcoin::bip158::FilterHash::filter_header(&self, previous_filter_header: bitcoin::bip158::FilterHeader) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip158::FilterHash::hash(data: &[u8]) -> Self @@ -7120,13 +7145,14 @@ pub fn bitcoin::bip158::FilterHeader::clone(&self) -> bitcoin::bip158::FilterHea pub fn bitcoin::bip158::FilterHeader::cmp(&self, other: &bitcoin::bip158::FilterHeader) -> core::cmp::Ordering pub fn bitcoin::bip158::FilterHeader::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHeader::eq(&self, other: &bitcoin::bip158::FilterHeader) -> bool pub fn bitcoin::bip158::FilterHeader::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHeader::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::hash(data: &[u8]) -> Self @@ -7257,15 +7283,16 @@ pub fn bitcoin::bip32::XKeyIdentifier::as_ref(&self) -> &[u8] pub fn bitcoin::bip32::XKeyIdentifier::borrow(&self) -> &[u8] pub fn bitcoin::bip32::XKeyIdentifier::clone(&self) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::cmp::Ordering -pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> Self::Engine pub fn bitcoin::bip32::XKeyIdentifier::eq(&self, other: &bitcoin::bip32::XKeyIdentifier) -> bool pub fn bitcoin::bip32::XKeyIdentifier::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip32::XKeyIdentifier::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: &bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::hash(data: &[u8]) -> Self @@ -7336,7 +7363,8 @@ pub fn bitcoin::blockdata::block::BlockHash::clone(&self) -> bitcoin::blockdata: pub fn bitcoin::blockdata::block::BlockHash::cmp(&self, other: &bitcoin::blockdata::block::BlockHash) -> core::cmp::Ordering pub fn bitcoin::blockdata::block::BlockHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> Self::Engine pub fn bitcoin::blockdata::block::BlockHash::eq(&self, other: &bitcoin::blockdata::block::BlockHash) -> bool pub fn bitcoin::blockdata::block::BlockHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::BlockHash::from(block: &bitcoin::blockdata::block::Block) -> bitcoin::blockdata::block::BlockHash @@ -7345,8 +7373,8 @@ pub fn bitcoin::blockdata::block::BlockHash::from(header: &bitcoin::blockdata::b pub fn bitcoin::blockdata::block::BlockHash::from(header: bitcoin::blockdata::block::Header) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::hash(data: &[u8]) -> Self @@ -7392,13 +7420,14 @@ pub fn bitcoin::blockdata::block::WitnessCommitment::as_ref(&self) -> &[u8] pub fn bitcoin::blockdata::block::WitnessCommitment::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::block::WitnessCommitment::clone(&self) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::cmp::Ordering -pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> Self::Engine pub fn bitcoin::blockdata::block::WitnessCommitment::eq(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> bool pub fn bitcoin::blockdata::block::WitnessCommitment::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::hash(data: &[u8]) -> Self @@ -7884,13 +7913,14 @@ pub fn bitcoin::blockdata::script::ScriptHash::as_ref(&self) -> &bitcoin::blockd pub fn bitcoin::blockdata::script::ScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::ScriptHash::clone(&self) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::cmp::Ordering -pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::ScriptHash::eq(&self, other: &bitcoin::blockdata::script::ScriptHash) -> bool pub fn bitcoin::blockdata::script::ScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::ScriptHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::ScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::ScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -7911,13 +7941,14 @@ pub fn bitcoin::blockdata::script::WScriptHash::as_ref(&self) -> &bitcoin::block pub fn bitcoin::blockdata::script::WScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::WScriptHash::clone(&self) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::cmp::Ordering -pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::WScriptHash::eq(&self, other: &bitcoin::blockdata::script::WScriptHash) -> bool pub fn bitcoin::blockdata::script::WScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::WScriptHash::from(inner: bitcoin_hashes::sha256::Hash) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::WScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::WScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -8115,15 +8146,16 @@ pub fn bitcoin::blockdata::transaction::Txid::clone(&self) -> bitcoin::blockdata pub fn bitcoin::blockdata::transaction::Txid::cmp(&self, other: &bitcoin::blockdata::transaction::Txid) -> core::cmp::Ordering pub fn bitcoin::blockdata::transaction::Txid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Txid::eq(&self, other: &bitcoin::blockdata::transaction::Txid) -> bool pub fn bitcoin::blockdata::transaction::Txid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Txid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::hash(data: &[u8]) -> Self @@ -8151,15 +8183,16 @@ pub fn bitcoin::blockdata::transaction::Wtxid::clone(&self) -> bitcoin::blockdat pub fn bitcoin::blockdata::transaction::Wtxid::cmp(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> core::cmp::Ordering pub fn bitcoin::blockdata::transaction::Wtxid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Wtxid::eq(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> bool pub fn bitcoin::blockdata::transaction::Wtxid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Wtxid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::hash(data: &[u8]) -> Self @@ -8425,13 +8458,14 @@ pub fn bitcoin::merkle_tree::TxMerkleNode::cmp(&self, other: &bitcoin::merkle_tr pub fn bitcoin::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::TxMerkleNode::eq(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> bool pub fn bitcoin::merkle_tree::TxMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from_str(s: &str) -> core::result::Result @@ -8450,13 +8484,14 @@ pub fn bitcoin::merkle_tree::WitnessMerkleNode::cmp(&self, other: &bitcoin::merk pub fn bitcoin::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> Self pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::WitnessMerkleNode::eq(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> bool pub fn bitcoin::merkle_tree::WitnessMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_str(s: &str) -> core::result::Result @@ -9139,14 +9174,15 @@ pub fn bitcoin::taproot::TapLeafHash::clone(&self) -> bitcoin::taproot::TapLeafH pub fn bitcoin::taproot::TapLeafHash::cmp(&self, other: &bitcoin::taproot::TapLeafHash) -> core::cmp::Ordering pub fn bitcoin::taproot::TapLeafHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapLeafHash::eq(&self, other: &bitcoin::taproot::TapLeafHash) -> bool pub fn bitcoin::taproot::TapLeafHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapLeafHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from(script_path: bitcoin::sighash::ScriptPath<'s>) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::from_str(s: &str) -> core::result::Result @@ -9170,7 +9206,8 @@ pub fn bitcoin::taproot::TapNodeHash::assume_hidden(hash: [u8; 32]) -> bitcoin:: pub fn bitcoin::taproot::TapNodeHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapNodeHash::clone(&self) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::cmp(&self, other: &bitcoin::taproot::TapNodeHash) -> core::cmp::Ordering -pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapNodeHash::eq(&self, other: &bitcoin::taproot::TapNodeHash) -> bool pub fn bitcoin::taproot::TapNodeHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapNodeHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapNodeHash @@ -9178,8 +9215,8 @@ pub fn bitcoin::taproot::TapNodeHash::from(leaf: &bitcoin::taproot::LeafNode) -> pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::LeafNode) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::TapLeafHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_node_hashes(a: bitcoin::taproot::TapNodeHash, b: bitcoin::taproot::TapNodeHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_slice(sl: &[u8]) -> core::result::Result @@ -9206,15 +9243,16 @@ pub fn bitcoin::taproot::TapTweakHash::as_ref(&self) -> &[u8] pub fn bitcoin::taproot::TapTweakHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapTweakHash::clone(&self) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::cmp(&self, other: &bitcoin::taproot::TapTweakHash) -> core::cmp::Ordering -pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapTweakHash::eq(&self, other: &bitcoin::taproot::TapTweakHash) -> bool pub fn bitcoin::taproot::TapTweakHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapTweakHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: &bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_key_and_tweak(internal_key: bitcoin::key::UntweakedPublicKey, merkle_root: core::option::Option) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapTweakHash::from_str(s: &str) -> core::result::Result @@ -9882,27 +9920,27 @@ pub type bitcoin::CompressedPublicKey::Err = bitcoin::key::ParseCompressedPublic pub type bitcoin::CompressedPublicKey::Error = bitcoin::key::UncompressedPublicKeyError pub type bitcoin::EcdsaSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::LegacySighash::Bytes = ::Bytes -pub type bitcoin::LegacySighash::Engine = ::Engine +pub type bitcoin::LegacySighash::Engine = ::Engine pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::LegacySighash::Output = >::Output pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError pub type bitcoin::PrivateKey::Output = [u8] pub type bitcoin::PubkeyHash::Bytes = ::Bytes -pub type bitcoin::PubkeyHash::Engine = ::Engine +pub type bitcoin::PubkeyHash::Engine = ::Engine pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::PubkeyHash::Output = >::Output pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError pub type bitcoin::SegwitV0Sighash::Bytes = ::Bytes -pub type bitcoin::SegwitV0Sighash::Engine = ::Engine +pub type bitcoin::SegwitV0Sighash::Engine = ::Engine pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::SegwitV0Sighash::Output = >::Output pub type bitcoin::TapSighash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::TapSighash::Output = >::Output pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::WPubkeyHash::Bytes = ::Bytes -pub type bitcoin::WPubkeyHash::Engine = ::Engine +pub type bitcoin::WPubkeyHash::Engine = ::Engine pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::WPubkeyHash::Output = >::Output pub type bitcoin::address::Address::Err = bitcoin::address::error::ParseError @@ -9911,11 +9949,11 @@ pub type bitcoin::bip152::ShortId::Err = hex_conservative::error::HexToArrayErro pub type bitcoin::bip152::ShortId::Error = core::array::TryFromSliceError pub type bitcoin::bip152::ShortId::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip158::FilterHash::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHash::Engine = ::Engine +pub type bitcoin::bip158::FilterHash::Engine = ::Engine pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHash::Output = >::Output pub type bitcoin::bip158::FilterHeader::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHeader::Engine = ::Engine +pub type bitcoin::bip158::FilterHeader::Engine = ::Engine pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHeader::Output = >::Output pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError @@ -9932,18 +9970,18 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath) pub type bitcoin::bip32::XKeyIdentifier::Bytes = ::Bytes -pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine +pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip32::XKeyIdentifier::Output = >::Output pub type bitcoin::bip32::Xpriv::Err = bitcoin::bip32::Error pub type bitcoin::bip32::Xpriv::Error = bitcoin::psbt::GetKeyError pub type bitcoin::bip32::Xpub::Err = bitcoin::bip32::Error pub type bitcoin::blockdata::block::BlockHash::Bytes = ::Bytes -pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine +pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::BlockHash::Output = >::Output pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = ::Bytes -pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine +pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::WitnessCommitment::Output = >::Output pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError @@ -9964,12 +10002,12 @@ pub type bitcoin::blockdata::script::Script::Output = bitcoin::blockdata::script pub type bitcoin::blockdata::script::Script::Owned = bitcoin::blockdata::script::ScriptBuf pub type bitcoin::blockdata::script::ScriptBuf::Target = bitcoin::blockdata::script::Script pub type bitcoin::blockdata::script::ScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::ScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::ScriptHash::Error = bitcoin::blockdata::script::RedeemScriptSizeError pub type bitcoin::blockdata::script::ScriptHash::Output = >::Output pub type bitcoin::blockdata::script::WScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::WScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::WScriptHash::Error = bitcoin::blockdata::script::WitnessScriptSizeError pub type bitcoin::blockdata::script::WScriptHash::Output = >::Output @@ -9980,11 +10018,11 @@ pub type bitcoin::blockdata::transaction::OutPoint::Err = bitcoin::blockdata::tr pub type bitcoin::blockdata::transaction::Sequence::Err = bitcoin_units::parse::ParseIntError pub type bitcoin::blockdata::transaction::Sequence::Error = bitcoin_units::parse::ParseIntError pub type bitcoin::blockdata::transaction::Txid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Txid::Output = >::Output pub type bitcoin::blockdata::transaction::Wtxid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Wtxid::Output = >::Output pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8] @@ -10001,12 +10039,12 @@ pub type bitcoin::key::UntweakedPublicKey::TweakedAux = (bitcoin::key::TweakedPu pub type bitcoin::key::UntweakedPublicKey::TweakedKey = bitcoin::key::TweakedPublicKey pub type bitcoin::merkle_tree::MerkleNode::Leaf pub type bitcoin::merkle_tree::TxMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::TxMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::TxMerkleNode::Leaf = bitcoin::blockdata::transaction::Txid pub type bitcoin::merkle_tree::TxMerkleNode::Output = >::Output pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::WitnessMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::WitnessMerkleNode::Leaf = bitcoin::blockdata::transaction::Wtxid pub type bitcoin::merkle_tree::WitnessMerkleNode::Output = >::Output @@ -10031,17 +10069,17 @@ pub type bitcoin::taproot::NodeInfo::Error = bitcoin::taproot::IncompleteBuilder pub type bitcoin::taproot::ScriptLeaves<'tree>::Item = bitcoin::taproot::ScriptLeaf<'tree> pub type bitcoin::taproot::Signature::Error = bitcoin::taproot::SigFromSliceError pub type bitcoin::taproot::TapLeafHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapLeafHash::Output = >::Output pub type bitcoin::taproot::TapNodeHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapNodeHash::Output = >::Output pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::HiddenNodesError pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::IncompleteBuilderError pub type bitcoin::taproot::TapTweakHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapTweakHash::Output = >::Output pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash diff --git a/api/bitcoin/no-features.txt b/api/bitcoin/no-features.txt index 09e04724d..f2f99d99c 100644 --- a/api/bitcoin/no-features.txt +++ b/api/bitcoin/no-features.txt @@ -364,6 +364,25 @@ impl bitcoin::taproot::merkle_branch::IntoIter impl bitcoin::taproot::merkle_branch::TaprootMerkleBranch impl bitcoin::taproot::serialized_signature::IntoIter impl bitcoin::taproot::serialized_signature::SerializedSignature +impl bitcoin_hashes::GeneralHash for bitcoin::LegacySighash +impl bitcoin_hashes::GeneralHash for bitcoin::PubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::SegwitV0Sighash +impl bitcoin_hashes::GeneralHash for bitcoin::TapSighash +impl bitcoin_hashes::GeneralHash for bitcoin::WPubkeyHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHash +impl bitcoin_hashes::GeneralHash for bitcoin::bip158::FilterHeader +impl bitcoin_hashes::GeneralHash for bitcoin::bip32::XKeyIdentifier +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::BlockHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::block::WitnessCommitment +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::ScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::script::WScriptHash +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Txid +impl bitcoin_hashes::GeneralHash for bitcoin::blockdata::transaction::Wtxid +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::TxMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::merkle_tree::WitnessMerkleNode +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapLeafHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapNodeHash +impl bitcoin_hashes::GeneralHash for bitcoin::taproot::TapTweakHash impl bitcoin_hashes::Hash for bitcoin::LegacySighash impl bitcoin_hashes::Hash for bitcoin::PubkeyHash impl bitcoin_hashes::Hash for bitcoin::SegwitV0Sighash @@ -6076,13 +6095,14 @@ pub fn bitcoin::LegacySighash::as_ref(&self) -> &[u8] pub fn bitcoin::LegacySighash::borrow(&self) -> &[u8] pub fn bitcoin::LegacySighash::clone(&self) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::cmp(&self, other: &bitcoin::LegacySighash) -> core::cmp::Ordering -pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> ::Engine +pub fn bitcoin::LegacySighash::engine() -> Self::Engine pub fn bitcoin::LegacySighash::eq(&self, other: &bitcoin::LegacySighash) -> bool pub fn bitcoin::LegacySighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::LegacySighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::LegacySighash::from_engine(e: ::Engine) -> bitcoin::LegacySighash pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::LegacySighash::hash(data: &[u8]) -> Self @@ -6119,7 +6139,8 @@ pub fn bitcoin::PubkeyHash::as_ref(&self) -> &bitcoin::blockdata::script::PushBy pub fn bitcoin::PubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::PubkeyHash::clone(&self) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::cmp(&self, other: &bitcoin::PubkeyHash) -> core::cmp::Ordering -pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> ::Engine +pub fn bitcoin::PubkeyHash::engine() -> Self::Engine pub fn bitcoin::PubkeyHash::eq(&self, other: &bitcoin::PubkeyHash) -> bool pub fn bitcoin::PubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::PubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::PubkeyHash @@ -6128,8 +6149,8 @@ pub fn bitcoin::PubkeyHash::from(key: &bitcoin::PublicKey) -> bitcoin::PubkeyHas pub fn bitcoin::PubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::PubkeyHash::from(key: bitcoin::PublicKey) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::PubkeyHash::from_engine(e: ::Engine) -> bitcoin::PubkeyHash pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::PubkeyHash::hash(data: &[u8]) -> Self @@ -6165,13 +6186,14 @@ pub fn bitcoin::SegwitV0Sighash::as_ref(&self) -> &[u8] pub fn bitcoin::SegwitV0Sighash::borrow(&self) -> &[u8] pub fn bitcoin::SegwitV0Sighash::clone(&self) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::cmp::Ordering -pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> ::Engine +pub fn bitcoin::SegwitV0Sighash::engine() -> Self::Engine pub fn bitcoin::SegwitV0Sighash::eq(&self, other: &bitcoin::SegwitV0Sighash) -> bool pub fn bitcoin::SegwitV0Sighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::SegwitV0Sighash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::SegwitV0Sighash::from_engine(e: ::Engine) -> bitcoin::SegwitV0Sighash pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::SegwitV0Sighash::hash(data: &[u8]) -> Self @@ -6186,13 +6208,14 @@ pub fn bitcoin::TapSighash::as_ref(&self) -> &[u8] pub fn bitcoin::TapSighash::borrow(&self) -> &[u8] pub fn bitcoin::TapSighash::clone(&self) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::cmp(&self, other: &bitcoin::TapSighash) -> core::cmp::Ordering -pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::TapSighash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::TapSighash::engine() -> Self::Engine pub fn bitcoin::TapSighash::eq(&self, other: &bitcoin::TapSighash) -> bool pub fn bitcoin::TapSighash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::TapSighash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::TapSighash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::TapSighash pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result pub fn bitcoin::TapSighash::hash(data: &[u8]) -> Self @@ -6224,15 +6247,16 @@ pub fn bitcoin::WPubkeyHash::as_ref(&self) -> &bitcoin::blockdata::script::PushB pub fn bitcoin::WPubkeyHash::borrow(&self) -> &[u8] pub fn bitcoin::WPubkeyHash::clone(&self) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::cmp(&self, other: &bitcoin::WPubkeyHash) -> core::cmp::Ordering -pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> ::Engine +pub fn bitcoin::WPubkeyHash::engine() -> Self::Engine pub fn bitcoin::WPubkeyHash::eq(&self, other: &bitcoin::WPubkeyHash) -> bool pub fn bitcoin::WPubkeyHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::WPubkeyHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from(key: &bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from(key: bitcoin::CompressedPublicKey) -> Self pub fn bitcoin::WPubkeyHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::WPubkeyHash::from_engine(e: ::Engine) -> bitcoin::WPubkeyHash pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::WPubkeyHash::hash(data: &[u8]) -> Self @@ -6459,14 +6483,15 @@ pub fn bitcoin::bip158::FilterHash::clone(&self) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::cmp::Ordering pub fn bitcoin::bip158::FilterHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHash::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHash::eq(&self, other: &bitcoin::bip158::FilterHash) -> bool pub fn bitcoin::bip158::FilterHash::filter_header(&self, previous_filter_header: bitcoin::bip158::FilterHeader) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHash::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHash pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip158::FilterHash::hash(data: &[u8]) -> Self @@ -6483,13 +6508,14 @@ pub fn bitcoin::bip158::FilterHeader::clone(&self) -> bitcoin::bip158::FilterHea pub fn bitcoin::bip158::FilterHeader::cmp(&self, other: &bitcoin::bip158::FilterHeader) -> core::cmp::Ordering pub fn bitcoin::bip158::FilterHeader::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> ::Engine +pub fn bitcoin::bip158::FilterHeader::engine() -> Self::Engine pub fn bitcoin::bip158::FilterHeader::eq(&self, other: &bitcoin::bip158::FilterHeader) -> bool pub fn bitcoin::bip158::FilterHeader::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip158::FilterHeader::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip158::FilterHeader::from_engine(e: ::Engine) -> bitcoin::bip158::FilterHeader pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip158::FilterHeader::hash(data: &[u8]) -> Self @@ -6619,15 +6645,16 @@ pub fn bitcoin::bip32::XKeyIdentifier::as_ref(&self) -> &[u8] pub fn bitcoin::bip32::XKeyIdentifier::borrow(&self) -> &[u8] pub fn bitcoin::bip32::XKeyIdentifier::clone(&self) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::cmp::Ordering -pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> ::Engine +pub fn bitcoin::bip32::XKeyIdentifier::engine() -> Self::Engine pub fn bitcoin::bip32::XKeyIdentifier::eq(&self, other: &bitcoin::bip32::XKeyIdentifier) -> bool pub fn bitcoin::bip32::XKeyIdentifier::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::bip32::XKeyIdentifier::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: &bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from(key: bitcoin::bip32::Xpub) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self -pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> Self +pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: ::Engine) -> bitcoin::bip32::XKeyIdentifier pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result pub fn bitcoin::bip32::XKeyIdentifier::hash(data: &[u8]) -> Self @@ -6697,7 +6724,8 @@ pub fn bitcoin::blockdata::block::BlockHash::clone(&self) -> bitcoin::blockdata: pub fn bitcoin::blockdata::block::BlockHash::cmp(&self, other: &bitcoin::blockdata::block::BlockHash) -> core::cmp::Ordering pub fn bitcoin::blockdata::block::BlockHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> ::Engine +pub fn bitcoin::blockdata::block::BlockHash::engine() -> Self::Engine pub fn bitcoin::blockdata::block::BlockHash::eq(&self, other: &bitcoin::blockdata::block::BlockHash) -> bool pub fn bitcoin::blockdata::block::BlockHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::BlockHash::from(block: &bitcoin::blockdata::block::Block) -> bitcoin::blockdata::block::BlockHash @@ -6706,8 +6734,8 @@ pub fn bitcoin::blockdata::block::BlockHash::from(header: &bitcoin::blockdata::b pub fn bitcoin::blockdata::block::BlockHash::from(header: bitcoin::blockdata::block::Header) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: ::Engine) -> bitcoin::blockdata::block::BlockHash pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::block::BlockHash::hash(data: &[u8]) -> Self @@ -6752,13 +6780,14 @@ pub fn bitcoin::blockdata::block::WitnessCommitment::as_ref(&self) -> &[u8] pub fn bitcoin::blockdata::block::WitnessCommitment::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::block::WitnessCommitment::clone(&self) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::cmp::Ordering -pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> ::Engine +pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> Self::Engine pub fn bitcoin::blockdata::block::WitnessCommitment::eq(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> bool pub fn bitcoin::blockdata::block::WitnessCommitment::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: ::Engine) -> bitcoin::blockdata::block::WitnessCommitment pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::block::WitnessCommitment::hash(data: &[u8]) -> Self @@ -7239,13 +7268,14 @@ pub fn bitcoin::blockdata::script::ScriptHash::as_ref(&self) -> &bitcoin::blockd pub fn bitcoin::blockdata::script::ScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::ScriptHash::clone(&self) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::cmp::Ordering -pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::ScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::ScriptHash::eq(&self, other: &bitcoin::blockdata::script::ScriptHash) -> bool pub fn bitcoin::blockdata::script::ScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::ScriptHash::from(inner: bitcoin_hashes::hash160::Hash) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::ScriptHash pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::ScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::ScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -7266,13 +7296,14 @@ pub fn bitcoin::blockdata::script::WScriptHash::as_ref(&self) -> &bitcoin::block pub fn bitcoin::blockdata::script::WScriptHash::borrow(&self) -> &[u8] pub fn bitcoin::blockdata::script::WScriptHash::clone(&self) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::cmp::Ordering -pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> ::Engine +pub fn bitcoin::blockdata::script::WScriptHash::engine() -> Self::Engine pub fn bitcoin::blockdata::script::WScriptHash::eq(&self, other: &bitcoin::blockdata::script::WScriptHash) -> bool pub fn bitcoin::blockdata::script::WScriptHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::script::WScriptHash::from(inner: bitcoin_hashes::sha256::Hash) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: ::Engine) -> bitcoin::blockdata::script::WScriptHash pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result pub fn bitcoin::blockdata::script::WScriptHash::from_script_unchecked(script: &bitcoin::blockdata::script::Script) -> Self pub fn bitcoin::blockdata::script::WScriptHash::from_slice(sl: &[u8]) -> core::result::Result @@ -7460,15 +7491,16 @@ pub fn bitcoin::blockdata::transaction::Txid::clone(&self) -> bitcoin::blockdata pub fn bitcoin::blockdata::transaction::Txid::cmp(&self, other: &bitcoin::blockdata::transaction::Txid) -> core::cmp::Ordering pub fn bitcoin::blockdata::transaction::Txid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Txid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Txid::eq(&self, other: &bitcoin::blockdata::transaction::Txid) -> bool pub fn bitcoin::blockdata::transaction::Txid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Txid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Txid pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::transaction::Txid::hash(data: &[u8]) -> Self @@ -7496,15 +7528,16 @@ pub fn bitcoin::blockdata::transaction::Wtxid::clone(&self) -> bitcoin::blockdat pub fn bitcoin::blockdata::transaction::Wtxid::cmp(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> core::cmp::Ordering pub fn bitcoin::blockdata::transaction::Wtxid::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> ::Engine +pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> Self::Engine pub fn bitcoin::blockdata::transaction::Wtxid::eq(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> bool pub fn bitcoin::blockdata::transaction::Wtxid::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::blockdata::transaction::Wtxid::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: &bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from(tx: bitcoin::blockdata::transaction::Transaction) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self -pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> Self +pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: ::Engine) -> bitcoin::blockdata::transaction::Wtxid pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result pub fn bitcoin::blockdata::transaction::Wtxid::hash(data: &[u8]) -> Self @@ -7760,13 +7793,14 @@ pub fn bitcoin::merkle_tree::TxMerkleNode::cmp(&self, other: &bitcoin::merkle_tr pub fn bitcoin::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::TxMerkleNode::eq(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> bool pub fn bitcoin::merkle_tree::TxMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::TxMerkleNode pub fn bitcoin::merkle_tree::TxMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::TxMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::TxMerkleNode::from_str(s: &str) -> core::result::Result @@ -7785,13 +7819,14 @@ pub fn bitcoin::merkle_tree::WitnessMerkleNode::cmp(&self, other: &bitcoin::merk pub fn bitcoin::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) -> Self pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> ::Engine +pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> Self::Engine pub fn bitcoin::merkle_tree::WitnessMerkleNode::eq(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> bool pub fn bitcoin::merkle_tree::WitnessMerkleNode::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from(inner: bitcoin_hashes::sha256d::Hash) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self -pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> Self +pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: ::Engine) -> bitcoin::merkle_tree::WitnessMerkleNode pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_leaf(leaf: Self::Leaf) -> Self pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_str(s: &str) -> core::result::Result @@ -8250,14 +8285,15 @@ pub fn bitcoin::taproot::TapLeafHash::clone(&self) -> bitcoin::taproot::TapLeafH pub fn bitcoin::taproot::TapLeafHash::cmp(&self, other: &bitcoin::taproot::TapLeafHash) -> core::cmp::Ordering pub fn bitcoin::taproot::TapLeafHash::consensus_decode(r: &mut R) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::consensus_encode(&self, w: &mut W) -> core::result::Result -pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapLeafHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapLeafHash::eq(&self, other: &bitcoin::taproot::TapLeafHash) -> bool pub fn bitcoin::taproot::TapLeafHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapLeafHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from(script_path: bitcoin::sighash::ScriptPath<'s>) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapLeafHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapLeafHash pub fn bitcoin::taproot::TapLeafHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapLeafHash::from_str(s: &str) -> core::result::Result @@ -8281,7 +8317,8 @@ pub fn bitcoin::taproot::TapNodeHash::assume_hidden(hash: [u8; 32]) -> bitcoin:: pub fn bitcoin::taproot::TapNodeHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapNodeHash::clone(&self) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::cmp(&self, other: &bitcoin::taproot::TapNodeHash) -> core::cmp::Ordering -pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapNodeHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapNodeHash::eq(&self, other: &bitcoin::taproot::TapNodeHash) -> bool pub fn bitcoin::taproot::TapNodeHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapNodeHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapNodeHash @@ -8289,8 +8326,8 @@ pub fn bitcoin::taproot::TapNodeHash::from(leaf: &bitcoin::taproot::LeafNode) -> pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::LeafNode) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from(leaf: bitcoin::taproot::TapLeafHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapNodeHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_node_hashes(a: bitcoin::taproot::TapNodeHash, b: bitcoin::taproot::TapNodeHash) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_script(script: &bitcoin::blockdata::script::Script, ver: bitcoin::taproot::LeafVersion) -> bitcoin::taproot::TapNodeHash pub fn bitcoin::taproot::TapNodeHash::from_slice(sl: &[u8]) -> core::result::Result @@ -8317,15 +8354,16 @@ pub fn bitcoin::taproot::TapTweakHash::as_ref(&self) -> &[u8] pub fn bitcoin::taproot::TapTweakHash::borrow(&self) -> &[u8] pub fn bitcoin::taproot::TapTweakHash::clone(&self) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::cmp(&self, other: &bitcoin::taproot::TapTweakHash) -> core::cmp::Ordering -pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::Hash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> as bitcoin_hashes::GeneralHash>::Engine +pub fn bitcoin::taproot::TapTweakHash::engine() -> Self::Engine pub fn bitcoin::taproot::TapTweakHash::eq(&self, other: &bitcoin::taproot::TapTweakHash) -> bool pub fn bitcoin::taproot::TapTweakHash::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin::taproot::TapTweakHash::from(inner: bitcoin_hashes::sha256t::Hash) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: &bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from(spend_info: bitcoin::taproot::TaprootSpendInfo) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> Self -pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> Self +pub fn bitcoin::taproot::TapTweakHash::from_engine(e: as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_key_and_tweak(internal_key: bitcoin::key::UntweakedPublicKey, merkle_root: core::option::Option) -> bitcoin::taproot::TapTweakHash pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result pub fn bitcoin::taproot::TapTweakHash::from_str(s: &str) -> core::result::Result @@ -8960,27 +8998,27 @@ pub type bitcoin::CompressedPublicKey::Err = bitcoin::key::ParseCompressedPublic pub type bitcoin::CompressedPublicKey::Error = bitcoin::key::UncompressedPublicKeyError pub type bitcoin::EcdsaSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::LegacySighash::Bytes = ::Bytes -pub type bitcoin::LegacySighash::Engine = ::Engine +pub type bitcoin::LegacySighash::Engine = ::Engine pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::LegacySighash::Output = >::Output pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError pub type bitcoin::PrivateKey::Output = [u8] pub type bitcoin::PubkeyHash::Bytes = ::Bytes -pub type bitcoin::PubkeyHash::Engine = ::Engine +pub type bitcoin::PubkeyHash::Engine = ::Engine pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::PubkeyHash::Output = >::Output pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError pub type bitcoin::SegwitV0Sighash::Bytes = ::Bytes -pub type bitcoin::SegwitV0Sighash::Engine = ::Engine +pub type bitcoin::SegwitV0Sighash::Engine = ::Engine pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::SegwitV0Sighash::Output = >::Output pub type bitcoin::TapSighash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::TapSighash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::TapSighash::Output = >::Output pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError pub type bitcoin::WPubkeyHash::Bytes = ::Bytes -pub type bitcoin::WPubkeyHash::Engine = ::Engine +pub type bitcoin::WPubkeyHash::Engine = ::Engine pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::WPubkeyHash::Output = >::Output pub type bitcoin::address::Address::Err = bitcoin::address::error::ParseError @@ -8989,11 +9027,11 @@ pub type bitcoin::bip152::ShortId::Err = hex_conservative::error::HexToArrayErro pub type bitcoin::bip152::ShortId::Error = core::array::TryFromSliceError pub type bitcoin::bip152::ShortId::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip158::FilterHash::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHash::Engine = ::Engine +pub type bitcoin::bip158::FilterHash::Engine = ::Engine pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHash::Output = >::Output pub type bitcoin::bip158::FilterHeader::Bytes = ::Bytes -pub type bitcoin::bip158::FilterHeader::Engine = ::Engine +pub type bitcoin::bip158::FilterHeader::Engine = ::Engine pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip158::FilterHeader::Output = >::Output pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError @@ -9010,18 +9048,18 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index>::Output pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath) pub type bitcoin::bip32::XKeyIdentifier::Bytes = ::Bytes -pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine +pub type bitcoin::bip32::XKeyIdentifier::Engine = ::Engine pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError pub type bitcoin::bip32::XKeyIdentifier::Output = >::Output pub type bitcoin::bip32::Xpriv::Err = bitcoin::bip32::Error pub type bitcoin::bip32::Xpriv::Error = bitcoin::psbt::GetKeyError pub type bitcoin::bip32::Xpub::Err = bitcoin::bip32::Error pub type bitcoin::blockdata::block::BlockHash::Bytes = ::Bytes -pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine +pub type bitcoin::blockdata::block::BlockHash::Engine = ::Engine pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::BlockHash::Output = >::Output pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = ::Bytes -pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine +pub type bitcoin::blockdata::block::WitnessCommitment::Engine = ::Engine pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::block::WitnessCommitment::Output = >::Output pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError @@ -9041,12 +9079,12 @@ pub type bitcoin::blockdata::script::Script::Output = bitcoin::blockdata::script pub type bitcoin::blockdata::script::Script::Owned = bitcoin::blockdata::script::ScriptBuf pub type bitcoin::blockdata::script::ScriptBuf::Target = bitcoin::blockdata::script::Script pub type bitcoin::blockdata::script::ScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::ScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::ScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::ScriptHash::Error = bitcoin::blockdata::script::RedeemScriptSizeError pub type bitcoin::blockdata::script::ScriptHash::Output = >::Output pub type bitcoin::blockdata::script::WScriptHash::Bytes = ::Bytes -pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine +pub type bitcoin::blockdata::script::WScriptHash::Engine = ::Engine pub type bitcoin::blockdata::script::WScriptHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::script::WScriptHash::Error = bitcoin::blockdata::script::WitnessScriptSizeError pub type bitcoin::blockdata::script::WScriptHash::Output = >::Output @@ -9056,11 +9094,11 @@ pub type bitcoin::blockdata::script::witness_version::WitnessVersion::Error = bi pub type bitcoin::blockdata::transaction::OutPoint::Err = bitcoin::blockdata::transaction::ParseOutPointError pub type bitcoin::blockdata::transaction::Sequence::Err = bitcoin_units::parse::ParseIntError pub type bitcoin::blockdata::transaction::Txid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Txid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Txid::Output = >::Output pub type bitcoin::blockdata::transaction::Wtxid::Bytes = ::Bytes -pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine +pub type bitcoin::blockdata::transaction::Wtxid::Engine = ::Engine pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError pub type bitcoin::blockdata::transaction::Wtxid::Output = >::Output pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8] @@ -9077,12 +9115,12 @@ pub type bitcoin::key::UntweakedPublicKey::TweakedAux = (bitcoin::key::TweakedPu pub type bitcoin::key::UntweakedPublicKey::TweakedKey = bitcoin::key::TweakedPublicKey pub type bitcoin::merkle_tree::MerkleNode::Leaf pub type bitcoin::merkle_tree::TxMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::TxMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::TxMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::TxMerkleNode::Leaf = bitcoin::blockdata::transaction::Txid pub type bitcoin::merkle_tree::TxMerkleNode::Output = >::Output pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = ::Bytes -pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine +pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = ::Engine pub type bitcoin::merkle_tree::WitnessMerkleNode::Err = hex_conservative::error::HexToArrayError pub type bitcoin::merkle_tree::WitnessMerkleNode::Leaf = bitcoin::blockdata::transaction::Wtxid pub type bitcoin::merkle_tree::WitnessMerkleNode::Output = >::Output @@ -9103,17 +9141,17 @@ pub type bitcoin::taproot::NodeInfo::Error = bitcoin::taproot::IncompleteBuilder pub type bitcoin::taproot::ScriptLeaves<'tree>::Item = bitcoin::taproot::ScriptLeaf<'tree> pub type bitcoin::taproot::Signature::Error = bitcoin::taproot::SigFromSliceError pub type bitcoin::taproot::TapLeafHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapLeafHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapLeafHash::Output = >::Output pub type bitcoin::taproot::TapNodeHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapNodeHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapNodeHash::Output = >::Output pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::HiddenNodesError pub type bitcoin::taproot::TapTree::Error = bitcoin::taproot::IncompleteBuilderError pub type bitcoin::taproot::TapTweakHash::Bytes = as bitcoin_hashes::Hash>::Bytes -pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::Hash>::Engine +pub type bitcoin::taproot::TapTweakHash::Engine = as bitcoin_hashes::GeneralHash>::Engine pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError pub type bitcoin::taproot::TapTweakHash::Output = >::Output pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash diff --git a/api/hashes/all-features.txt b/api/hashes/all-features.txt index d78d4d13b..2af40a445 100644 --- a/api/hashes/all-features.txt +++ b/api/hashes/all-features.txt @@ -1,6 +1,6 @@ -#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_) -#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::ripemd160::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha1::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha256::Hash(_) @@ -11,6 +11,15 @@ #[repr(transparent)] pub struct bitcoin_hashes::sha512_256::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::siphash24::Hash(_) impl bitcoin_hashes::FromSliceError +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hash160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::ripemd160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha1::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256d::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha384::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512_256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::siphash24::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::hash160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::ripemd160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha1::Hash @@ -391,7 +400,7 @@ impl std::io::Write for bitcoin_hashes::sha1::HashEngine impl std::io::Write for bitcoin_hashes::sha256::HashEngine impl std::io::Write for bitcoin_hashes::sha512::HashEngine impl std::io::Write for bitcoin_hashes::siphash24::HashEngine -impl<'de, T: bitcoin_hashes::Hash + serde::de::Deserialize<'de>> serde::de::Deserialize<'de> for bitcoin_hashes::hmac::Hmac +impl<'de, T: bitcoin_hashes::GeneralHash + serde::de::Deserialize<'de>> serde::de::Deserialize<'de> for bitcoin_hashes::hmac::Hmac impl<'de, T: bitcoin_hashes::sha256t::Tag> serde::de::Deserialize<'de> for bitcoin_hashes::sha256t::Hash impl<'de> serde::de::Deserialize<'de> for bitcoin_hashes::hash160::Hash impl<'de> serde::de::Deserialize<'de> for bitcoin_hashes::ripemd160::Hash @@ -414,21 +423,23 @@ impl> core::ops::index::Index for bit impl> core::ops::index::Index for bitcoin_hashes::sha512::Hash impl> core::ops::index::Index for bitcoin_hashes::sha512_256::Hash impl> core::ops::index::Index for bitcoin_hashes::siphash24::Hash -impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac -impl schemars::JsonSchema for bitcoin_hashes::hmac::Hmac -impl serde::ser::Serialize for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine -impl bitcoin_hashes::hkdf::Hkdf -impl bitcoin_hashes::hmac::HmacEngine -impl bitcoin_io::Write for bitcoin_hashes::hmac::HmacEngine -impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine -impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac -impl core::fmt::Display for bitcoin_hashes::hmac::Hmac -impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac -impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac -impl std::io::Write for bitcoin_hashes::hmac::HmacEngine +impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac +impl schemars::JsonSchema for bitcoin_hashes::hmac::Hmac +impl serde::ser::Serialize for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine +impl bitcoin_hashes::hkdf::Hkdf +impl bitcoin_hashes::hmac::HmacEngine +impl bitcoin_io::Write for bitcoin_hashes::hmac::HmacEngine +impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac +impl core::default::Default for bitcoin_hashes::hmac::HmacEngine +impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac +impl core::fmt::Display for bitcoin_hashes::hmac::Hmac +impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac +impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac +impl std::io::Write for bitcoin_hashes::hmac::HmacEngine +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::serde_macros::serde_details::SerdeHash for bitcoin_hashes::sha256t::Hash impl core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash @@ -449,48 +460,48 @@ impl core::marker::Copy for bitcoin_hashes::sha impl core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash impl schemars::JsonSchema for bitcoin_hashes::sha256t::Hash impl serde::ser::Serialize for bitcoin_hashes::sha256t::Hash -impl core::clone::Clone for bitcoin_hashes::hmac::Hmac -impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone -impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac -impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac -impl core::hash::Hash for bitcoin_hashes::hmac::Hmac -impl core::marker::Copy for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone +impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac +impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac +impl core::hash::Hash for bitcoin_hashes::hmac::Hmac +impl core::marker::Copy for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::sha256t::Hash where (T): bitcoin_hashes::sha256t::Tag impl bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag impl core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::hmac::Hmac where T: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::sha256t::Hash impl core::marker::Send for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Send impl core::marker::Send for bitcoin_hashes::hmac::Hmac where T: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send impl core::marker::Send for bitcoin_hashes::sha256t::Hash where T: core::marker::Send impl core::marker::Sync for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::hmac::Hmac where T: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::sha256t::Hash where T: core::marker::Sync impl core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::hmac::Hmac where T: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::sha256t::Hash where T: core::marker::Unpin impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::UnwindSafe -pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState -pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState pub const bitcoin_hashes::Hash::DISPLAY_BACKWARD: bool pub const bitcoin_hashes::Hash::LEN: usize pub const bitcoin_hashes::HashEngine::BLOCK_SIZE: usize @@ -579,13 +590,13 @@ pub fn bitcoin_hashes::FromSliceError::eq(&self, other: &bitcoin_hashes::FromSli pub fn bitcoin_hashes::FromSliceError::expected_length(&self) -> usize pub fn bitcoin_hashes::FromSliceError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::FromSliceError::invalid_length(&self) -> usize +pub fn bitcoin_hashes::GeneralHash::engine() -> Self::Engine +pub fn bitcoin_hashes::GeneralHash::from_engine(e: Self::Engine) -> Self +pub fn bitcoin_hashes::GeneralHash::hash(data: &[u8]) -> Self +pub fn bitcoin_hashes::GeneralHash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes -pub fn bitcoin_hashes::Hash::engine() -> Self::Engine pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin_hashes::Hash::from_engine(e: Self::Engine) -> Self pub fn bitcoin_hashes::Hash::from_slice(sl: &[u8]) -> core::result::Result -pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self -pub fn bitcoin_hashes::Hash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::HashEngine::input(&mut self, data: &[u8]) pub fn bitcoin_hashes::HashEngine::midstate(&self) -> Self::MidState @@ -645,7 +656,7 @@ pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self pub fn bitcoin_hashes::hmac::HmacEngine::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_hashes::hmac::HmacEngine::flush(&mut self) -> std::io::error::Result<()> -pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine +pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::input(&mut self, buf: &[u8]) pub fn bitcoin_hashes::hmac::HmacEngine::midstate(&self) -> Self::MidState pub fn bitcoin_hashes::hmac::HmacEngine::n_bytes_hashed(&self) -> usize @@ -995,11 +1006,11 @@ pub mod bitcoin_hashes::sha512 pub mod bitcoin_hashes::sha512_256 pub mod bitcoin_hashes::siphash24 pub struct bitcoin_hashes::FromSliceError -pub struct bitcoin_hashes::HmacEngine -pub struct bitcoin_hashes::hkdf::Hkdf +pub struct bitcoin_hashes::HmacEngine +pub struct bitcoin_hashes::hkdf::Hkdf pub struct bitcoin_hashes::hkdf::MaxLengthError -pub struct bitcoin_hashes::hmac::HmacEngine -pub struct bitcoin_hashes::hmac::HmacMidState +pub struct bitcoin_hashes::hmac::HmacEngine +pub struct bitcoin_hashes::hmac::HmacMidState pub struct bitcoin_hashes::ripemd160::HashEngine pub struct bitcoin_hashes::sha1::HashEngine pub struct bitcoin_hashes::sha256::HashEngine @@ -1009,12 +1020,13 @@ pub struct bitcoin_hashes::sha512::HashEngine pub struct bitcoin_hashes::sha512_256::HashEngine(_) pub struct bitcoin_hashes::siphash24::HashEngine pub struct bitcoin_hashes::siphash24::State +pub trait bitcoin_hashes::GeneralHash: bitcoin_hashes::Hash pub trait bitcoin_hashes::Hash: core::marker::Copy + core::clone::Clone + core::cmp::PartialEq + core::cmp::Eq + core::cmp::PartialOrd + core::cmp::Ord + core::hash::Hash + core::fmt::Debug + core::fmt::Display + core::fmt::LowerHex + core::convert::AsRef<[u8]> pub trait bitcoin_hashes::HashEngine: core::clone::Clone + core::default::Default pub trait bitcoin_hashes::serde_macros::serde_details::SerdeHash where Self: core::marker::Sized + core::str::traits::FromStr + core::fmt::Display + core::ops::index::Index + core::ops::index::Index, ::Err: core::fmt::Display pub trait bitcoin_hashes::sha256t::Tag +pub type bitcoin_hashes::GeneralHash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::Hash::Bytes: hex_conservative::parse::FromHex + core::marker::Copy -pub type bitcoin_hashes::Hash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::HashEngine::MidState pub type bitcoin_hashes::hash160::Hash::Bytes = [u8; 20] pub type bitcoin_hashes::hash160::Hash::Engine = bitcoin_hashes::sha256::HashEngine diff --git a/api/hashes/alloc-only.txt b/api/hashes/alloc-only.txt index c3d91f632..b72c9ddc6 100644 --- a/api/hashes/alloc-only.txt +++ b/api/hashes/alloc-only.txt @@ -1,6 +1,6 @@ -#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_) -#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::ripemd160::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha1::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha256::Hash(_) @@ -11,6 +11,15 @@ #[repr(transparent)] pub struct bitcoin_hashes::sha512_256::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::siphash24::Hash(_) impl bitcoin_hashes::FromSliceError +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hash160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::ripemd160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha1::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256d::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha384::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512_256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::siphash24::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::hash160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::ripemd160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha1::Hash @@ -361,17 +370,19 @@ impl> core::ops::index::Index for bit impl> core::ops::index::Index for bitcoin_hashes::sha512::Hash impl> core::ops::index::Index for bitcoin_hashes::sha512_256::Hash impl> core::ops::index::Index for bitcoin_hashes::siphash24::Hash -impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine -impl bitcoin_hashes::hkdf::Hkdf -impl bitcoin_hashes::hmac::HmacEngine -impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine -impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac -impl core::fmt::Display for bitcoin_hashes::hmac::Hmac -impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac -impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac +impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine +impl bitcoin_hashes::hkdf::Hkdf +impl bitcoin_hashes::hmac::HmacEngine +impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac +impl core::default::Default for bitcoin_hashes::hmac::HmacEngine +impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac +impl core::fmt::Display for bitcoin_hashes::hmac::Hmac +impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac +impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash impl core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash impl core::clone::Clone for bitcoin_hashes::sha256t::Hash @@ -389,48 +400,48 @@ impl core::fmt::UpperHex for bitcoin_hashes::sh impl core::hash::Hash for bitcoin_hashes::sha256t::Hash impl core::marker::Copy for bitcoin_hashes::sha256t::Hash impl core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash -impl core::clone::Clone for bitcoin_hashes::hmac::Hmac -impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone -impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac -impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac -impl core::hash::Hash for bitcoin_hashes::hmac::Hmac -impl core::marker::Copy for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone +impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac +impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac +impl core::hash::Hash for bitcoin_hashes::hmac::Hmac +impl core::marker::Copy for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::sha256t::Hash where (T): bitcoin_hashes::sha256t::Tag impl bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag impl core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::hmac::Hmac where T: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::sha256t::Hash impl core::marker::Send for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Send impl core::marker::Send for bitcoin_hashes::hmac::Hmac where T: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send impl core::marker::Send for bitcoin_hashes::sha256t::Hash where T: core::marker::Send impl core::marker::Sync for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::hmac::Hmac where T: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::sha256t::Hash where T: core::marker::Sync impl core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::hmac::Hmac where T: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::sha256t::Hash where T: core::marker::Unpin impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::UnwindSafe -pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState -pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState pub const bitcoin_hashes::Hash::DISPLAY_BACKWARD: bool pub const bitcoin_hashes::Hash::LEN: usize pub const bitcoin_hashes::HashEngine::BLOCK_SIZE: usize @@ -506,13 +517,13 @@ pub fn bitcoin_hashes::FromSliceError::eq(&self, other: &bitcoin_hashes::FromSli pub fn bitcoin_hashes::FromSliceError::expected_length(&self) -> usize pub fn bitcoin_hashes::FromSliceError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::FromSliceError::invalid_length(&self) -> usize +pub fn bitcoin_hashes::GeneralHash::engine() -> Self::Engine +pub fn bitcoin_hashes::GeneralHash::from_engine(e: Self::Engine) -> Self +pub fn bitcoin_hashes::GeneralHash::hash(data: &[u8]) -> Self +pub fn bitcoin_hashes::GeneralHash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes -pub fn bitcoin_hashes::Hash::engine() -> Self::Engine pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin_hashes::Hash::from_engine(e: Self::Engine) -> Self pub fn bitcoin_hashes::Hash::from_slice(sl: &[u8]) -> core::result::Result -pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self -pub fn bitcoin_hashes::Hash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::HashEngine::input(&mut self, data: &[u8]) pub fn bitcoin_hashes::HashEngine::midstate(&self) -> Self::MidState @@ -560,7 +571,7 @@ pub fn bitcoin_hashes::hmac::Hmac::partial_cmp(&self, other: &bitcoin_hashes: pub fn bitcoin_hashes::hmac::Hmac::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self -pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine +pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::input(&mut self, buf: &[u8]) pub fn bitcoin_hashes::hmac::HmacEngine::midstate(&self) -> Self::MidState pub fn bitcoin_hashes::hmac::HmacEngine::n_bytes_hashed(&self) -> usize @@ -836,11 +847,11 @@ pub mod bitcoin_hashes::sha512 pub mod bitcoin_hashes::sha512_256 pub mod bitcoin_hashes::siphash24 pub struct bitcoin_hashes::FromSliceError -pub struct bitcoin_hashes::HmacEngine -pub struct bitcoin_hashes::hkdf::Hkdf +pub struct bitcoin_hashes::HmacEngine +pub struct bitcoin_hashes::hkdf::Hkdf pub struct bitcoin_hashes::hkdf::MaxLengthError -pub struct bitcoin_hashes::hmac::HmacEngine -pub struct bitcoin_hashes::hmac::HmacMidState +pub struct bitcoin_hashes::hmac::HmacEngine +pub struct bitcoin_hashes::hmac::HmacMidState pub struct bitcoin_hashes::ripemd160::HashEngine pub struct bitcoin_hashes::sha1::HashEngine pub struct bitcoin_hashes::sha256::HashEngine @@ -850,11 +861,12 @@ pub struct bitcoin_hashes::sha512::HashEngine pub struct bitcoin_hashes::sha512_256::HashEngine(_) pub struct bitcoin_hashes::siphash24::HashEngine pub struct bitcoin_hashes::siphash24::State +pub trait bitcoin_hashes::GeneralHash: bitcoin_hashes::Hash pub trait bitcoin_hashes::Hash: core::marker::Copy + core::clone::Clone + core::cmp::PartialEq + core::cmp::Eq + core::cmp::PartialOrd + core::cmp::Ord + core::hash::Hash + core::fmt::Debug + core::fmt::Display + core::fmt::LowerHex + core::convert::AsRef<[u8]> pub trait bitcoin_hashes::HashEngine: core::clone::Clone + core::default::Default pub trait bitcoin_hashes::sha256t::Tag +pub type bitcoin_hashes::GeneralHash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::Hash::Bytes: hex_conservative::parse::FromHex + core::marker::Copy -pub type bitcoin_hashes::Hash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::HashEngine::MidState pub type bitcoin_hashes::hash160::Hash::Bytes = [u8; 20] pub type bitcoin_hashes::hash160::Hash::Engine = bitcoin_hashes::sha256::HashEngine diff --git a/api/hashes/no-features.txt b/api/hashes/no-features.txt index 36948e986..41f965a48 100644 --- a/api/hashes/no-features.txt +++ b/api/hashes/no-features.txt @@ -1,6 +1,6 @@ -#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_) -#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) +#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac(_) #[repr(transparent)] pub struct bitcoin_hashes::ripemd160::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha1::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::sha256::Hash(_) @@ -11,6 +11,15 @@ #[repr(transparent)] pub struct bitcoin_hashes::sha512_256::Hash(_) #[repr(transparent)] pub struct bitcoin_hashes::siphash24::Hash(_) impl bitcoin_hashes::FromSliceError +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hash160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::ripemd160::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha1::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256d::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha384::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha512_256::Hash +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::siphash24::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::hash160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::ripemd160::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha1::Hash @@ -361,17 +370,19 @@ impl> core::ops::index::Index for bit impl> core::ops::index::Index for bitcoin_hashes::sha512::Hash impl> core::ops::index::Index for bitcoin_hashes::sha512_256::Hash impl> core::ops::index::Index for bitcoin_hashes::siphash24::Hash -impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac -impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine -impl bitcoin_hashes::hkdf::Hkdf -impl bitcoin_hashes::hmac::HmacEngine -impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine -impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac -impl core::fmt::Display for bitcoin_hashes::hmac::Hmac -impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac -impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac +impl core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine +impl bitcoin_hashes::hkdf::Hkdf +impl bitcoin_hashes::hmac::HmacEngine +impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac +impl core::default::Default for bitcoin_hashes::hmac::HmacEngine +impl core::fmt::Debug for bitcoin_hashes::hmac::Hmac +impl core::fmt::Display for bitcoin_hashes::hmac::Hmac +impl core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac +impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac +impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash impl core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash impl core::clone::Clone for bitcoin_hashes::sha256t::Hash @@ -389,48 +400,48 @@ impl core::fmt::UpperHex for bitcoin_hashes::sh impl core::hash::Hash for bitcoin_hashes::sha256t::Hash impl core::marker::Copy for bitcoin_hashes::sha256t::Hash impl core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash -impl core::clone::Clone for bitcoin_hashes::hmac::Hmac -impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone -impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac -impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac -impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac -impl core::hash::Hash for bitcoin_hashes::hmac::Hmac -impl core::marker::Copy for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::Hmac +impl core::clone::Clone for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::clone::Clone +impl core::cmp::Eq for bitcoin_hashes::hmac::Hmac +impl core::cmp::Ord for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac +impl core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac +impl core::hash::Hash for bitcoin_hashes::hmac::Hmac +impl core::marker::Copy for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::sha256t::Hash where (T): bitcoin_hashes::sha256t::Tag impl bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag impl core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::hmac::Hmac where T: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze -impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Freeze +impl core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze impl core::marker::Freeze for bitcoin_hashes::sha256t::Hash impl core::marker::Send for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Send impl core::marker::Send for bitcoin_hashes::hmac::Hmac where T: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send -impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Send +impl core::marker::Send for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send impl core::marker::Send for bitcoin_hashes::sha256t::Hash where T: core::marker::Send impl core::marker::Sync for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::hmac::Hmac where T: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync -impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Sync +impl core::marker::Sync for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync impl core::marker::Sync for bitcoin_hashes::sha256t::Hash where T: core::marker::Sync impl core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf where T: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::hmac::Hmac where T: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin -impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::marker::Unpin +impl core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin impl core::marker::Unpin for bitcoin_hashes::sha256t::Hash where T: core::marker::Unpin impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe -impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::RefUnwindSafe +impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::RefUnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf where T: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac where T: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe -impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::panic::unwind_safe::UnwindSafe +impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState where <::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe impl core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash where T: core::panic::unwind_safe::UnwindSafe -pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState -pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::inner: <::Engine as bitcoin_hashes::HashEngine>::MidState +pub bitcoin_hashes::hmac::HmacMidState::outer: <::Engine as bitcoin_hashes::HashEngine>::MidState pub const bitcoin_hashes::Hash::DISPLAY_BACKWARD: bool pub const bitcoin_hashes::Hash::LEN: usize pub const bitcoin_hashes::HashEngine::BLOCK_SIZE: usize @@ -506,13 +517,13 @@ pub fn bitcoin_hashes::FromSliceError::eq(&self, other: &bitcoin_hashes::FromSli pub fn bitcoin_hashes::FromSliceError::expected_length(&self) -> usize pub fn bitcoin_hashes::FromSliceError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::FromSliceError::invalid_length(&self) -> usize +pub fn bitcoin_hashes::GeneralHash::engine() -> Self::Engine +pub fn bitcoin_hashes::GeneralHash::from_engine(e: Self::Engine) -> Self +pub fn bitcoin_hashes::GeneralHash::hash(data: &[u8]) -> Self +pub fn bitcoin_hashes::GeneralHash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes -pub fn bitcoin_hashes::Hash::engine() -> Self::Engine pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self -pub fn bitcoin_hashes::Hash::from_engine(e: Self::Engine) -> Self pub fn bitcoin_hashes::Hash::from_slice(sl: &[u8]) -> core::result::Result -pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self -pub fn bitcoin_hashes::Hash::hash_byte_chunks(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator pub fn bitcoin_hashes::Hash::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::HashEngine::input(&mut self, data: &[u8]) pub fn bitcoin_hashes::HashEngine::midstate(&self) -> Self::MidState @@ -559,7 +570,7 @@ pub fn bitcoin_hashes::hmac::Hmac::partial_cmp(&self, other: &bitcoin_hashes: pub fn bitcoin_hashes::hmac::Hmac::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self -pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine +pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::input(&mut self, buf: &[u8]) pub fn bitcoin_hashes::hmac::HmacEngine::midstate(&self) -> Self::MidState pub fn bitcoin_hashes::hmac::HmacEngine::n_bytes_hashed(&self) -> usize @@ -835,11 +846,11 @@ pub mod bitcoin_hashes::sha512 pub mod bitcoin_hashes::sha512_256 pub mod bitcoin_hashes::siphash24 pub struct bitcoin_hashes::FromSliceError -pub struct bitcoin_hashes::HmacEngine -pub struct bitcoin_hashes::hkdf::Hkdf +pub struct bitcoin_hashes::HmacEngine +pub struct bitcoin_hashes::hkdf::Hkdf pub struct bitcoin_hashes::hkdf::MaxLengthError -pub struct bitcoin_hashes::hmac::HmacEngine -pub struct bitcoin_hashes::hmac::HmacMidState +pub struct bitcoin_hashes::hmac::HmacEngine +pub struct bitcoin_hashes::hmac::HmacMidState pub struct bitcoin_hashes::ripemd160::HashEngine pub struct bitcoin_hashes::sha1::HashEngine pub struct bitcoin_hashes::sha256::HashEngine @@ -849,11 +860,12 @@ pub struct bitcoin_hashes::sha512::HashEngine pub struct bitcoin_hashes::sha512_256::HashEngine(_) pub struct bitcoin_hashes::siphash24::HashEngine pub struct bitcoin_hashes::siphash24::State +pub trait bitcoin_hashes::GeneralHash: bitcoin_hashes::Hash pub trait bitcoin_hashes::Hash: core::marker::Copy + core::clone::Clone + core::cmp::PartialEq + core::cmp::Eq + core::cmp::PartialOrd + core::cmp::Ord + core::hash::Hash + core::fmt::Debug + core::fmt::Display + core::fmt::LowerHex + core::convert::AsRef<[u8]> pub trait bitcoin_hashes::HashEngine: core::clone::Clone + core::default::Default pub trait bitcoin_hashes::sha256t::Tag +pub type bitcoin_hashes::GeneralHash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::Hash::Bytes: hex_conservative::parse::FromHex + core::marker::Copy -pub type bitcoin_hashes::Hash::Engine: bitcoin_hashes::HashEngine pub type bitcoin_hashes::HashEngine::MidState pub type bitcoin_hashes::hash160::Hash::Bytes = [u8; 20] pub type bitcoin_hashes::hash160::Hash::Engine = bitcoin_hashes::sha256::HashEngine