mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Smash serai-client so the processors don't need the entire lib to access their specific code
We prior controlled this with feature flags. It's just better to define their own crates.
This commit is contained in:
@@ -31,7 +31,8 @@ frost = { package = "modular-frost", path = "../../crypto/frost", default-featur
|
||||
monero-wallet = { git = "https://github.com/monero-oxide/monero-oxide", rev = "030c60974f0f0306849c1795bca854a3bbb757b4", default-features = false, features = ["std", "multisig"] }
|
||||
monero-simple-request-rpc = { git = "https://github.com/monero-oxide/monero-oxide", rev = "030c60974f0f0306849c1795bca854a3bbb757b4", default-features = false }
|
||||
|
||||
serai-client = { path = "../../substrate/client", default-features = false, features = ["monero"] }
|
||||
serai-primitives = { path = "../../substrate/primitives", default-features = false, features = ["std"] }
|
||||
serai-client-monero = { path = "../../substrate/client/monero", default-features = false }
|
||||
|
||||
zalloc = { path = "../../common/zalloc" }
|
||||
log = { version = "0.4", default-features = false, features = ["std"] }
|
||||
|
||||
@@ -8,7 +8,7 @@ use monero_wallet::{
|
||||
GuaranteedScanner,
|
||||
};
|
||||
|
||||
use serai_client::networks::monero::Address;
|
||||
use serai_client_monero::Address;
|
||||
|
||||
use primitives::{ReceivedOutput, EventualityTracker};
|
||||
use crate::{
|
||||
|
||||
@@ -7,13 +7,11 @@ use monero_wallet::WalletOutput;
|
||||
|
||||
use borsh::{BorshSerialize, BorshDeserialize};
|
||||
|
||||
use serai_client::{
|
||||
primitives::{
|
||||
coin::ExternalCoin,
|
||||
balance::{Amount, ExternalBalance},
|
||||
},
|
||||
networks::monero::Address,
|
||||
use serai_primitives::{
|
||||
coin::ExternalCoin,
|
||||
balance::{Amount, ExternalBalance},
|
||||
};
|
||||
use serai_client_monero::Address;
|
||||
|
||||
use primitives::{OutputType, ReceivedOutput};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ use core::future::Future;
|
||||
|
||||
use monero_simple_request_rpc::{prelude::*, SimpleRequestTransport};
|
||||
|
||||
use serai_client::primitives::{network_id::ExternalNetworkId, coin::ExternalCoin, balance::Amount};
|
||||
use serai_primitives::{network_id::ExternalNetworkId, coin::ExternalCoin, balance::Amount};
|
||||
|
||||
use scanner::ScannerFeed;
|
||||
use signers::TransactionPublisher;
|
||||
|
||||
@@ -9,10 +9,8 @@ use dalek_ff_group::Ed25519;
|
||||
|
||||
use monero_wallet::interface::prelude::*;
|
||||
|
||||
use serai_client::{
|
||||
primitives::{coin::ExternalCoin, balance::Amount},
|
||||
networks::monero::Address,
|
||||
};
|
||||
use serai_primitives::{coin::ExternalCoin, balance::Amount};
|
||||
use serai_client_monero::Address;
|
||||
|
||||
use primitives::{OutputType, ReceivedOutput, Payment};
|
||||
use scanner::{KeyFor, AddressFor, OutputFor, BlockFor};
|
||||
|
||||
Reference in New Issue
Block a user