Skip to content

Commit

Permalink
chore: new release (#245)
Browse files Browse the repository at this point in the history
Description
---
upgrade tari to use compressed keys
  • Loading branch information
SWvheerden authored Jan 31, 2025
1 parent 01ed96d commit 78c1b24
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 61 deletions.
95 changes: 46 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "sha_p2pool"
version = "0.21.0"
version = "0.21.1"

[dependencies]
anyhow = "1.0"
Expand Down Expand Up @@ -43,19 +43,19 @@ libp2p = { version = "0.54.1", features = [
] }
log = { version = "0.4.21", features = ["kv"] }
log4rs = "1.3.0"
minotari_app_grpc = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
minotari_node_grpc_client = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
minotari_app_grpc = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
minotari_node_grpc_client = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
num = { version = "0.4.3", features = ["default", "num-bigint", "serde"] }
rand = "0.8.0"
serde = "1.0.203"
serde_cbor = "0.11.2"
serde_json = "1.0.122"
tari_common = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
tari_common_types = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
tari_core = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
tari_crypto = "0.21.0"
tari_script = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
tari_shutdown = { git = "https://github.com/tari-project/tari.git", rev = "36ff43680ac9eacada86621aee873149d86175ad" }
tari_common = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
tari_common_types = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
tari_core = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
tari_crypto = "0.22.0"
tari_script = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
tari_shutdown = { git = "https://github.com/tari-project/tari.git", rev = "53c1d47971994b2ac8795768e4b8a44800ea9988" }
tari_utilities = { version = "0.8", features = ["borsh"] }
thiserror = "1.0"
tokio = { version = "1.41.0", features = ["full"] }
Expand Down
6 changes: 3 additions & 3 deletions src/sharechain/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ impl ShareChain for InMemoryShareChain {
pub mod test {
use tari_common::configuration::Network;
use tari_common_types::tari_address::TariAddressFeatures;
use tari_crypto::{keys::PublicKey, ristretto::RistrettoPublicKey};
use tari_crypto::{compressed_key::CompressedKey, ristretto::RistrettoPublicKey};

use super::*;

Expand Down Expand Up @@ -909,8 +909,8 @@ pub mod test {

pub fn new_random_address() -> TariAddress {
let mut rng = rand::thread_rng();
let (_, view) = RistrettoPublicKey::random_keypair(&mut rng);
let (_, spend) = RistrettoPublicKey::random_keypair(&mut rng);
let (_, view) = CompressedKey::<RistrettoPublicKey>::random_keypair(&mut rng);
let (_, spend) = CompressedKey::<RistrettoPublicKey>::random_keypair(&mut rng);
TariAddress::new_dual_address(view, spend, Network::LocalNet, TariAddressFeatures::INTERACTIVE)
}

Expand Down

0 comments on commit 78c1b24

Please sign in to comment.