From 0f5efbd3b1ab223be8274acda2bfabd961388154 Mon Sep 17 00:00:00 2001 From: rustaceanrob Date: Mon, 22 Sep 2025 10:51:07 +0100 Subject: [PATCH 1/2] Send `Progress` after header sync --- src/node.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.rs b/src/node.rs index 3411f5d9..de73d684 100644 --- a/src/node.rs +++ b/src/node.rs @@ -432,6 +432,7 @@ impl Node { let chain = &mut self.chain; match chain.sync_chain(headers) { Ok(reorgs) => { + self.chain.send_chain_update().await; if !reorgs.is_empty() { self.block_queue.remove(&reorgs); } From 7bdc682ca0b474779a6f2a5b42cf8fd622bd69b5 Mon Sep 17 00:00:00 2001 From: rustaceanrob Date: Mon, 22 Sep 2025 10:52:00 +0100 Subject: [PATCH 2/2] Release `0.3.1` --- Cargo.toml | 2 +- src/network/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a9c189f0..df124e05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bip157" -version = "0.3.0" +version = "0.3.1" authors = ["Rob "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/src/network/mod.rs b/src/network/mod.rs index d86d449d..47478b46 100644 --- a/src/network/mod.rs +++ b/src/network/mod.rs @@ -31,7 +31,7 @@ pub(crate) mod reader; pub(crate) mod socks; pub const PROTOCOL_VERSION: u32 = 70016; -pub const KYOTO_VERSION: &str = "0.3.0"; +pub const KYOTO_VERSION: &str = "0.3.1"; pub const RUST_BITCOIN_VERSION: &str = "0.32.7"; const THIRTY_MINS: Duration = Duration::from_secs(60 * 30);