diff --git a/CHANGELOG.md b/CHANGELOG.md index 073ada57f0..070c3c661a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 *When editing this file, please respect a line length of 100.* +## 2024-10-08 + +### Network + +#### Changed + +- Optimize auditor tracking by not to re-attempt fetched spend. +- Optimize auditor tracking function by using DashMap and stream. + ## 2024-10-07 ### Network diff --git a/Cargo.lock b/Cargo.lock index f3f9078e20..56c09bbaff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1817,9 +1817,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", "clap_derive", @@ -1837,9 +1837,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", @@ -3071,6 +3071,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -3967,6 +3973,11 @@ name = "hashbrown" version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] [[package]] name = "headers" @@ -5494,11 +5505,11 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.0", ] [[package]] @@ -6788,9 +6799,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" dependencies = [ "unicode-ident", ] @@ -8384,7 +8395,7 @@ dependencies = [ [[package]] name = "sn_auditor" -version = "0.3.4" +version = "0.3.5" dependencies = [ "blsttc", "clap", @@ -8471,7 +8482,7 @@ dependencies = [ [[package]] name = "sn_client" -version = "0.110.3" +version = "0.110.4" dependencies = [ "assert_matches", "async-trait", diff --git a/release-cycle-info b/release-cycle-info index 2d6f60ca88..2b83422132 100644 --- a/release-cycle-info +++ b/release-cycle-info @@ -15,4 +15,4 @@ release-year: 2024 release-month: 10 release-cycle: 2 -release-cycle-counter: 2 +release-cycle-counter: 3 diff --git a/sn_auditor/Cargo.toml b/sn_auditor/Cargo.toml index e133358779..b04c8f7bde 100644 --- a/sn_auditor/Cargo.toml +++ b/sn_auditor/Cargo.toml @@ -2,7 +2,7 @@ authors = ["MaidSafe Developers "] description = "Safe Network Auditor" name = "sn_auditor" -version = "0.3.4" +version = "0.3.5" edition = "2021" homepage = "https://maidsafe.net" repository = "https://github.com/maidsafe/safe_network" @@ -33,7 +33,7 @@ lazy_static = "1.4.0" serde = { version = "1.0.133", features = ["derive", "rc"] } serde_json = "1.0.108" sn_build_info = { path = "../sn_build_info", version = "0.1.15" } -sn_client = { path = "../sn_client", version = "0.110.3" } +sn_client = { path = "../sn_client", version = "0.110.4" } sn_logging = { path = "../sn_logging", version = "0.2.36" } sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.5.3" } sn_protocol = { path = "../sn_protocol", version = "0.17.11" } diff --git a/sn_cli/Cargo.toml b/sn_cli/Cargo.toml index 2e3d5516de..d6b3af3e0b 100644 --- a/sn_cli/Cargo.toml +++ b/sn_cli/Cargo.toml @@ -56,7 +56,7 @@ rmp-serde = "1.1.1" rpassword = "7.3.1" serde = { version = "1.0.133", features = ["derive"] } sn_build_info = { path = "../sn_build_info", version = "0.1.15" } -sn_client = { path = "../sn_client", version = "0.110.3" } +sn_client = { path = "../sn_client", version = "0.110.4" } sn_logging = { path = "../sn_logging", version = "0.2.36" } sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.5.3" } sn_protocol = { path = "../sn_protocol", version = "0.17.11" } @@ -81,7 +81,7 @@ eyre = "0.6.8" criterion = "0.5.1" tempfile = "3.6.0" rand = { version = "~0.8.5", features = ["small_rng"] } -sn_client = { path = "../sn_client", version = "0.110.3", features = [ +sn_client = { path = "../sn_client", version = "0.110.4", features = [ "test-utils", ] } diff --git a/sn_client/Cargo.toml b/sn_client/Cargo.toml index d6dd00e824..35086401dc 100644 --- a/sn_client/Cargo.toml +++ b/sn_client/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0" name = "sn_client" readme = "README.md" repository = "https://github.com/maidsafe/safe_network" -version = "0.110.3" +version = "0.110.4" [features] default = [] diff --git a/sn_faucet/Cargo.toml b/sn_faucet/Cargo.toml index ce7f416b5c..9fed6af601 100644 --- a/sn_faucet/Cargo.toml +++ b/sn_faucet/Cargo.toml @@ -40,7 +40,7 @@ serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.108" sn_build_info = { path = "../sn_build_info", version = "0.1.15" } sn_cli = { path = "../sn_cli", version = "0.95.3" } -sn_client = { path = "../sn_client", version = "0.110.3" } +sn_client = { path = "../sn_client", version = "0.110.4" } sn_logging = { path = "../sn_logging", version = "0.2.36" } sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.5.3" } sn_protocol = { path = "../sn_protocol", version = "0.17.11" } diff --git a/sn_node/Cargo.toml b/sn_node/Cargo.toml index b4595c148c..cb157f4097 100644 --- a/sn_node/Cargo.toml +++ b/sn_node/Cargo.toml @@ -85,7 +85,7 @@ reqwest = { version = "0.12.2", default-features = false, features = [ "rustls-tls-manual-roots", ] } serde_json = "1.0" -sn_client = { path = "../sn_client", version = "0.110.3" } +sn_client = { path = "../sn_client", version = "0.110.4" } sn_protocol = { path = "../sn_protocol", version = "0.17.11", features = [ "rpc", ] } diff --git a/sn_node_rpc_client/Cargo.toml b/sn_node_rpc_client/Cargo.toml index 016f0b1fd7..5bd51aa559 100644 --- a/sn_node_rpc_client/Cargo.toml +++ b/sn_node_rpc_client/Cargo.toml @@ -27,7 +27,7 @@ hex = "~0.4.3" libp2p = { version = "0.54.1", features = ["kad"]} libp2p-identity = { version="0.2.7", features = ["rand"] } sn_build_info = { path = "../sn_build_info", version = "0.1.15" } -sn_client = { path = "../sn_client", version = "0.110.3" } +sn_client = { path = "../sn_client", version = "0.110.4" } sn_logging = { path = "../sn_logging", version = "0.2.36" } sn_node = { path = "../sn_node", version = "0.111.4" } sn_peers_acquisition = { path = "../sn_peers_acquisition", version = "0.5.3" }