Skip to content

Commit

Permalink
Latest monero
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed May 13, 2024
1 parent 26aa6ed commit 16d7a83
Show file tree
Hide file tree
Showing 17 changed files with 115 additions and 1,045 deletions.
477 changes: 85 additions & 392 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,20 @@ digest = "0.9"
sha2 = "0.9"
blake2 = "0.9"
secp256kfun = { version = "0.6", default-features = false, features = ["serde"] }
curve25519-dalek = { version = "3", features = ["serde"] }
curve25519-dalek = { version = "4", features = ["rand_core", "serde"] }
serde = { version = "1", features = ["derive"] }
derive_more = "0.99"
bincode = "1"
serde_json = "1"
reqwest = { version = "0.10", features = ["json"] }
bitcoin = { git = "https://github.com/rust-litecoin/rust-litecoin", branch = "ltc" }
nanocurrency-types = "0.3"
num_cpus = "1"
monero = "0.12"
monero = "0.21"
digest_auth = "0.2"

[features]
no_confs = []
test_litecoin_node = []
test_nano_node = []
test_monero_node = []

# Always optimize dependencies
Expand Down
1 change: 0 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub enum ScriptedCoin {
#[derive(FromStr, Debug, Clone)]
#[enumeration(rename_all = "lowercase")]
pub enum UnscriptedCoin {
Nano,
#[enumeration(alias = "xmr")]
Monero,
}
Expand Down
3 changes: 0 additions & 3 deletions src/coins/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod btc;
pub mod nano;
pub mod xmr;

use std::marker::PhantomData;
Expand Down Expand Up @@ -70,7 +69,6 @@ pub trait UnscriptedClient {

#[enum_dispatch]
pub enum AnyUnscriptedClient {
Nano(nano::client::NanoClient),
Monero(xmr::client::XmrClient),
}

Expand Down Expand Up @@ -121,6 +119,5 @@ pub trait UnscriptedVerifier: Send + Sync {

#[enum_dispatch]
pub enum AnyUnscriptedVerifier {
Nano(nano::verifier::NanoVerifier),
Monero(xmr::verifier::XmrVerifier),
}
124 changes: 0 additions & 124 deletions src/coins/nano/client.rs

This file was deleted.

Loading

0 comments on commit 16d7a83

Please sign in to comment.