Add `const fn Magic::from_bytes` patch for API files
To reflect changes from b7458256af
This commit is contained in:
parent
b7458256af
commit
d2be969a51
|
@ -6368,6 +6368,7 @@ pub const fn bitcoin::blockdata::witness::Witness::new() -> Self
|
|||
pub const fn bitcoin::consensus::encode::VarInt::size(&self) -> usize
|
||||
pub const fn bitcoin::consensus::params::Params::new(network: bitcoin::network::Network) -> Self
|
||||
pub const fn bitcoin::network::Network::params(self) -> &'static bitcoin::consensus::params::Params
|
||||
pub const fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub const fn bitcoin::transaction::predict_weight_from_slices(inputs: &[bitcoin::blockdata::transaction::InputWeightPrediction], output_script_lens: &[usize]) -> bitcoin_units::weight::Weight
|
||||
pub enum bitcoin::EcdsaSighashType
|
||||
pub enum bitcoin::NetworkKind
|
||||
|
@ -8840,7 +8841,6 @@ pub fn bitcoin::p2p::Magic::consensus_encode<W: bitcoin_io::Write + core::marker
|
|||
pub fn bitcoin::p2p::Magic::eq(&self, other: &bitcoin::p2p::Magic) -> bool
|
||||
pub fn bitcoin::p2p::Magic::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
|
||||
pub fn bitcoin::p2p::Magic::from(network: bitcoin::network::Network) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_params(params: impl core::convert::AsRef<bitcoin::consensus::params::Params>) -> Self
|
||||
pub fn bitcoin::p2p::Magic::from_str(s: &str) -> core::result::Result<bitcoin::p2p::Magic, Self::Err>
|
||||
pub fn bitcoin::p2p::Magic::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
|
|
|
@ -6067,6 +6067,7 @@ pub const fn bitcoin::blockdata::witness::Witness::new() -> Self
|
|||
pub const fn bitcoin::consensus::encode::VarInt::size(&self) -> usize
|
||||
pub const fn bitcoin::consensus::params::Params::new(network: bitcoin::network::Network) -> Self
|
||||
pub const fn bitcoin::network::Network::params(self) -> &'static bitcoin::consensus::params::Params
|
||||
pub const fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub const fn bitcoin::transaction::predict_weight_from_slices(inputs: &[bitcoin::blockdata::transaction::InputWeightPrediction], output_script_lens: &[usize]) -> bitcoin_units::weight::Weight
|
||||
pub enum bitcoin::EcdsaSighashType
|
||||
pub enum bitcoin::NetworkKind
|
||||
|
@ -8374,7 +8375,6 @@ pub fn bitcoin::p2p::Magic::consensus_encode<W: bitcoin_io::Write + core::marker
|
|||
pub fn bitcoin::p2p::Magic::eq(&self, other: &bitcoin::p2p::Magic) -> bool
|
||||
pub fn bitcoin::p2p::Magic::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
|
||||
pub fn bitcoin::p2p::Magic::from(network: bitcoin::network::Network) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_params(params: impl core::convert::AsRef<bitcoin::consensus::params::Params>) -> Self
|
||||
pub fn bitcoin::p2p::Magic::from_str(s: &str) -> core::result::Result<bitcoin::p2p::Magic, Self::Err>
|
||||
pub fn bitcoin::p2p::Magic::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
|
|
|
@ -5449,6 +5449,7 @@ pub const fn bitcoin::blockdata::witness::Witness::new() -> Self
|
|||
pub const fn bitcoin::consensus::encode::VarInt::size(&self) -> usize
|
||||
pub const fn bitcoin::consensus::params::Params::new(network: bitcoin::network::Network) -> Self
|
||||
pub const fn bitcoin::network::Network::params(self) -> &'static bitcoin::consensus::params::Params
|
||||
pub const fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub const fn bitcoin::transaction::predict_weight_from_slices(inputs: &[bitcoin::blockdata::transaction::InputWeightPrediction], output_script_lens: &[usize]) -> bitcoin_units::weight::Weight
|
||||
pub enum bitcoin::EcdsaSighashType
|
||||
pub enum bitcoin::NetworkKind
|
||||
|
@ -7707,7 +7708,6 @@ pub fn bitcoin::p2p::Magic::consensus_encode<W: bitcoin_io::Write + core::marker
|
|||
pub fn bitcoin::p2p::Magic::eq(&self, other: &bitcoin::p2p::Magic) -> bool
|
||||
pub fn bitcoin::p2p::Magic::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::result::Result<(), core::fmt::Error>
|
||||
pub fn bitcoin::p2p::Magic::from(network: bitcoin::network::Network) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_bytes(bytes: [u8; 4]) -> bitcoin::p2p::Magic
|
||||
pub fn bitcoin::p2p::Magic::from_params(params: impl core::convert::AsRef<bitcoin::consensus::params::Params>) -> Self
|
||||
pub fn bitcoin::p2p::Magic::from_str(s: &str) -> core::result::Result<bitcoin::p2p::Magic, Self::Err>
|
||||
pub fn bitcoin::p2p::Magic::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
|
||||
|
|
Loading…
Reference in New Issue