From dd9ddd040af1ca53886cc64b5880e5023d470894 Mon Sep 17 00:00:00 2001 From: Alfred Hodler Date: Thu, 23 May 2024 10:56:52 +0000 Subject: [PATCH] Version 0.2.3 - bump version to 0.2.3 - update Cargo.lock --- Cargo.lock | 6 ++++-- pushtx-cli/Cargo.toml | 4 ++-- pushtx/Cargo.toml | 2 +- pushtx/src/lib.rs | 9 --------- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 41e75a6..6da4bb0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -366,6 +366,8 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] name = "peerlink" version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cec5e068ddc6eaedd4d068f3191f24289ec4228cf3179ec93575cb55e2c532d" dependencies = [ "crossbeam-channel", "log", @@ -392,7 +394,7 @@ dependencies = [ [[package]] name = "pushtx" -version = "0.2.2" +version = "0.2.3" dependencies = [ "bitcoin", "crossbeam-channel", @@ -408,7 +410,7 @@ dependencies = [ [[package]] name = "pushtx-cli" -version = "0.2.2" +version = "0.2.3" dependencies = [ "anyhow", "clap", diff --git a/pushtx-cli/Cargo.toml b/pushtx-cli/Cargo.toml index 87a8591..208f583 100644 --- a/pushtx-cli/Cargo.toml +++ b/pushtx-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pushtx-cli" -version = "0.2.2" +version = "0.2.3" edition = "2021" authors = ["Alfred Hodler "] license = "MIT" @@ -18,5 +18,5 @@ anyhow = "1.0.86" clap = { version = "4.5.4", features = ["derive"] } env_logger = "0.11.3" log = "0.4.20" -pushtx = { version = "0.2.2", path = "../pushtx" } +pushtx = { version = "0.2.3", path = "../pushtx" } thiserror = "1.0.61" diff --git a/pushtx/Cargo.toml b/pushtx/Cargo.toml index fbdc6f5..968997f 100644 --- a/pushtx/Cargo.toml +++ b/pushtx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pushtx" -version = "0.2.2" +version = "0.2.3" edition = "2021" authors = ["Alfred Hodler "] license = "MIT" diff --git a/pushtx/src/lib.rs b/pushtx/src/lib.rs index e88aa87..1c9ba3b 100644 --- a/pushtx/src/lib.rs +++ b/pushtx/src/lib.rs @@ -217,12 +217,3 @@ pub fn broadcast(tx: Vec, opts: Opts) -> crossbeam_channel::Receive broadcaster.run(); event_rx } - -/// Returns the number of seconds elapsed since the POSIX EPOCH. -fn posix_time() -> u64 { - use std::time; - time::SystemTime::now() - .duration_since(time::UNIX_EPOCH) - .unwrap() - .as_secs() -}