Merge rust-bitcoin/rust-bitcoin#2910: hashes: split `Hash` into `GeneralHash` and `Hash`
8bd5c64433
api changes for "drop GeneralHash from wrapped hash types" (Andrew Poelstra)91265977f8
hashes: stop exposing engine/from_engine and general hashing methods in hash_newtype (Andrew Poelstra)8c4899f2cc
bitcoin: remove all direct use of hashing/engines in unit tests (Andrew Poelstra)b8d85a1df0
bitcoin: remove all use of engine/from_engine on opaque hash types (Andrew Poelstra)0aa539f836
hashes: remove engine/from_engine from embedded test (Andrew Poelstra)46dad847f2
api changes for split between Hash/GeneralHash (Andrew Poelstra)73dcc79763
hashes: split Hash trait into two (Andrew Poelstra)1fe4c63986
hashes: remove unused Hash import in embedded test (Andrew Poelstra) Pull request description: I'm not thrilled with these names. Personally I would prefer having `ByteArrayWrapper` (for non-general hashes) and `Hash` (for general hashes). But using `Hash` and `GeneralHash` greatly minimizes the diff because most of our use of the `Hash` trait was only for non-general stuff. Maybe that tradeoff will change as we move stuff to inherents? I hope to do that in the next PR (or maybe the one after that, since I still have some "drop `GeneralHash` work to do for tagged hashes). And after that the hashing API should be "clean" enough that we can figure out HashEngine, possibly even folding GeneralHash into it. But that's the part of #2770 that we didn't finish nailing down so I'm not sure. But other than naming, I like this PR. I think, if you approve of this PR except the naming, it would be best to ACK it and then we can do a followup rename-only PR, rather than dealing with the review pain of mass-renaming in rebases. ACKs for top commit: tcharding: ACK8bd5c64433
Kixunil: ACK8bd5c64433
Tree-SHA512: 3754f0f7ffae487e9f826fb6ecc48a6d9f606204a981bc56b98e118813a881b905e38a3cf5d6c3b3142aa0876ce2efc2ab75ec5a2f59fcc36fd86d148ab253bb
This commit is contained in:
commit
bbae0ab7b5
|
@ -442,6 +442,10 @@ 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::TapSighash
|
||||
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,19 +7021,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::LegacySighash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::LegacySighash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::LegacySighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::LegacySighash
|
||||
pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::LegacySighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::LegacySighash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result<bitcoin::LegacySighash, Self::Err>
|
||||
pub fn bitcoin::LegacySighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::LegacySighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::LegacySighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::LegacySighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::LegacySighash::partial_cmp(&self, other: &bitcoin::LegacySighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::LegacySighash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7066,7 +7065,6 @@ 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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::PubkeyHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::PubkeyHash::engine() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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,14 +7073,10 @@ 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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::PubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::PubkeyHash
|
||||
pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::PubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::PubkeyHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::PubkeyHash, Self::Err>
|
||||
pub fn bitcoin::PubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::PubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::PubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::PubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::PubkeyHash::partial_cmp(&self, other: &bitcoin::PubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::PubkeyHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7117,19 +7111,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::SegwitV0Sighash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::SegwitV0Sighash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::SegwitV0Sighash
|
||||
pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::SegwitV0Sighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::SegwitV0Sighash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result<bitcoin::SegwitV0Sighash, Self::Err>
|
||||
pub fn bitcoin::SegwitV0Sighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::SegwitV0Sighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::SegwitV0Sighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::SegwitV0Sighash::partial_cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::SegwitV0Sighash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7141,13 +7130,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::TapSighash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::TapSighash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::TapSighash::engine() -> <bitcoin::TapSighash 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::TapSighashTag>) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin::TapSighash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: Self::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::TapSighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::TapSighash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result<bitcoin::TapSighash, Self::Err>
|
||||
|
@ -7184,21 +7174,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::WPubkeyHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::WPubkeyHash::engine() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::WPubkeyHash
|
||||
pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::WPubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::WPubkeyHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::WPubkeyHash, Self::Err>
|
||||
pub fn bitcoin::WPubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::WPubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::WPubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::WPubkeyHash::partial_cmp(&self, other: &bitcoin::WPubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::WPubkeyHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7433,20 +7418,15 @@ pub fn bitcoin::bip158::FilterHash::cmp(&self, other: &bitcoin::bip158::FilterHa
|
|||
pub fn bitcoin::bip158::FilterHash::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::bip158::FilterHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHash
|
||||
pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHash, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHash::partial_cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7460,19 +7440,14 @@ pub fn bitcoin::bip158::FilterHeader::cmp(&self, other: &bitcoin::bip158::Filter
|
|||
pub fn bitcoin::bip158::FilterHeader::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::bip158::FilterHeader, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHeader
|
||||
pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHeader, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHeader::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHeader, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHeader::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHeader::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHeader::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHeader::partial_cmp(&self, other: &bitcoin::bip158::FilterHeader) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHeader::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7608,21 +7583,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::engine() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip32::XKeyIdentifier
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, Self::Err>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::partial_cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7696,7 +7666,6 @@ pub fn bitcoin::blockdata::block::BlockHash::cmp(&self, other: &bitcoin::blockda
|
|||
pub fn bitcoin::blockdata::block::BlockHash::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::block::BlockHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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,14 +7674,10 @@ 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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::BlockHash
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::BlockHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::BlockHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::BlockHash::partial_cmp(&self, other: &bitcoin::blockdata::block::BlockHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -7759,19 +7724,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::WitnessCommitment
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::partial_cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8268,21 +8228,16 @@ 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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::script::ScriptHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::engine() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::ScriptHash
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::RedeemScriptSizeError>
|
||||
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<bitcoin::blockdata::script::ScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::ScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8298,21 +8253,16 @@ 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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::script::WScriptHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::engine() -> <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::WScriptHash
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::WitnessScriptSizeError>
|
||||
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<bitcoin::blockdata::script::WScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::WScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8517,21 +8467,16 @@ pub fn bitcoin::blockdata::transaction::Txid::cmp(&self, other: &bitcoin::blockd
|
|||
pub fn bitcoin::blockdata::transaction::Txid::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::transaction::Txid, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Txid
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Txid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Txid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Txid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Txid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8558,21 +8503,16 @@ pub fn bitcoin::blockdata::transaction::Wtxid::cmp(&self, other: &bitcoin::block
|
|||
pub fn bitcoin::blockdata::transaction::Wtxid::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Wtxid
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8882,20 +8822,15 @@ pub fn bitcoin::merkle_tree::TxMerkleNode::combine(&self, other: &Self) -> Self
|
|||
pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::merkle_tree::TxMerkleNode, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::TxMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::TxMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -8910,20 +8845,15 @@ pub fn bitcoin::merkle_tree::WitnessMerkleNode::combine(&self, other: &Self) ->
|
|||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::merkle_tree::WitnessMerkleNode, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::WitnessMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::WitnessMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
|
||||
|
@ -9643,14 +9573,15 @@ pub fn bitcoin::taproot::TapLeafHash::cmp(&self, other: &bitcoin::taproot::TapLe
|
|||
pub fn bitcoin::taproot::TapLeafHash::consensus_decode<R: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::deserialize<D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::taproot::TapLeafHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin::taproot::TapLeafHash 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::TapLeafTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin::taproot::TapLeafHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: Self::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<bitcoin::taproot::TapLeafHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
|
@ -9677,7 +9608,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::taproot::TapNodeHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::taproot::TapNodeHash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapNodeHash::engine() -> <bitcoin::taproot::TapNodeHash 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::TapBranchTag>) -> bitcoin::taproot::TapNodeHash
|
||||
|
@ -9685,8 +9617,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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin::taproot::TapNodeHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: Self::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<bitcoin::taproot::TapNodeHash, bitcoin_hashes::FromSliceError>
|
||||
|
@ -9718,15 +9650,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: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<bitcoin::taproot::TapTweakHash, <D as serde::de::Deserializer>::Error>
|
||||
pub fn bitcoin::taproot::TapTweakHash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapTweakHash::engine() -> <bitcoin::taproot::TapTweakHash 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::TapTweakTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin::taproot::TapTweakHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: Self::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::TapNodeHash>) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::taproot::TapTweakHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
|
||||
|
@ -10413,27 +10346,23 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::LegacySighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::LegacySighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError
|
||||
pub type bitcoin::PrivateKey::Output = [u8]
|
||||
pub type bitcoin::PubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::PubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::PubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError
|
||||
pub type bitcoin::SegwitV0Sighash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::SegwitV0Sighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::SegwitV0Sighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::TapSighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError
|
||||
pub type bitcoin::WPubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::WPubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::WPubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::address::Address<bitcoin::address::NetworkUnchecked>::Err = bitcoin::address::error::ParseError
|
||||
|
@ -10442,11 +10371,9 @@ 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<I>>::Output
|
||||
pub type bitcoin::bip158::FilterHash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip158::FilterHeader::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHeader::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHeader::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -10463,18 +10390,15 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError
|
|||
pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index<I>>::Output
|
||||
pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath)
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::BlockHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::BlockHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -10495,12 +10419,10 @@ 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 = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::ScriptHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Bytes = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Engine = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -10511,11 +10433,9 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Txid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Txid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8]
|
||||
|
@ -10541,12 +10461,10 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::TxMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -10573,17 +10491,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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapLeafHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::TapNodeHash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapNodeHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapTweakHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash
|
||||
|
|
|
@ -433,6 +433,10 @@ 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::TapSighash
|
||||
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,18 +6710,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::LegacySighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::LegacySighash
|
||||
pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::LegacySighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result<bitcoin::LegacySighash, Self::Err>
|
||||
pub fn bitcoin::LegacySighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::LegacySighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::LegacySighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::LegacySighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::LegacySighash::partial_cmp(&self, other: &bitcoin::LegacySighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::LegacySighash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6749,7 +6748,6 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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,13 +6756,9 @@ 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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::PubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::PubkeyHash
|
||||
pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::PubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::PubkeyHash, Self::Err>
|
||||
pub fn bitcoin::PubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::PubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::PubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::PubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::PubkeyHash::partial_cmp(&self, other: &bitcoin::PubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::PubkeyHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6795,18 +6789,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::SegwitV0Sighash
|
||||
pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::SegwitV0Sighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result<bitcoin::SegwitV0Sighash, Self::Err>
|
||||
pub fn bitcoin::SegwitV0Sighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::SegwitV0Sighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::SegwitV0Sighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::SegwitV0Sighash::partial_cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::SegwitV0Sighash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6816,13 +6805,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::TapSighash::engine() -> <bitcoin::TapSighash 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::TapSighashTag>) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin::TapSighash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: Self::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::TapSighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result<bitcoin::TapSighash, Self::Err>
|
||||
pub fn bitcoin::TapSighash::hash(data: &[u8]) -> Self
|
||||
|
@ -6854,20 +6844,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::WPubkeyHash
|
||||
pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::WPubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::WPubkeyHash, Self::Err>
|
||||
pub fn bitcoin::WPubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::WPubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::WPubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::WPubkeyHash::partial_cmp(&self, other: &bitcoin::WPubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::WPubkeyHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7096,19 +7081,14 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHash
|
||||
pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHash, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHash::partial_cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7120,18 +7100,13 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHeader
|
||||
pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHeader, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHeader, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHeader::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHeader::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHeader::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHeader::partial_cmp(&self, other: &bitcoin::bip158::FilterHeader) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHeader::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7257,20 +7232,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip32::XKeyIdentifier
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, Self::Err>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::partial_cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7336,7 +7306,6 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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,13 +7314,9 @@ 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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::BlockHash
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::BlockHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::BlockHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::BlockHash::partial_cmp(&self, other: &bitcoin::blockdata::block::BlockHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7392,18 +7357,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::WitnessCommitment
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::partial_cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7884,20 +7844,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::ScriptHash
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::RedeemScriptSizeError>
|
||||
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<bitcoin::blockdata::script::ScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::ScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7911,20 +7866,15 @@ 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() -> <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::WScriptHash
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::WitnessScriptSizeError>
|
||||
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<bitcoin::blockdata::script::WScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::WScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -8115,20 +8065,15 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Txid
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Txid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Txid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Txid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Txid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -8151,20 +8096,15 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Wtxid
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -8425,19 +8365,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::TxMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::TxMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -8450,19 +8385,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::WitnessMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::WitnessMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -9139,14 +9069,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin::taproot::TapLeafHash 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::TapLeafTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin::taproot::TapLeafHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: Self::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<bitcoin::taproot::TapLeafHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_str(s: &str) -> core::result::Result<bitcoin::taproot::TapLeafHash, Self::Err>
|
||||
|
@ -9170,7 +9101,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapNodeHash::engine() -> <bitcoin::taproot::TapNodeHash 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::TapBranchTag>) -> bitcoin::taproot::TapNodeHash
|
||||
|
@ -9178,8 +9110,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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin::taproot::TapNodeHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: Self::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<bitcoin::taproot::TapNodeHash, bitcoin_hashes::FromSliceError>
|
||||
|
@ -9206,15 +9138,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapTweakHash::engine() -> <bitcoin::taproot::TapTweakHash 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::TapTweakTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin::taproot::TapTweakHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: Self::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::TapNodeHash>) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::taproot::TapTweakHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_str(s: &str) -> core::result::Result<bitcoin::taproot::TapTweakHash, Self::Err>
|
||||
|
@ -9882,27 +9815,23 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::LegacySighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::LegacySighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError
|
||||
pub type bitcoin::PrivateKey::Output = [u8]
|
||||
pub type bitcoin::PubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::PubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::PubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError
|
||||
pub type bitcoin::SegwitV0Sighash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::SegwitV0Sighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::SegwitV0Sighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::TapSighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError
|
||||
pub type bitcoin::WPubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::WPubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::WPubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::address::Address<bitcoin::address::NetworkUnchecked>::Err = bitcoin::address::error::ParseError
|
||||
|
@ -9911,11 +9840,9 @@ 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<I>>::Output
|
||||
pub type bitcoin::bip158::FilterHash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip158::FilterHeader::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHeader::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHeader::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -9932,18 +9859,15 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError
|
|||
pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index<I>>::Output
|
||||
pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath)
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::BlockHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::BlockHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -9964,12 +9888,10 @@ 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 = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::ScriptHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Bytes = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Engine = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -9980,11 +9902,9 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Txid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Txid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8]
|
||||
|
@ -10001,12 +9921,10 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::TxMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -10031,17 +9949,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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapLeafHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::TapNodeHash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapNodeHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapTweakHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash
|
||||
|
|
|
@ -364,6 +364,10 @@ 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::TapSighash
|
||||
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,18 +6080,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::LegacySighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::LegacySighash
|
||||
pub fn bitcoin::LegacySighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::LegacySighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::LegacySighash::from_str(s: &str) -> core::result::Result<bitcoin::LegacySighash, Self::Err>
|
||||
pub fn bitcoin::LegacySighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::LegacySighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::LegacySighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::LegacySighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::LegacySighash::partial_cmp(&self, other: &bitcoin::LegacySighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::LegacySighash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6119,7 +6118,6 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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,13 +6126,9 @@ 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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::PubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::PubkeyHash
|
||||
pub fn bitcoin::PubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::PubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::PubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::PubkeyHash, Self::Err>
|
||||
pub fn bitcoin::PubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::PubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::PubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::PubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::PubkeyHash::partial_cmp(&self, other: &bitcoin::PubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::PubkeyHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6165,18 +6159,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::SegwitV0Sighash
|
||||
pub fn bitcoin::SegwitV0Sighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::SegwitV0Sighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::SegwitV0Sighash::from_str(s: &str) -> core::result::Result<bitcoin::SegwitV0Sighash, Self::Err>
|
||||
pub fn bitcoin::SegwitV0Sighash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::SegwitV0Sighash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::SegwitV0Sighash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::SegwitV0Sighash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::SegwitV0Sighash::partial_cmp(&self, other: &bitcoin::SegwitV0Sighash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::SegwitV0Sighash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6186,13 +6175,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::TapSighash::engine() -> <bitcoin::TapSighash 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::TapSighashTag>) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_byte_array(bytes: Self::Bytes) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_engine(e: <bitcoin::TapSighash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::TapSighash::from_engine(e: Self::Engine) -> bitcoin::TapSighash
|
||||
pub fn bitcoin::TapSighash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::TapSighash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::TapSighash::from_str(s: &str) -> core::result::Result<bitcoin::TapSighash, Self::Err>
|
||||
pub fn bitcoin::TapSighash::hash(data: &[u8]) -> Self
|
||||
|
@ -6224,20 +6214,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::WPubkeyHash
|
||||
pub fn bitcoin::WPubkeyHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::WPubkeyHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::WPubkeyHash::from_str(s: &str) -> core::result::Result<bitcoin::WPubkeyHash, Self::Err>
|
||||
pub fn bitcoin::WPubkeyHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::WPubkeyHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::WPubkeyHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::WPubkeyHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::WPubkeyHash::partial_cmp(&self, other: &bitcoin::WPubkeyHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::WPubkeyHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6459,19 +6444,14 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHash
|
||||
pub fn bitcoin::bip158::FilterHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHash::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHash, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHash::partial_cmp(&self, other: &bitcoin::bip158::FilterHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6483,18 +6463,13 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::bip158::FilterHeader::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip158::FilterHeader
|
||||
pub fn bitcoin::bip158::FilterHeader::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip158::FilterHeader, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip158::FilterHeader::from_str(s: &str) -> core::result::Result<bitcoin::bip158::FilterHeader, Self::Err>
|
||||
pub fn bitcoin::bip158::FilterHeader::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip158::FilterHeader::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip158::FilterHeader::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip158::FilterHeader::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip158::FilterHeader::partial_cmp(&self, other: &bitcoin::bip158::FilterHeader) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip158::FilterHeader::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6619,20 +6594,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::bip32::XKeyIdentifier
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::from_str(s: &str) -> core::result::Result<bitcoin::bip32::XKeyIdentifier, Self::Err>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::partial_cmp(&self, other: &bitcoin::bip32::XKeyIdentifier) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::bip32::XKeyIdentifier::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6697,7 +6667,6 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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,13 +6675,9 @@ 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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::BlockHash
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::BlockHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::BlockHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::BlockHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::BlockHash::partial_cmp(&self, other: &bitcoin::blockdata::block::BlockHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::BlockHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -6752,18 +6717,13 @@ 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() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::block::WitnessCommitment
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::block::WitnessCommitment, Self::Err>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::partial_cmp(&self, other: &bitcoin::blockdata::block::WitnessCommitment) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::block::WitnessCommitment::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7239,20 +7199,15 @@ 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() -> <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_engine(e: <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::ScriptHash
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_script(redeem_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::RedeemScriptSizeError>
|
||||
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<bitcoin::blockdata::script::ScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::ScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::ScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::ScriptHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7266,20 +7221,15 @@ 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() -> <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_engine(e: <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::script::WScriptHash
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_script(witness_script: &bitcoin::blockdata::script::Script) -> core::result::Result<Self, bitcoin::blockdata::script::WitnessScriptSizeError>
|
||||
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<bitcoin::blockdata::script::WScriptHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::script::WScriptHash, Self::Err>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::partial_cmp(&self, other: &bitcoin::blockdata::script::WScriptHash) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::script::WScriptHash::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7460,20 +7410,15 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Txid
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Txid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Txid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Txid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Txid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Txid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Txid::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7496,20 +7441,15 @@ 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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> bitcoin::blockdata::transaction::Wtxid
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::from_str(s: &str) -> core::result::Result<bitcoin::blockdata::transaction::Wtxid, Self::Err>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::partial_cmp(&self, other: &bitcoin::blockdata::transaction::Wtxid) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::blockdata::transaction::Wtxid::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7760,19 +7700,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::TxMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::TxMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::TxMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::TxMerkleNode::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -7785,19 +7720,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::engine() -> <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_engine(e: <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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<bitcoin::merkle_tree::WitnessMerkleNode, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::from_str(s: &str) -> core::result::Result<bitcoin::merkle_tree::WitnessMerkleNode, Self::Err>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::index(&self, index: I) -> &Self::Output
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::partial_cmp(&self, other: &bitcoin::merkle_tree::WitnessMerkleNode) -> core::option::Option<core::cmp::Ordering>
|
||||
pub fn bitcoin::merkle_tree::WitnessMerkleNode::to_byte_array(self) -> Self::Bytes
|
||||
|
@ -8250,14 +8180,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: bitcoin_io::BufRead + core::marker::Sized>(r: &mut R) -> core::result::Result<Self, bitcoin::consensus::encode::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::consensus_encode<W: bitcoin_io::Write + core::marker::Sized>(&self, w: &mut W) -> core::result::Result<usize, bitcoin_io::error::Error>
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapLeafHash::engine() -> <bitcoin::taproot::TapLeafHash 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::TapLeafTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapLeafHash
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: <bitcoin::taproot::TapLeafHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_engine(e: Self::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<bitcoin::taproot::TapLeafHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapLeafHash::from_str(s: &str) -> core::result::Result<bitcoin::taproot::TapLeafHash, Self::Err>
|
||||
|
@ -8281,7 +8212,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapNodeHash::engine() -> <bitcoin::taproot::TapNodeHash 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::TapBranchTag>) -> bitcoin::taproot::TapNodeHash
|
||||
|
@ -8289,8 +8221,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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapNodeHash
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: <bitcoin::taproot::TapNodeHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapNodeHash::from_engine(e: Self::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<bitcoin::taproot::TapNodeHash, bitcoin_hashes::FromSliceError>
|
||||
|
@ -8317,15 +8249,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() -> <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub fn bitcoin::taproot::TapTweakHash::engine() -> <bitcoin::taproot::TapTweakHash 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::TapTweakTag>) -> 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: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: <bitcoin::taproot::TapTweakHash as bitcoin_hashes::GeneralHash>::Engine) -> Self
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_engine(e: Self::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::TapNodeHash>) -> bitcoin::taproot::TapTweakHash
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_slice(sl: &[u8]) -> core::result::Result<bitcoin::taproot::TapTweakHash, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin::taproot::TapTweakHash::from_str(s: &str) -> core::result::Result<bitcoin::taproot::TapTweakHash, Self::Err>
|
||||
|
@ -8960,27 +8893,23 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::LegacySighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::LegacySighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::LegacySighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PrivateKey::Err = bitcoin::key::FromWifError
|
||||
pub type bitcoin::PrivateKey::Output = [u8]
|
||||
pub type bitcoin::PubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::PubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::PubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::PubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::PublicKey::Err = bitcoin::key::ParsePublicKeyError
|
||||
pub type bitcoin::SegwitV0Sighash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::SegwitV0Sighash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::SegwitV0Sighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::SegwitV0Sighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::TapSighash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::TapSighashTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::TapSighash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::TapSighash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::TapSighashType::Err = bitcoin::sighash::SighashTypeParseError
|
||||
pub type bitcoin::WPubkeyHash::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::WPubkeyHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::WPubkeyHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::WPubkeyHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::address::Address<bitcoin::address::NetworkUnchecked>::Err = bitcoin::address::error::ParseError
|
||||
|
@ -8989,11 +8918,9 @@ 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<I>>::Output
|
||||
pub type bitcoin::bip158::FilterHash::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip158::FilterHeader::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip158::FilterHeader::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip158::FilterHeader::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip158::FilterHeader::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::bip32::ChainCode::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -9010,18 +8937,15 @@ pub type bitcoin::bip32::Fingerprint::Error = core::array::TryFromSliceError
|
|||
pub type bitcoin::bip32::Fingerprint::Output = <[u8] as core::ops::index::Index<I>>::Output
|
||||
pub type bitcoin::bip32::KeySource = (bitcoin::bip32::Fingerprint, bitcoin::bip32::DerivationPath)
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Bytes = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::bip32::XKeyIdentifier::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::BlockHash::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::BlockHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::BlockHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::block::WitnessCommitment::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::constants::ChainHash::Err = hex_conservative::error::HexToArrayError
|
||||
|
@ -9041,12 +8965,10 @@ 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 = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::ScriptHash::Engine = <bitcoin_hashes::hash160::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Bytes = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::script::WScriptHash::Engine = <bitcoin_hashes::sha256::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -9056,11 +8978,9 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Txid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Txid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Txid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::blockdata::transaction::Wtxid::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::blockdata::witness::Iter<'a>::Item = &'a [u8]
|
||||
|
@ -9077,12 +8997,10 @@ 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 = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::TxMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Bytes = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::merkle_tree::WitnessMerkleNode::Engine = <bitcoin_hashes::sha256d::Hash as bitcoin_hashes::Hash>::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 = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
|
@ -9103,17 +9021,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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapLeafTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapLeafHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapLeafHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::TapNodeHash::Bytes = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapBranchTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapNodeHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapNodeHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::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 = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Bytes
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::Hash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Engine = <bitcoin_hashes::sha256t::Hash<bitcoin::taproot::TapTweakTag> as bitcoin_hashes::GeneralHash>::Engine
|
||||
pub type bitcoin::taproot::TapTweakHash::Err = hex_conservative::error::HexToArrayError
|
||||
pub type bitcoin::taproot::TapTweakHash::Output = <I as core::slice::index::SliceIndex<[u8]>>::Output
|
||||
pub type bitcoin::taproot::merkle_branch::IntoIter::Item = bitcoin::taproot::TapNodeHash
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[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<T>
|
||||
impl<'de, T: bitcoin_hashes::GeneralHash + serde::de::Deserialize<'de>> serde::de::Deserialize<'de> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<'de, T: bitcoin_hashes::sha256t::Tag> serde::de::Deserialize<'de> for bitcoin_hashes::sha256t::Hash<T>
|
||||
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<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bit
|
|||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512_256::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::siphash24::Hash
|
||||
impl<T: bitcoin_hashes::Hash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash + schemars::JsonSchema> schemars::JsonSchema for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash + serde::ser::Serialize> serde::ser::Serialize for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_io::Write for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> std::io::Write for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash + schemars::JsonSchema> schemars::JsonSchema for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash + serde::ser::Serialize> serde::ser::Serialize for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_io::Write for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> std::io::Write for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::serde_macros::serde_details::SerdeHash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash<T>
|
||||
|
@ -449,48 +460,48 @@ impl<T: bitcoin_hashes::sha256t::Tag> core::marker::Copy for bitcoin_hashes::sha
|
|||
impl<T: bitcoin_hashes::sha256t::Tag> core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> schemars::JsonSchema for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> serde::ser::Serialize for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::Hash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::Hash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::Hash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::Hash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::Hash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::Hash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::GeneralHash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::GeneralHash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::GeneralHash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::GeneralHash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::GeneralHash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::GeneralHash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T> bitcoin_hashes::sha256t::Hash<T> where (T): bitcoin_hashes::sha256t::Tag
|
||||
impl<T> bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Unpin
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::GeneralHash>::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<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin_hashes::Hash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<T>::clone(&self) -> bitcoin_hashes::hmac
|
|||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::default() -> Self
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::flush(&mut self) -> bitcoin_io::Result<()>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::flush(&mut self) -> std::io::error::Result<()>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::Hash>::Engine, oengine: <T as bitcoin_hashes::Hash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::GeneralHash>::Engine, oengine: <T as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::input(&mut self, buf: &[u8])
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::midstate(&self) -> Self::MidState
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::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<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::MaxLengthError
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::GeneralHash>
|
||||
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<usize, Output = u8> + core::ops::index::Index<core::ops::range::RangeFull, Output = [u8]>, <Self as core::str::traits::FromStr>::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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[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<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bit
|
|||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512_256::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::siphash24::Hash
|
||||
impl<T: bitcoin_hashes::Hash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::clone::Clone for bitcoin_hashes::sha256t::Hash<T>
|
||||
|
@ -389,48 +400,48 @@ impl<T: bitcoin_hashes::sha256t::Tag> core::fmt::UpperHex for bitcoin_hashes::sh
|
|||
impl<T: bitcoin_hashes::sha256t::Tag> core::hash::Hash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::marker::Copy for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::Hash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::Hash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::Hash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::Hash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::Hash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::Hash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::GeneralHash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::GeneralHash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::GeneralHash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::GeneralHash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::GeneralHash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::GeneralHash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T> bitcoin_hashes::sha256t::Hash<T> where (T): bitcoin_hashes::sha256t::Tag
|
||||
impl<T> bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Unpin
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::GeneralHash>::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<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin_hashes::Hash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<T>::partial_cmp(&self, other: &bitcoin_hashes:
|
|||
pub fn bitcoin_hashes::hmac::Hmac<T>::to_byte_array(self) -> Self::Bytes
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::clone(&self) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::default() -> Self
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::Hash>::Engine, oengine: <T as bitcoin_hashes::Hash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::GeneralHash>::Engine, oengine: <T as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::input(&mut self, buf: &[u8])
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::midstate(&self) -> Self::MidState
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::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<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::MaxLengthError
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::GeneralHash>
|
||||
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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hash160::Hash(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::Hash>(_)
|
||||
#[repr(transparent)] pub struct bitcoin_hashes::hmac::Hmac<T: bitcoin_hashes::GeneralHash>(_)
|
||||
#[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<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bit
|
|||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::sha512_256::Hash
|
||||
impl<I: core::slice::index::SliceIndex<[u8]>> core::ops::index::Index<I> for bitcoin_hashes::siphash24::Hash
|
||||
impl<T: bitcoin_hashes::Hash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::Hash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::Hash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash + core::str::traits::FromStr> core::str::traits::FromStr for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::GeneralHash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hkdf::Hkdf<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::default::Default for bitcoin_hashes::hmac::HmacEngine<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Debug for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::Display for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::fmt::LowerHex for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::GeneralHash> core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::clone::Clone for bitcoin_hashes::sha256t::Hash<T>
|
||||
|
@ -389,48 +400,48 @@ impl<T: bitcoin_hashes::sha256t::Tag> core::fmt::UpperHex for bitcoin_hashes::sh
|
|||
impl<T: bitcoin_hashes::sha256t::Tag> core::hash::Hash for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::marker::Copy for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: bitcoin_hashes::sha256t::Tag> core::str::traits::FromStr for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::Hash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::Hash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::Hash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::Hash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::Hash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::Hash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::Hash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::clone::Clone + bitcoin_hashes::GeneralHash> core::clone::Clone for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::clone::Clone
|
||||
impl<T: core::cmp::Eq + bitcoin_hashes::GeneralHash> core::cmp::Eq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::Ord + bitcoin_hashes::GeneralHash> core::cmp::Ord for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialEq + bitcoin_hashes::GeneralHash> core::cmp::PartialEq for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::cmp::PartialOrd + bitcoin_hashes::GeneralHash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::hash::Hash + bitcoin_hashes::GeneralHash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T: core::marker::Copy + bitcoin_hashes::GeneralHash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
|
||||
impl<T> bitcoin_hashes::sha256t::Hash<T> where (T): bitcoin_hashes::sha256t::Tag
|
||||
impl<T> bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Freeze
|
||||
impl<T> core::marker::Freeze for bitcoin_hashes::sha256t::Hash<T>
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Send
|
||||
impl<T> core::marker::Send for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Sync
|
||||
impl<T> core::marker::Sync for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::marker::Unpin
|
||||
impl<T> core::marker::Unpin for bitcoin_hashes::sha256t::Hash<T> where T: core::marker::Unpin
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hkdf::Hkdf<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::Hmac<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::GeneralHash>::Engine: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::hmac::HmacMidState<T> where <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState: core::panic::unwind_safe::UnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for bitcoin_hashes::sha256t::Hash<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::Hash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::inner: <<T as bitcoin_hashes::GeneralHash>::Engine as bitcoin_hashes::HashEngine>::MidState
|
||||
pub bitcoin_hashes::hmac::HmacMidState::outer: <<T as bitcoin_hashes::GeneralHash>::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<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<Self, bitcoin_hashes::FromSliceError>
|
||||
pub fn bitcoin_hashes::Hash::hash(data: &[u8]) -> Self
|
||||
pub fn bitcoin_hashes::Hash::hash_byte_chunks<B, I>(byte_slices: I) -> Self where B: core::convert::AsRef<[u8]>, I: core::iter::traits::collect::IntoIterator<Item = B>
|
||||
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<T>::partial_cmp(&self, other: &bitcoin_hashes:
|
|||
pub fn bitcoin_hashes::hmac::Hmac<T>::to_byte_array(self) -> Self::Bytes
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::clone(&self) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::default() -> Self
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::Hash>::Engine, oengine: <T as bitcoin_hashes::Hash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::from_inner_engines(iengine: <T as bitcoin_hashes::GeneralHash>::Engine, oengine: <T as bitcoin_hashes::GeneralHash>::Engine) -> bitcoin_hashes::hmac::HmacEngine<T>
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::input(&mut self, buf: &[u8])
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::midstate(&self) -> Self::MidState
|
||||
pub fn bitcoin_hashes::hmac::HmacEngine<T>::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<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::Hkdf<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hkdf::MaxLengthError
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::Hash>
|
||||
pub struct bitcoin_hashes::hmac::HmacEngine<T: bitcoin_hashes::GeneralHash>
|
||||
pub struct bitcoin_hashes::hmac::HmacMidState<T: bitcoin_hashes::GeneralHash>
|
||||
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
|
||||
|
|
|
@ -383,11 +383,12 @@ mod test {
|
|||
};
|
||||
|
||||
fn dummy_tx(nonce: &[u8]) -> Transaction {
|
||||
let dummy_txid = Txid::from_byte_array(hashes::sha256::Hash::hash(nonce).to_byte_array());
|
||||
Transaction {
|
||||
version: transaction::Version::ONE,
|
||||
lock_time: absolute::LockTime::from_consensus(2),
|
||||
input: vec![TxIn {
|
||||
previous_output: OutPoint::new(Txid::hash(nonce), 0),
|
||||
previous_output: OutPoint::new(dummy_txid, 0),
|
||||
script_sig: ScriptBuf::new(),
|
||||
sequence: Sequence(1),
|
||||
witness: Witness::new(),
|
||||
|
@ -400,8 +401,8 @@ mod test {
|
|||
Block {
|
||||
header: block::Header {
|
||||
version: block::Version::ONE,
|
||||
prev_blockhash: BlockHash::hash(&[0]),
|
||||
merkle_root: TxMerkleNode::hash(&[1]),
|
||||
prev_blockhash: BlockHash::from_byte_array([0x99; 32]),
|
||||
merkle_root: TxMerkleNode::from_byte_array([0x77; 32]),
|
||||
time: 2,
|
||||
bits: CompactTarget::from_consensus(3),
|
||||
nonce: 4,
|
||||
|
|
|
@ -118,7 +118,7 @@ impl FilterHash {
|
|||
let mut header_data = [0u8; 64];
|
||||
header_data[0..32].copy_from_slice(&self[..]);
|
||||
header_data[32..64].copy_from_slice(&previous_filter_header[..]);
|
||||
FilterHeader::hash(&header_data)
|
||||
FilterHeader(sha256d::Hash::hash(&header_data))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -146,8 +146,7 @@ impl BlockFilter {
|
|||
///
|
||||
/// [BIP 157]: <https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki#Filter_Headers>
|
||||
pub fn filter_header(&self, previous_filter_header: FilterHeader) -> FilterHeader {
|
||||
let filter_hash = FilterHash::hash(self.content.as_slice());
|
||||
filter_hash.filter_header(previous_filter_header)
|
||||
FilterHash(sha256d::Hash::hash(&self.content)).filter_header(previous_filter_header)
|
||||
}
|
||||
|
||||
/// Returns true if any query matches against this [`BlockFilter`].
|
||||
|
|
|
@ -9,9 +9,8 @@ use core::ops::Index;
|
|||
use core::str::FromStr;
|
||||
use core::{fmt, slice};
|
||||
|
||||
use hashes::{hash160, hash_newtype, sha512, Hash, HashEngine, Hmac, HmacEngine};
|
||||
use hashes::{hash160, hash_newtype, sha512, GeneralHash, HashEngine, Hmac, HmacEngine};
|
||||
use internals::{impl_array_newtype, write_err};
|
||||
use io::Write;
|
||||
use secp256k1::{Secp256k1, XOnlyPublicKey};
|
||||
|
||||
use crate::crypto::key::{CompressedPublicKey, Keypair, PrivateKey};
|
||||
|
@ -820,9 +819,7 @@ impl Xpub {
|
|||
|
||||
/// Returns the HASH160 of the chaincode
|
||||
pub fn identifier(&self) -> XKeyIdentifier {
|
||||
let mut engine = XKeyIdentifier::engine();
|
||||
engine.write_all(&self.public_key.serialize()).expect("engines don't error");
|
||||
XKeyIdentifier::from_engine(engine)
|
||||
XKeyIdentifier(hash160::Hash::hash(&self.public_key.serialize()))
|
||||
}
|
||||
|
||||
/// Returns the first four bytes of the identifier
|
||||
|
|
|
@ -73,9 +73,9 @@ impl Header {
|
|||
|
||||
/// Returns the block hash.
|
||||
pub fn block_hash(&self) -> BlockHash {
|
||||
let mut engine = BlockHash::engine();
|
||||
let mut engine = sha256d::Hash::engine();
|
||||
self.consensus_encode(&mut engine).expect("engines don't error");
|
||||
BlockHash::from_engine(engine)
|
||||
BlockHash(sha256d::Hash::from_engine(engine))
|
||||
}
|
||||
|
||||
/// Computes the target (range [0, T] inclusive) that a blockhash must land in to be valid.
|
||||
|
@ -295,10 +295,10 @@ impl Block {
|
|||
witness_root: WitnessMerkleNode,
|
||||
witness_reserved_value: &[u8],
|
||||
) -> WitnessCommitment {
|
||||
let mut encoder = WitnessCommitment::engine();
|
||||
let mut encoder = sha256d::Hash::engine();
|
||||
witness_root.consensus_encode(&mut encoder).expect("engines don't error");
|
||||
encoder.input(witness_reserved_value);
|
||||
WitnessCommitment::from_engine(encoder)
|
||||
WitnessCommitment(sha256d::Hash::from_engine(encoder))
|
||||
}
|
||||
|
||||
/// Computes the merkle root of transactions hashed for witness.
|
||||
|
|
|
@ -109,7 +109,7 @@ impl ScriptHash {
|
|||
return Err(RedeemScriptSizeError { size: redeem_script.len() });
|
||||
}
|
||||
|
||||
Ok(ScriptHash::hash(redeem_script.as_bytes()))
|
||||
Ok(ScriptHash(hash160::Hash::hash(redeem_script.as_bytes())))
|
||||
}
|
||||
|
||||
/// Creates a `ScriptHash` from any script irrespective of script size.
|
||||
|
@ -118,7 +118,9 @@ impl ScriptHash {
|
|||
/// then the output will be unspendable (see [BIP-16]).
|
||||
///
|
||||
/// [BIP-16]: <https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki#user-content-520byte_limitation_on_serialized_script_size>
|
||||
pub fn from_script_unchecked(script: &Script) -> Self { ScriptHash::hash(script.as_bytes()) }
|
||||
pub fn from_script_unchecked(script: &Script) -> Self {
|
||||
ScriptHash(hash160::Hash::hash(script.as_bytes()))
|
||||
}
|
||||
}
|
||||
|
||||
impl WScriptHash {
|
||||
|
@ -135,7 +137,7 @@ impl WScriptHash {
|
|||
return Err(WitnessScriptSizeError { size: witness_script.len() });
|
||||
}
|
||||
|
||||
Ok(WScriptHash::hash(witness_script.as_bytes()))
|
||||
Ok(WScriptHash(sha256::Hash::hash(witness_script.as_bytes())))
|
||||
}
|
||||
|
||||
/// Creates a `WScriptHash` from any script irrespective of script size.
|
||||
|
@ -144,7 +146,9 @@ impl WScriptHash {
|
|||
/// output then the output will be unspendable (see [BIP-141]).
|
||||
///
|
||||
/// ref: [BIP-141](https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki)
|
||||
pub fn from_script_unchecked(script: &Script) -> Self { WScriptHash::hash(script.as_bytes()) }
|
||||
pub fn from_script_unchecked(script: &Script) -> Self {
|
||||
WScriptHash(sha256::Hash::hash(script.as_bytes()))
|
||||
}
|
||||
}
|
||||
|
||||
impl TryFrom<ScriptBuf> for ScriptHash {
|
||||
|
|
|
@ -6,7 +6,7 @@ use hex_lit::hex;
|
|||
|
||||
use super::*;
|
||||
use crate::consensus::encode::{deserialize, serialize};
|
||||
use crate::crypto::key::{PubkeyHash, PublicKey, WPubkeyHash, XOnlyPublicKey};
|
||||
use crate::crypto::key::{PublicKey, XOnlyPublicKey};
|
||||
use crate::FeeRate;
|
||||
|
||||
#[test]
|
||||
|
@ -203,10 +203,10 @@ fn script_generators() {
|
|||
.unwrap();
|
||||
assert!(ScriptBuf::new_p2pk(pubkey).is_p2pk());
|
||||
|
||||
let pubkey_hash = PubkeyHash::hash(&pubkey.inner.serialize());
|
||||
let pubkey_hash = pubkey.pubkey_hash();
|
||||
assert!(ScriptBuf::new_p2pkh(pubkey_hash).is_p2pkh());
|
||||
|
||||
let wpubkey_hash = WPubkeyHash::hash(&pubkey.inner.serialize());
|
||||
let wpubkey_hash = pubkey.wpubkey_hash().unwrap();
|
||||
assert!(ScriptBuf::new_p2wpkh(wpubkey_hash).is_p2wpkh());
|
||||
|
||||
let script = Builder::new().push_opcode(OP_NUMEQUAL).push_verify().into_script();
|
||||
|
|
|
@ -754,12 +754,12 @@ impl Transaction {
|
|||
/// this will be equal to [`Transaction::compute_wtxid()`].
|
||||
#[doc(alias = "txid")]
|
||||
pub fn compute_txid(&self) -> Txid {
|
||||
let mut enc = Txid::engine();
|
||||
let mut enc = sha256d::Hash::engine();
|
||||
self.version.consensus_encode(&mut enc).expect("engines don't error");
|
||||
self.input.consensus_encode(&mut enc).expect("engines don't error");
|
||||
self.output.consensus_encode(&mut enc).expect("engines don't error");
|
||||
self.lock_time.consensus_encode(&mut enc).expect("engines don't error");
|
||||
Txid::from_engine(enc)
|
||||
Txid(sha256d::Hash::from_engine(enc))
|
||||
}
|
||||
|
||||
/// Computes the segwit version of the transaction id.
|
||||
|
@ -778,9 +778,9 @@ impl Transaction {
|
|||
/// this will be equal to [`Transaction::txid()`].
|
||||
#[doc(alias = "wtxid")]
|
||||
pub fn compute_wtxid(&self) -> Wtxid {
|
||||
let mut enc = Wtxid::engine();
|
||||
let mut enc = sha256d::Hash::engine();
|
||||
self.consensus_encode(&mut enc).expect("engines don't error");
|
||||
Wtxid::from_engine(enc)
|
||||
Wtxid(sha256d::Hash::from_engine(enc))
|
||||
}
|
||||
|
||||
/// Returns the weight of this transaction, as defined by BIP-141.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
use core::{fmt, mem};
|
||||
|
||||
use hashes::{sha256, sha256d, Hash};
|
||||
use hashes::{sha256, sha256d, GeneralHash, Hash};
|
||||
use hex::error::{InvalidCharError, OddLengthStringError};
|
||||
use internals::write_err;
|
||||
use io::{BufRead, Cursor, Read, Write};
|
||||
|
@ -768,7 +768,7 @@ impl Decodable for Box<[u8]> {
|
|||
|
||||
/// Does a double-SHA256 on `data` and returns the first 4 bytes.
|
||||
fn sha2_checksum(data: &[u8]) -> [u8; 4] {
|
||||
let checksum = <sha256d::Hash as Hash>::hash(data);
|
||||
let checksum = <sha256d::Hash as GeneralHash>::hash(data);
|
||||
[checksum[0], checksum[1], checksum[2], checksum[3]]
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,9 @@ impl PublicKey {
|
|||
}
|
||||
|
||||
/// Returns bitcoin 160-bit hash of the public key.
|
||||
pub fn pubkey_hash(&self) -> PubkeyHash { self.with_serialized(PubkeyHash::hash) }
|
||||
pub fn pubkey_hash(&self) -> PubkeyHash {
|
||||
PubkeyHash(self.with_serialized(hash160::Hash::hash))
|
||||
}
|
||||
|
||||
/// Returns bitcoin 160-bit hash of the public key for witness program
|
||||
pub fn wpubkey_hash(&self) -> Result<WPubkeyHash, UncompressedPublicKeyError> {
|
||||
|
@ -275,7 +277,7 @@ pub struct CompressedPublicKey(pub secp256k1::PublicKey);
|
|||
|
||||
impl CompressedPublicKey {
|
||||
/// Returns bitcoin 160-bit hash of the public key.
|
||||
pub fn pubkey_hash(&self) -> PubkeyHash { PubkeyHash::hash(&self.to_bytes()) }
|
||||
pub fn pubkey_hash(&self) -> PubkeyHash { PubkeyHash(hash160::Hash::hash(&self.to_bytes())) }
|
||||
|
||||
/// Returns bitcoin 160-bit hash of the public key for witness program.
|
||||
pub fn wpubkey_hash(&self) -> WPubkeyHash {
|
||||
|
|
|
@ -55,6 +55,18 @@ hash_newtype! {
|
|||
impl_message_from_hash!(LegacySighash);
|
||||
impl_message_from_hash!(SegwitV0Sighash);
|
||||
|
||||
// Implement private engine/from_engine methods for use within this module;
|
||||
// but outside of it, it should not be possible to construct these hash
|
||||
// types from arbitrary data (except by casting via to/from_byte_array).
|
||||
impl LegacySighash {
|
||||
fn engine() -> sha256::HashEngine { sha256d::Hash::engine() }
|
||||
fn from_engine(e: sha256::HashEngine) -> Self { Self(sha256d::Hash::from_engine(e)) }
|
||||
}
|
||||
impl SegwitV0Sighash {
|
||||
fn engine() -> sha256::HashEngine { sha256d::Hash::engine() }
|
||||
fn from_engine(e: sha256::HashEngine) -> Self { Self(sha256d::Hash::from_engine(e)) }
|
||||
}
|
||||
|
||||
sha256t_hash_newtype! {
|
||||
pub struct TapSighashTag = hash_str("TapSighash");
|
||||
|
||||
|
@ -1351,10 +1363,10 @@ impl<E> EncodeSigningDataResult<E> {
|
|||
///
|
||||
/// ```rust
|
||||
/// # use bitcoin::consensus::deserialize;
|
||||
/// # use bitcoin::hashes::{Hash, hex::FromHex};
|
||||
/// # use bitcoin::hashes::{sha256d, Hash, hex::FromHex};
|
||||
/// # use bitcoin::sighash::{LegacySighash, SighashCache};
|
||||
/// # use bitcoin::Transaction;
|
||||
/// # let mut writer = LegacySighash::engine();
|
||||
/// # let mut writer = sha256d::Hash::engine();
|
||||
/// # let input_index = 0;
|
||||
/// # let script_pubkey = bitcoin::ScriptBuf::new();
|
||||
/// # let sighash_u32 = 0u32;
|
||||
|
@ -1366,6 +1378,8 @@ impl<E> EncodeSigningDataResult<E> {
|
|||
/// .is_sighash_single_bug()
|
||||
/// .expect("writer can't fail") {
|
||||
/// // use a hash value of "1", instead of computing the actual hash due to SIGHASH_SINGLE bug
|
||||
/// } else {
|
||||
/// // use the hash from `writer`
|
||||
/// }
|
||||
/// ```
|
||||
pub fn is_sighash_single_bug(self) -> Result<bool, E> {
|
||||
|
|
|
@ -18,65 +18,89 @@ mod tests {
|
|||
WScriptHash, XKeyIdentifier,
|
||||
};
|
||||
|
||||
#[rustfmt::skip]
|
||||
/// sha256d of the empty string
|
||||
const DUMMY32: [u8; 32] = [
|
||||
0x5d, 0xf6, 0xe0, 0xe2, 0x76, 0x13, 0x59, 0xd3,
|
||||
0x0a, 0x82, 0x75, 0x05, 0x8e, 0x29, 0x9f, 0xcc,
|
||||
0x03, 0x81, 0x53, 0x45, 0x45, 0xf5, 0x5c, 0xf4,
|
||||
0x3e, 0x41, 0x98, 0x3f, 0x5d, 0x4c, 0x94, 0x56,
|
||||
];
|
||||
/// hash160 of the empty string
|
||||
#[rustfmt::skip]
|
||||
const DUMMY20: [u8; 20] = [
|
||||
0xb4, 0x72, 0xa2, 0x66, 0xd0, 0xbd, 0x89, 0xc1, 0x37, 0x06,
|
||||
0xa4, 0x13, 0x2c, 0xcf, 0xb1, 0x6f, 0x7c, 0x3b, 0x9f, 0xcb,
|
||||
];
|
||||
|
||||
#[test]
|
||||
fn hash_display() {
|
||||
assert_eq!(
|
||||
Txid::hash(&[]).to_string(),
|
||||
Txid::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
Wtxid::hash(&[]).to_string(),
|
||||
Wtxid::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
BlockHash::hash(&[]).to_string(),
|
||||
BlockHash::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
LegacySighash::hash(&[]).to_string(),
|
||||
LegacySighash::from_byte_array(DUMMY32).to_string(),
|
||||
"5df6e0e2761359d30a8275058e299fcc0381534545f55cf43e41983f5d4c9456",
|
||||
);
|
||||
assert_eq!(
|
||||
SegwitV0Sighash::hash(&[]).to_string(),
|
||||
SegwitV0Sighash::from_byte_array(DUMMY32).to_string(),
|
||||
"5df6e0e2761359d30a8275058e299fcc0381534545f55cf43e41983f5d4c9456",
|
||||
);
|
||||
assert_eq!(
|
||||
TapSighash::hash(&[]).to_string(),
|
||||
"dabc11914abcd8072900042a2681e52f8dba99ce82e224f97b5fdb7cd4b9c803",
|
||||
);
|
||||
|
||||
assert_eq!(PubkeyHash::hash(&[]).to_string(), "b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",);
|
||||
assert_eq!(ScriptHash::hash(&[]).to_string(), "b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",);
|
||||
assert_eq!(WPubkeyHash::hash(&[]).to_string(), "b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",);
|
||||
assert_eq!(
|
||||
WScriptHash::hash(&[]).to_string(),
|
||||
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
TapSighash::from_byte_array(DUMMY32).to_string(),
|
||||
"5df6e0e2761359d30a8275058e299fcc0381534545f55cf43e41983f5d4c9456",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
TxMerkleNode::hash(&[]).to_string(),
|
||||
PubkeyHash::from_byte_array(DUMMY20).to_string(),
|
||||
"b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",
|
||||
);
|
||||
assert_eq!(
|
||||
ScriptHash::from_byte_array(DUMMY20).to_string(),
|
||||
"b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",
|
||||
);
|
||||
assert_eq!(
|
||||
WPubkeyHash::from_byte_array(DUMMY20).to_string(),
|
||||
"b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",
|
||||
);
|
||||
assert_eq!(
|
||||
WScriptHash::from_byte_array(DUMMY32).to_string(),
|
||||
"5df6e0e2761359d30a8275058e299fcc0381534545f55cf43e41983f5d4c9456",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
TxMerkleNode::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
WitnessMerkleNode::hash(&[]).to_string(),
|
||||
WitnessMerkleNode::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
WitnessCommitment::hash(&[]).to_string(),
|
||||
WitnessCommitment::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
XKeyIdentifier::hash(&[]).to_string(),
|
||||
XKeyIdentifier::from_byte_array(DUMMY20).to_string(),
|
||||
"b472a266d0bd89c13706a4132ccfb16f7c3b9fcb",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
FilterHash::hash(&[]).to_string(),
|
||||
FilterHash::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
assert_eq!(
|
||||
FilterHeader::hash(&[]).to_string(),
|
||||
FilterHeader::from_byte_array(DUMMY32).to_string(),
|
||||
"56944c5d3f98413ef45cf54545538103cc9f298e0575820ad3591376e2e0f65d",
|
||||
);
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ macro_rules! psbt_insert_hash_pair {
|
|||
match $slf.$map.entry(key_val) {
|
||||
btree_map::Entry::Vacant(empty_key) => {
|
||||
let val: Vec<u8> = Deserialize::deserialize(&$raw_value)?;
|
||||
if <$hash as hashes::Hash>::hash(&val) != key_val {
|
||||
if <$hash as hashes::GeneralHash>::hash(&val) != key_val {
|
||||
return Err(psbt::Error::InvalidPreimageHashPair {
|
||||
preimage: val.into_boxed_slice(),
|
||||
hash: Box::from(key_val.borrow()),
|
||||
|
|
|
@ -2251,7 +2251,7 @@ mod tests {
|
|||
fn sign_psbt() {
|
||||
use crate::bip32::{DerivationPath, Fingerprint};
|
||||
use crate::witness_version::WitnessVersion;
|
||||
use crate::{WPubkeyHash, WitnessProgram};
|
||||
use crate::WitnessProgram;
|
||||
|
||||
let unsigned_tx = Transaction {
|
||||
version: transaction::Version::TWO,
|
||||
|
@ -2271,7 +2271,7 @@ mod tests {
|
|||
// First input we can spend. See comment above on key_map for why we use defaults here.
|
||||
let txout_wpkh = TxOut {
|
||||
value: Amount::from_sat(10),
|
||||
script_pubkey: ScriptBuf::new_p2wpkh(WPubkeyHash::hash(&pk.to_bytes())),
|
||||
script_pubkey: ScriptBuf::new_p2wpkh(pk.wpubkey_hash().unwrap()),
|
||||
};
|
||||
psbt.inputs[0].witness_utxo = Some(txout_wpkh);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ extern crate bitcoin_hashes;
|
|||
#[cfg(feature = "alloc")] use alloc_cortex_m::CortexMHeap;
|
||||
#[cfg(feature = "alloc")] use alloc::string::ToString;
|
||||
|
||||
use bitcoin_hashes::{sha256, Hash, HashEngine};
|
||||
use bitcoin_hashes::{sha256, HashEngine};
|
||||
use bitcoin_io::Write;
|
||||
use core::str::FromStr;
|
||||
use cortex_m_rt::entry;
|
||||
|
@ -33,11 +33,11 @@ fn main() -> ! {
|
|||
#[cfg(feature = "alloc")]
|
||||
unsafe { ALLOCATOR.init(cortex_m_rt::heap_start() as usize, HEAP_SIZE) }
|
||||
|
||||
let mut engine = TestType::engine();
|
||||
let mut engine = sha256::Hash::engine();
|
||||
engine.write_all(b"abc").unwrap();
|
||||
check_result(engine);
|
||||
|
||||
let mut engine = TestType::engine();
|
||||
let mut engine = sha256::Hash::engine();
|
||||
engine.input(b"abc");
|
||||
check_result(engine);
|
||||
|
||||
|
@ -46,7 +46,7 @@ fn main() -> ! {
|
|||
}
|
||||
|
||||
fn check_result(engine: sha256::HashEngine) {
|
||||
let hash = TestType::from_engine(engine);
|
||||
let hash = TestType(sha256::Hash::from_engine(engine));
|
||||
|
||||
let hash_check =
|
||||
TestType::from_str("ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad")
|
||||
|
|
|
@ -34,7 +34,8 @@ mod tests {
|
|||
#[test]
|
||||
#[cfg(feature = "alloc")]
|
||||
fn test() {
|
||||
use crate::{hash160, Hash, HashEngine};
|
||||
use super::Hash;
|
||||
use crate::{hash160, HashEngine};
|
||||
|
||||
#[derive(Clone)]
|
||||
#[cfg(feature = "alloc")]
|
||||
|
@ -111,7 +112,7 @@ mod tests {
|
|||
mod benches {
|
||||
use test::Bencher;
|
||||
|
||||
use crate::{hash160, Hash, HashEngine};
|
||||
use crate::{hash160, GeneralHash as _, Hash as _, HashEngine};
|
||||
|
||||
#[bench]
|
||||
pub fn hash160_10(bh: &mut Bencher) {
|
||||
|
|
|
@ -11,7 +11,7 @@ use alloc::vec;
|
|||
use alloc::vec::Vec;
|
||||
use core::fmt;
|
||||
|
||||
use crate::{Hash, HashEngine, Hmac, HmacEngine};
|
||||
use crate::{GeneralHash, HashEngine, Hmac, HmacEngine};
|
||||
|
||||
/// Output keying material max length multiple.
|
||||
const MAX_OUTPUT_BLOCKS: usize = 255;
|
||||
|
@ -32,12 +32,12 @@ impl fmt::Display for MaxLengthError {
|
|||
impl std::error::Error for MaxLengthError {}
|
||||
|
||||
/// HMAC-based Extract-and-Expand Key Derivation Function (HKDF).
|
||||
pub struct Hkdf<T: Hash> {
|
||||
pub struct Hkdf<T: GeneralHash> {
|
||||
/// Pseudorandom key based on the extract step.
|
||||
prk: Hmac<T>,
|
||||
}
|
||||
|
||||
impl<T: Hash> Hkdf<T> {
|
||||
impl<T: GeneralHash> Hkdf<T> {
|
||||
/// Initialize a HKDF by performing the extract step.
|
||||
pub fn new(salt: &[u8], ikm: &[u8]) -> Self {
|
||||
let mut hmac_engine: HmacEngine<T> = HmacEngine::new(salt);
|
||||
|
|
|
@ -12,15 +12,15 @@ use core::{convert, fmt, str};
|
|||
#[cfg(feature = "serde")]
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
||||
use crate::{FromSliceError, Hash, HashEngine};
|
||||
use crate::{FromSliceError, GeneralHash, Hash, HashEngine};
|
||||
|
||||
/// A hash computed from a RFC 2104 HMAC. Parameterized by the underlying hash function.
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[repr(transparent)]
|
||||
pub struct Hmac<T: Hash>(T);
|
||||
pub struct Hmac<T: GeneralHash>(T);
|
||||
|
||||
#[cfg(feature = "schemars")]
|
||||
impl<T: Hash + schemars::JsonSchema> schemars::JsonSchema for Hmac<T> {
|
||||
impl<T: GeneralHash + schemars::JsonSchema> schemars::JsonSchema for Hmac<T> {
|
||||
fn is_referenceable() -> bool { <T as schemars::JsonSchema>::is_referenceable() }
|
||||
|
||||
fn schema_name() -> std::string::String { <T as schemars::JsonSchema>::schema_name() }
|
||||
|
@ -30,13 +30,13 @@ impl<T: Hash + schemars::JsonSchema> schemars::JsonSchema for Hmac<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Hash + str::FromStr> str::FromStr for Hmac<T> {
|
||||
impl<T: GeneralHash + str::FromStr> str::FromStr for Hmac<T> {
|
||||
type Err = <T as str::FromStr>::Err;
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> { Ok(Hmac(str::FromStr::from_str(s)?)) }
|
||||
}
|
||||
|
||||
/// Pair of underlying hash midstates which represent the current state of an `HmacEngine`.
|
||||
pub struct HmacMidState<T: Hash> {
|
||||
pub struct HmacMidState<T: GeneralHash> {
|
||||
/// Midstate of the inner hash engine
|
||||
pub inner: <T::Engine as HashEngine>::MidState,
|
||||
/// Midstate of the outer hash engine
|
||||
|
@ -45,16 +45,16 @@ pub struct HmacMidState<T: Hash> {
|
|||
|
||||
/// Pair of underlying hash engines, used for the inner and outer hash of HMAC.
|
||||
#[derive(Clone)]
|
||||
pub struct HmacEngine<T: Hash> {
|
||||
pub struct HmacEngine<T: GeneralHash> {
|
||||
iengine: T::Engine,
|
||||
oengine: T::Engine,
|
||||
}
|
||||
|
||||
impl<T: Hash> Default for HmacEngine<T> {
|
||||
impl<T: GeneralHash> Default for HmacEngine<T> {
|
||||
fn default() -> Self { HmacEngine::new(&[]) }
|
||||
}
|
||||
|
||||
impl<T: Hash> HmacEngine<T> {
|
||||
impl<T: GeneralHash> HmacEngine<T> {
|
||||
/// Constructs a new keyed HMAC from `key`.
|
||||
///
|
||||
/// We only support underlying hashes whose block sizes are ≤ 128 bytes.
|
||||
|
@ -67,10 +67,13 @@ impl<T: Hash> HmacEngine<T> {
|
|||
|
||||
let mut ipad = [0x36u8; 128];
|
||||
let mut opad = [0x5cu8; 128];
|
||||
let mut ret = HmacEngine { iengine: <T as Hash>::engine(), oengine: <T as Hash>::engine() };
|
||||
let mut ret = HmacEngine {
|
||||
iengine: <T as GeneralHash>::engine(),
|
||||
oengine: <T as GeneralHash>::engine(),
|
||||
};
|
||||
|
||||
if key.len() > T::Engine::BLOCK_SIZE {
|
||||
let hash = <T as Hash>::hash(key);
|
||||
let hash = <T as GeneralHash>::hash(key);
|
||||
for (b_i, b_h) in ipad.iter_mut().zip(hash.as_ref()) {
|
||||
*b_i ^= *b_h;
|
||||
}
|
||||
|
@ -97,7 +100,7 @@ impl<T: Hash> HmacEngine<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Hash> HashEngine for HmacEngine<T> {
|
||||
impl<T: GeneralHash> HashEngine for HmacEngine<T> {
|
||||
type MidState = HmacMidState<T>;
|
||||
|
||||
fn midstate(&self) -> Self::MidState {
|
||||
|
@ -111,25 +114,24 @@ impl<T: Hash> HashEngine for HmacEngine<T> {
|
|||
fn input(&mut self, buf: &[u8]) { self.iengine.input(buf) }
|
||||
}
|
||||
|
||||
impl<T: Hash> fmt::Debug for Hmac<T> {
|
||||
impl<T: GeneralHash> fmt::Debug for Hmac<T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(&self.0, f) }
|
||||
}
|
||||
|
||||
impl<T: Hash> fmt::Display for Hmac<T> {
|
||||
impl<T: GeneralHash> fmt::Display for Hmac<T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::Display::fmt(&self.0, f) }
|
||||
}
|
||||
|
||||
impl<T: Hash> fmt::LowerHex for Hmac<T> {
|
||||
impl<T: GeneralHash> fmt::LowerHex for Hmac<T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt::LowerHex::fmt(&self.0, f) }
|
||||
}
|
||||
|
||||
impl<T: Hash> convert::AsRef<[u8]> for Hmac<T> {
|
||||
impl<T: GeneralHash> convert::AsRef<[u8]> for Hmac<T> {
|
||||
fn as_ref(&self) -> &[u8] { self.0.as_ref() }
|
||||
}
|
||||
|
||||
impl<T: Hash> Hash for Hmac<T> {
|
||||
impl<T: GeneralHash> GeneralHash for Hmac<T> {
|
||||
type Engine = HmacEngine<T>;
|
||||
type Bytes = T::Bytes;
|
||||
|
||||
fn from_engine(mut e: HmacEngine<T>) -> Hmac<T> {
|
||||
let ihash = T::from_engine(e.iengine);
|
||||
|
@ -137,7 +139,10 @@ impl<T: Hash> Hash for Hmac<T> {
|
|||
let ohash = T::from_engine(e.oengine);
|
||||
Hmac(ohash)
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: GeneralHash> Hash for Hmac<T> {
|
||||
type Bytes = T::Bytes;
|
||||
const LEN: usize = T::LEN;
|
||||
|
||||
fn from_slice(sl: &[u8]) -> Result<Hmac<T>, FromSliceError> { T::from_slice(sl).map(Hmac) }
|
||||
|
@ -150,14 +155,14 @@ impl<T: Hash> Hash for Hmac<T> {
|
|||
}
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
impl<T: Hash + Serialize> Serialize for Hmac<T> {
|
||||
impl<T: GeneralHash + Serialize> Serialize for Hmac<T> {
|
||||
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error> {
|
||||
Serialize::serialize(&self.0, s)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
impl<'de, T: Hash + Deserialize<'de>> Deserialize<'de> for Hmac<T> {
|
||||
impl<'de, T: GeneralHash + Deserialize<'de>> Deserialize<'de> for Hmac<T> {
|
||||
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Hmac<T>, D::Error> {
|
||||
let bytes = Deserialize::deserialize(d)?;
|
||||
Ok(Hmac(bytes))
|
||||
|
@ -169,7 +174,7 @@ mod tests {
|
|||
#[test]
|
||||
#[cfg(feature = "alloc")]
|
||||
fn test() {
|
||||
use crate::{sha256, Hash, HashEngine, Hmac, HmacEngine};
|
||||
use crate::{sha256, GeneralHash as _, Hash as _, HashEngine, Hmac, HmacEngine};
|
||||
|
||||
#[derive(Clone)]
|
||||
struct Test {
|
||||
|
@ -297,7 +302,7 @@ mod tests {
|
|||
fn hmac_sha512_serde() {
|
||||
use serde_test::{assert_tokens, Configure, Token};
|
||||
|
||||
use crate::{sha512, Hash, Hmac};
|
||||
use crate::{sha512, Hash as _, Hmac};
|
||||
|
||||
#[rustfmt::skip]
|
||||
static HASH_BYTES: [u8; 64] = [
|
||||
|
@ -327,7 +332,7 @@ mod tests {
|
|||
mod benches {
|
||||
use test::Bencher;
|
||||
|
||||
use crate::{sha256, Hash, HashEngine, Hmac};
|
||||
use crate::{sha256, GeneralHash as _, HashEngine, Hmac};
|
||||
|
||||
#[bench]
|
||||
pub fn hmac_sha256_10(bh: &mut Bencher) {
|
||||
|
|
|
@ -60,14 +60,16 @@ impl_write!(
|
|||
Ok(buf.len())
|
||||
},
|
||||
|_us| { Ok(()) },
|
||||
T: crate::Hash
|
||||
T: crate::GeneralHash
|
||||
);
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use bitcoin_io::Write;
|
||||
|
||||
use crate::{hash160, hmac, ripemd160, sha1, sha256, sha256d, sha512, siphash24, Hash};
|
||||
use crate::{
|
||||
hash160, hmac, ripemd160, sha1, sha256, sha256d, sha512, siphash24, GeneralHash as _,
|
||||
};
|
||||
|
||||
macro_rules! write_test {
|
||||
($mod:ident, $exp_empty:expr, $exp_256:expr, $exp_64k:expr,) => {
|
||||
|
|
|
@ -99,16 +99,19 @@ macro_rules! hash_trait_impls {
|
|||
}
|
||||
}
|
||||
|
||||
impl<$($gen: $gent),*> crate::Hash for Hash<$($gen),*> {
|
||||
impl<$($gen: $gent),*> crate::GeneralHash for Hash<$($gen),*> {
|
||||
type Engine = HashEngine;
|
||||
type Bytes = [u8; $bits / 8];
|
||||
|
||||
const LEN: usize = $bits / 8;
|
||||
const DISPLAY_BACKWARD: bool = $reverse;
|
||||
|
||||
fn engine() -> HashEngine { Self::engine() }
|
||||
|
||||
fn from_engine(e: HashEngine) -> Hash<$($gen),*> { Self::from_engine(e) }
|
||||
}
|
||||
|
||||
impl<$($gen: $gent),*> crate::Hash for Hash<$($gen),*> {
|
||||
type Bytes = [u8; $bits / 8];
|
||||
|
||||
const LEN: usize = $bits / 8;
|
||||
const DISPLAY_BACKWARD: bool = $reverse;
|
||||
|
||||
fn from_slice(sl: &[u8]) -> $crate::_export::_core::result::Result<Hash<$($gen),*>, FromSliceError> {
|
||||
Self::from_slice(sl)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
//! Hashing a single byte slice or a string:
|
||||
//!
|
||||
//! ```rust
|
||||
//! use bitcoin_hashes::{sha256, Hash as _};
|
||||
//! use bitcoin_hashes::{sha256, GeneralHash as _};
|
||||
//!
|
||||
//! let bytes = [0u8; 5];
|
||||
//! let hash_of_bytes = sha256::Hash::hash(&bytes);
|
||||
|
@ -23,7 +23,7 @@
|
|||
//! Hashing content from a reader:
|
||||
//!
|
||||
//! ```rust
|
||||
//! use bitcoin_hashes::{sha256, Hash as _};
|
||||
//! use bitcoin_hashes::{sha256, GeneralHash as _};
|
||||
//!
|
||||
//! #[cfg(std)]
|
||||
//! # fn main() -> std::io::Result<()> {
|
||||
|
@ -147,40 +147,19 @@ pub trait HashEngine: Clone + Default {
|
|||
fn n_bytes_hashed(&self) -> usize;
|
||||
}
|
||||
|
||||
/// Trait which applies to hashes of all types.
|
||||
pub trait Hash:
|
||||
Copy
|
||||
+ Clone
|
||||
+ PartialEq
|
||||
+ Eq
|
||||
+ PartialOrd
|
||||
+ Ord
|
||||
+ hash::Hash
|
||||
+ fmt::Debug
|
||||
+ fmt::Display
|
||||
+ fmt::LowerHex
|
||||
+ convert::AsRef<[u8]>
|
||||
{
|
||||
/// Trait describing hash digests which can be constructed by hashing arbitrary data.
|
||||
pub trait GeneralHash: Hash {
|
||||
/// A hashing engine which bytes can be serialized into. It is expected
|
||||
/// to implement the `io::Write` trait, and to never return errors under
|
||||
/// any conditions.
|
||||
type Engine: HashEngine;
|
||||
|
||||
/// The byte array that represents the hash internally.
|
||||
type Bytes: hex::FromHex + Copy;
|
||||
|
||||
/// Constructs a new engine.
|
||||
fn engine() -> Self::Engine { Self::Engine::default() }
|
||||
|
||||
/// Produces a hash from the current state of a given engine.
|
||||
fn from_engine(e: Self::Engine) -> Self;
|
||||
|
||||
/// Length of the hash, in bytes.
|
||||
const LEN: usize;
|
||||
|
||||
/// Copies a byte slice into a hash object.
|
||||
fn from_slice(sl: &[u8]) -> Result<Self, FromSliceError>;
|
||||
|
||||
/// Hashes some bytes.
|
||||
fn hash(data: &[u8]) -> Self {
|
||||
let mut engine = Self::engine();
|
||||
|
@ -200,6 +179,30 @@ pub trait Hash:
|
|||
}
|
||||
Self::from_engine(engine)
|
||||
}
|
||||
}
|
||||
|
||||
/// Trait which applies to hashes of all types.
|
||||
pub trait Hash:
|
||||
Copy
|
||||
+ Clone
|
||||
+ PartialEq
|
||||
+ Eq
|
||||
+ PartialOrd
|
||||
+ Ord
|
||||
+ hash::Hash
|
||||
+ fmt::Debug
|
||||
+ fmt::Display
|
||||
+ fmt::LowerHex
|
||||
+ convert::AsRef<[u8]>
|
||||
{
|
||||
/// The byte array that represents the hash internally.
|
||||
type Bytes: hex::FromHex + Copy;
|
||||
|
||||
/// Length of the hash, in bytes.
|
||||
const LEN: usize;
|
||||
|
||||
/// Copies a byte slice into a hash object.
|
||||
fn from_slice(sl: &[u8]) -> Result<Self, FromSliceError>;
|
||||
|
||||
/// Flag indicating whether user-visible serializations of this hash
|
||||
/// should be backward. For some reason Satoshi decided this should be
|
||||
|
@ -252,9 +255,17 @@ mod tests {
|
|||
struct TestNewtype2(sha256d::Hash);
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
const DUMMY: TestNewtype = TestNewtype::from_byte_array([
|
||||
0x12, 0x23, 0x34, 0x45, 0x56, 0x67, 0x78, 0x89,
|
||||
0x13, 0x24, 0x35, 0x46, 0x57, 0x68, 0x79, 0x8a,
|
||||
0x14, 0x25, 0x36, 0x47, 0x58, 0x69, 0x7a, 0x8b,
|
||||
0x15, 0x26, 0x37, 0x48, 0x59, 0x6a, 0x7b, 0x8c,
|
||||
]);
|
||||
|
||||
#[test]
|
||||
fn convert_newtypes() {
|
||||
let h1 = TestNewtype::hash(&[]);
|
||||
let h1 = DUMMY;
|
||||
let h2: TestNewtype2 = h1.to_raw_hash().into();
|
||||
assert_eq!(&h1[..], &h2[..]);
|
||||
|
||||
|
@ -265,7 +276,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn newtype_fmt_roundtrip() {
|
||||
let orig = TestNewtype::hash(&[]);
|
||||
let orig = DUMMY;
|
||||
let hex = format!("{}", orig);
|
||||
let rinsed = hex.parse::<TestNewtype>().expect("failed to parse hex");
|
||||
assert_eq!(rinsed, orig)
|
||||
|
|
|
@ -101,7 +101,7 @@ impl crate::HashEngine for HashEngine {
|
|||
impl Hash {
|
||||
/// Iterate the sha256 algorithm to turn a sha256 hash into a sha256d hash
|
||||
pub fn hash_again(&self) -> sha256d::Hash {
|
||||
crate::Hash::from_byte_array(<Self as crate::Hash>::hash(&self.0).0)
|
||||
crate::Hash::from_byte_array(<Self as crate::GeneralHash>::hash(&self.0).0)
|
||||
}
|
||||
|
||||
/// Computes hash from `bytes` in `const` context.
|
||||
|
|
|
@ -207,6 +207,58 @@ macro_rules! sha256t_hash_newtype {
|
|||
$(#[$($hash_attr)*])*
|
||||
$hash_vis struct $hash_name($(#[$($field_attr)*])* $crate::sha256t::Hash<$tag>);
|
||||
}
|
||||
|
||||
impl $hash_name {
|
||||
/// Constructs a new engine.
|
||||
#[allow(unused)] // the user of macro may not need this
|
||||
pub fn engine() -> <$hash_name as $crate::GeneralHash>::Engine {
|
||||
<$hash_name as $crate::GeneralHash>::engine()
|
||||
}
|
||||
|
||||
/// Produces a hash from the current state of a given engine.
|
||||
#[allow(unused)] // the user of macro may not need this
|
||||
pub fn from_engine(e: <$hash_name as $crate::GeneralHash>::Engine) -> Self {
|
||||
<$hash_name as $crate::GeneralHash>::from_engine(e)
|
||||
}
|
||||
|
||||
/// Hashes some bytes.
|
||||
#[allow(unused)] // the user of macro may not need this
|
||||
pub fn hash(data: &[u8]) -> Self {
|
||||
use $crate::HashEngine;
|
||||
|
||||
let mut engine = Self::engine();
|
||||
engine.input(data);
|
||||
Self::from_engine(engine)
|
||||
}
|
||||
|
||||
/// Hashes all the byte slices retrieved from the iterator together.
|
||||
#[allow(unused)] // the user of macro may not need this
|
||||
pub fn hash_byte_chunks<B, I>(byte_slices: I) -> Self
|
||||
where
|
||||
B: AsRef<[u8]>,
|
||||
I: IntoIterator<Item = B>,
|
||||
{
|
||||
use $crate::HashEngine;
|
||||
|
||||
let mut engine = Self::engine();
|
||||
for slice in byte_slices {
|
||||
engine.input(slice.as_ref());
|
||||
}
|
||||
Self::from_engine(engine)
|
||||
}
|
||||
}
|
||||
|
||||
impl $crate::GeneralHash for $hash_name {
|
||||
type Engine = <$crate::sha256t::Hash<$tag> as $crate::GeneralHash>::Engine;
|
||||
|
||||
fn engine() -> Self::Engine {
|
||||
<$crate::sha256t::Hash<$tag> as $crate::GeneralHash>::engine()
|
||||
}
|
||||
|
||||
fn from_engine(e: Self::Engine) -> $hash_name {
|
||||
Self::from(<$crate::sha256t::Hash<$tag> as $crate::GeneralHash>::from_engine(e))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -209,46 +209,11 @@ macro_rules! hash_newtype {
|
|||
&self.0
|
||||
}
|
||||
|
||||
/// Constructs a new engine.
|
||||
pub fn engine() -> <$hash as $crate::Hash>::Engine {
|
||||
<$hash as $crate::Hash>::engine()
|
||||
}
|
||||
|
||||
/// Produces a hash from the current state of a given engine.
|
||||
pub fn from_engine(e: <$hash as $crate::Hash>::Engine) -> Self {
|
||||
Self::from(<$hash as $crate::Hash>::from_engine(e))
|
||||
}
|
||||
|
||||
/// Copies a byte slice into a hash object.
|
||||
pub fn from_slice(sl: &[u8]) -> $crate::_export::_core::result::Result<$newtype, $crate::FromSliceError> {
|
||||
Ok($newtype(<$hash as $crate::Hash>::from_slice(sl)?))
|
||||
}
|
||||
|
||||
/// Hashes some bytes.
|
||||
#[allow(unused)] // the user of macro may not need this
|
||||
pub fn hash(data: &[u8]) -> Self {
|
||||
use $crate::HashEngine;
|
||||
|
||||
let mut engine = Self::engine();
|
||||
engine.input(data);
|
||||
Self::from_engine(engine)
|
||||
}
|
||||
|
||||
/// Hashes all the byte slices retrieved from the iterator together.
|
||||
pub fn hash_byte_chunks<B, I>(byte_slices: I) -> Self
|
||||
where
|
||||
B: AsRef<[u8]>,
|
||||
I: IntoIterator<Item = B>,
|
||||
{
|
||||
use $crate::HashEngine;
|
||||
|
||||
let mut engine = Self::engine();
|
||||
for slice in byte_slices {
|
||||
engine.input(slice.as_ref());
|
||||
}
|
||||
Self::from_engine(engine)
|
||||
}
|
||||
|
||||
/// Returns the underlying byte array.
|
||||
pub const fn to_byte_array(self) -> <$hash as $crate::Hash>::Bytes {
|
||||
self.0.to_byte_array()
|
||||
|
@ -279,16 +244,12 @@ macro_rules! hash_newtype {
|
|||
}
|
||||
|
||||
impl $crate::Hash for $newtype {
|
||||
type Engine = <$hash as $crate::Hash>::Engine;
|
||||
type Bytes = <$hash as $crate::Hash>::Bytes;
|
||||
|
||||
const LEN: usize = <$hash as $crate::Hash>::LEN;
|
||||
const DISPLAY_BACKWARD: bool = $crate::hash_newtype_get_direction!($hash, $(#[$($type_attrs)*])*);
|
||||
|
||||
fn engine() -> <$hash as $crate::Hash>::Engine { Self::engine() }
|
||||
|
||||
fn from_engine(e: <$hash as $crate::Hash>::Engine) -> $newtype { Self::from_engine(e) }
|
||||
|
||||
#[inline]
|
||||
fn from_slice(sl: &[u8]) -> $crate::_export::_core::result::Result<$newtype, $crate::FromSliceError> {
|
||||
Self::from_slice(sl)
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use bitcoin_hashes::{
|
||||
hash160, ripemd160, sha1, sha256, sha256d, sha256t, sha384, sha512, sha512_256, siphash24,
|
||||
Hash as _, HashEngine as _, Hmac, HmacEngine,
|
||||
GeneralHash as _, HashEngine as _, Hmac, HmacEngine,
|
||||
};
|
||||
|
||||
const DATA: &str = "arbitrary data to hash as a regression test";
|
||||
|
|
Loading…
Reference in New Issue