crate::ix!();
pub struct WalletClientImpl {
context: WalletContext,
wallet_filenames: Vec<String>,
rpc_handlers: Vec<Box<dyn Handler>>,
rpc_commands: LinkedList<RPCCommand>,
}
impl WalletClient for WalletClientImpl { }
impl ChainClient for WalletClientImpl {}
impl GetWalletContext for WalletClientImpl {}
impl Drop for WalletClientImpl {
fn drop(&mut self) {
todo!();
}
}
impl RegisterRpcs for WalletClientImpl {
fn register_rpcs(&mut self) {
todo!();
}
}
impl Verify for WalletClientImpl {
fn verify(&mut self) -> bool {
todo!();
}
}
impl Load for WalletClientImpl {
fn load(&mut self) -> bool {
todo!();
}
}
impl Start for WalletClientImpl {
fn start(&mut self, scheduler: &mut Scheduler) {
todo!();
}
}
impl Flush for WalletClientImpl {
fn flush(&mut self) {
todo!();
}
}
impl Stop for WalletClientImpl {
fn stop(&mut self) {
todo!();
}
}
impl SetMockTime for WalletClientImpl {
fn set_mock_time(&mut self, time: i64) {
todo!();
}
}
impl CreateWallet for WalletClientImpl {
fn create_wallet(&mut self,
name: &String,
passphrase: &SecureString,
wallet_creation_flags: u64,
error: &mut BilingualStr,
warnings: &mut Vec<BilingualStr>) -> Box<dyn WalletInterface> {
todo!();
}
}
impl WalletClientLoadWallet for WalletClientImpl {
fn load_wallet(&mut self,
name: &String,
error: &mut BilingualStr,
warnings: &mut Vec<BilingualStr>) -> Box<dyn WalletInterface> {
todo!();
}
}
impl GetWalletDir for WalletClientImpl {
fn get_wallet_dir(&mut self) -> String {
todo!();
}
}
impl ListWalletDir for WalletClientImpl {
fn list_wallet_dir(&mut self) -> Vec<String> {
todo!();
}
}
impl GetWallets for WalletClientImpl {
fn get_wallets(&mut self) -> Vec<Box<dyn WalletInterface>> {
todo!();
}
}
impl HandleLoadWallet for WalletClientImpl {
fn handle_load_wallet(&mut self, fn_: LoadWalletFn) -> Box<dyn Handler> {
todo!();
}
}
impl WalletClientImpl {
pub fn new(
chain: Amo<Box<dyn ChainInterface>>,
args: &mut ArgsManager) -> Self {
todo!();
}
pub fn context(&mut self) -> *mut WalletContext {
todo!();
}
}
#[cfg(not(feature = "wallet"))]
pub fn make_wallet_client(
chain: Amo<Box<dyn ChainInterface>>,
args: &mut ArgsManager) -> Box<dyn WalletClient> {
todo!();
}
#[cfg(feature = "wallet")]
pub fn make_wallet_client(
chain: Amo<Box<dyn ChainInterface>>,
args: &mut ArgsManager) -> Box<WalletClient> {
todo!();
}