mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
parent
2887359883
commit
3041e89cd2
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -81,9 +81,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "bitcoin"
|
||||
version = "0.27.0"
|
||||
version = "0.27.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8a427b27dae305157520d86673f2393b3eb08d880609abfcffc6e3c3c820e764"
|
||||
checksum = "9a41df6ad9642c5c15ae312dd3d074de38fd3eb7cc87ad4ce10f90292a83fe4d"
|
||||
dependencies = [
|
||||
"bech32",
|
||||
"bitcoin_hashes",
|
||||
|
@ -21,7 +21,7 @@ spec = "internal/config_specification.toml"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bitcoin = { version = "0.27", features = ["use-serde", "rand"] }
|
||||
bitcoin = { version = "0.27.1", features = ["use-serde", "rand"] }
|
||||
configure_me = "0.4"
|
||||
crossbeam-channel = "0.5"
|
||||
dirs-next = "2.0"
|
||||
|
@ -47,7 +47,7 @@ impl Connection {
|
||||
}
|
||||
|
||||
fn send(&mut self, msg: NetworkMessage) -> Result<()> {
|
||||
trace!("send: {}", msg.cmd());
|
||||
trace!("send: {:?}", msg);
|
||||
let raw_msg = message::RawNetworkMessage {
|
||||
magic: self.network.magic(),
|
||||
payload: msg,
|
||||
@ -62,7 +62,7 @@ impl Connection {
|
||||
let raw_msg: message::RawNetworkMessage =
|
||||
self.reader.read_next().context("p2p failed to recv")?;
|
||||
|
||||
trace!("recv: {}", raw_msg.cmd());
|
||||
trace!("recv: {:?}", raw_msg.payload);
|
||||
match raw_msg.payload {
|
||||
NetworkMessage::Version(version) => {
|
||||
debug!("peer version: {:?}", version);
|
||||
|
Loading…
Reference in New Issue
Block a user