Move lianalite to services::connect module

This commit is contained in:
edouardparis 2025-04-24 11:38:19 +02:00
parent f3ae84f91c
commit 7085542066
16 changed files with 21 additions and 18 deletions

View File

@ -12,8 +12,7 @@ use serde::{Deserialize, Serialize};
use crate::{
backup::{Key, KeyRole, KeyType},
hw::HardwareWalletConfig,
lianalite::client::backend,
services,
services::{self, connect::client::backend},
};
pub const DEFAULT_FILE_NAME: &str = "settings.json";

View File

@ -26,7 +26,7 @@ use crate::{
extract_daemon_config, extract_local_gui_settings, extract_remote_gui_settings, Context,
RemoteBackend,
},
lianalite::client::backend::api::DEFAULT_LIMIT,
services::connect::client::backend::api::DEFAULT_LIMIT,
VERSION,
};

View File

@ -44,8 +44,8 @@ use crate::{
model::{HistoryTransaction, Labelled},
Daemon, DaemonBackend, DaemonError,
},
lianalite::client::backend::api::DEFAULT_LIMIT,
node::bitcoind::Bitcoind,
services::connect::client::backend::api::DEFAULT_LIMIT,
};
const DUMP_LABELS_LIMIT: u32 = 100;

View File

@ -6,8 +6,8 @@ use std::time::Duration;
use crate::{
app::settings::KeySetting,
backup::Backup,
lianalite::client::backend::{BackendClient, BackendWalletClient},
node::bitcoind::{Bitcoind, InternalBitcoindConfig},
services::connect::client::backend::{BackendClient, BackendWalletClient},
signer::Signer,
};
use async_hwi::DeviceKind;

View File

@ -15,12 +15,14 @@ use crate::{
export::ImportExportMessage,
hw::HardwareWalletMessage,
installer::descriptor::{Key, PathKind},
lianalite::client::{auth::AuthClient, backend::api},
node::{
bitcoind::{Bitcoind, ConfigField, RpcAuthType},
electrum, NodeType,
},
services,
services::{
self,
connect::client::{auth::AuthClient, backend::api},
},
};
#[derive(Debug, Clone)]

View File

@ -29,14 +29,16 @@ use crate::{
daemon::DaemonError,
datadir::create_directory,
hw::{HardwareWalletConfig, HardwareWallets},
lianalite::client::{
auth::AuthError,
backend::{
api::payload::{Provider, ProviderKey},
BackendClient, BackendWalletClient,
services::{
self,
connect::client::{
auth::AuthError,
backend::{
api::payload::{Provider, ProviderKey},
BackendClient, BackendWalletClient,
},
},
},
services,
signer::Signer,
};

View File

@ -14,7 +14,7 @@ use crate::{
step::Step,
view, Error,
},
lianalite::client::{
services::connect::client::{
self,
auth::{AuthClient, AuthError},
backend::{api, BackendClient},

View File

@ -7,7 +7,6 @@ pub mod export;
pub mod hw;
pub mod installer;
pub mod launcher;
pub mod lianalite;
pub mod loader;
pub mod logger;
pub mod node;

View File

@ -28,12 +28,12 @@ use liana_gui::{
hw::HardwareWalletConfig,
installer::{self, Installer},
launcher::{self, Launcher},
lianalite::{
loader::{self, Loader},
logger::Logger,
services::connect::{
client::backend::{api, BackendWalletClient},
login,
},
loader::{self, Loader},
logger::Logger,
VERSION,
};

View File

@ -1 +1,2 @@
pub mod connect;
pub mod keys;