mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +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:
@@ -6,7 +6,7 @@ use ciphersuite_kp256::Secp256k1;
|
||||
|
||||
use bitcoin_serai::bitcoin::block::{Header, Block as BBlock};
|
||||
|
||||
use serai_client::networks::bitcoin::Address;
|
||||
use serai_client_bitcoin::Address;
|
||||
|
||||
use serai_db::Db;
|
||||
use primitives::{ReceivedOutput, EventualityTracker};
|
||||
|
||||
@@ -13,14 +13,12 @@ use bitcoin_serai::{
|
||||
use borsh::{BorshSerialize, BorshDeserialize};
|
||||
use serai_db::Get;
|
||||
|
||||
use serai_client::{
|
||||
primitives::{
|
||||
coin::ExternalCoin,
|
||||
balance::{Amount, ExternalBalance},
|
||||
address::ExternalAddress,
|
||||
},
|
||||
networks::bitcoin::Address,
|
||||
use serai_primitives::{
|
||||
coin::ExternalCoin,
|
||||
balance::{Amount, ExternalBalance},
|
||||
address::ExternalAddress,
|
||||
};
|
||||
use serai_client_bitcoin::Address;
|
||||
|
||||
use primitives::{OutputType, ReceivedOutput};
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ use bitcoin_serai::{
|
||||
|
||||
use borsh::{BorshSerialize, BorshDeserialize};
|
||||
|
||||
use serai_client::networks::bitcoin::Address;
|
||||
use serai_client_bitcoin::Address;
|
||||
|
||||
use crate::output::OutputId;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ use core::future::Future;
|
||||
|
||||
use bitcoin_serai::rpc::{RpcError, Rpc as BRpc};
|
||||
|
||||
use serai_client::primitives::{network_id::ExternalNetworkId, coin::ExternalCoin, balance::Amount};
|
||||
use serai_primitives::{network_id::ExternalNetworkId, coin::ExternalCoin, balance::Amount};
|
||||
|
||||
use serai_db::Db;
|
||||
use scanner::ScannerFeed;
|
||||
|
||||
@@ -12,7 +12,7 @@ use bitcoin_serai::{
|
||||
wallet::Scanner,
|
||||
};
|
||||
|
||||
use serai_client::networks::bitcoin::Address;
|
||||
use serai_client_bitcoin::Address;
|
||||
|
||||
use serai_db::Get;
|
||||
use primitives::OutputType;
|
||||
|
||||
@@ -8,10 +8,8 @@ use bitcoin_serai::{
|
||||
wallet::{TransactionError, SignableTransaction as BSignableTransaction, p2tr_script_buf},
|
||||
};
|
||||
|
||||
use serai_client::{
|
||||
primitives::{coin::ExternalCoin, balance::Amount},
|
||||
networks::bitcoin::Address,
|
||||
};
|
||||
use serai_primitives::{coin::ExternalCoin, balance::Amount};
|
||||
use serai_client_bitcoin::Address;
|
||||
|
||||
use serai_db::Db;
|
||||
use primitives::{OutputType, ReceivedOutput, Payment};
|
||||
|
||||
Reference in New Issue
Block a user