mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Bump bitcoin
to 0.32.4
This commit is contained in:
parent
da934fb539
commit
bd6f93a1e3
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -79,9 +79,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "bitcoin"
|
||||
version = "0.32.3"
|
||||
version = "0.32.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0032b0e8ead7074cda7fc4f034409607e3f03a6f71d66ade8a307f79b4d99e73"
|
||||
checksum = "788902099d47c8682efe6a7afb01c8d58b9794ba66c06affd81c3d6b560743eb"
|
||||
dependencies = [
|
||||
"base58ck",
|
||||
"bech32",
|
||||
|
@ -22,7 +22,7 @@ spec = "internal/config_specification.toml"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bitcoin = { version = "0.32.3", features = ["serde", "rand-std"] }
|
||||
bitcoin = { version = "0.32.4", features = ["serde", "rand-std"] }
|
||||
bitcoin_slices = { version = "0.9", features = ["bitcoin", "sha2"] }
|
||||
bitcoincore-rpc = { version = "0.19.0" }
|
||||
configure_me = "0.4"
|
||||
|
@ -390,9 +390,7 @@ enum ParsedNetworkMessage {
|
||||
}
|
||||
|
||||
impl Decodable for RawNetworkMessage {
|
||||
fn consensus_decode<D: bitcoin::io::BufRead + ?Sized>(
|
||||
d: &mut D,
|
||||
) -> Result<Self, encode::Error> {
|
||||
fn consensus_decode<D: bitcoin::io::Read + ?Sized>(d: &mut D) -> Result<Self, encode::Error> {
|
||||
let magic = Decodable::consensus_decode(d)?;
|
||||
let cmd = Decodable::consensus_decode(d)?;
|
||||
|
||||
|
@ -26,7 +26,7 @@ macro_rules! impl_consensus_encoding {
|
||||
|
||||
impl Decodable for $thing {
|
||||
#[inline]
|
||||
fn consensus_decode<D: io::BufRead + ?Sized>(
|
||||
fn consensus_decode<D: io::Read + ?Sized>(
|
||||
d: &mut D,
|
||||
) -> Result<$thing, bitcoin::consensus::encode::Error> {
|
||||
Ok($thing {
|
||||
|
Loading…
Reference in New Issue
Block a user