refactor: Move WalletUpdate to wallet module

This commit is contained in:
Vladimir Fomene
2023-08-21 12:13:58 +03:00
committed by 志宇
parent 7c12dc9942
commit 2392e50fd9
5 changed files with 35 additions and 39 deletions

View File

@@ -8,8 +8,8 @@ use std::str::FromStr;
use bdk::bitcoin::Address;
use bdk::SignOptions;
use bdk::{bitcoin::Network, Wallet};
use bdk_electrum::bdk_chain::{keychain::WalletUpdate, local_chain};
use bdk::{bitcoin::Network, wallet::WalletUpdate, Wallet};
use bdk_electrum::bdk_chain::local_chain;
use bdk_electrum::electrum_client::{self, ElectrumApi};
use bdk_electrum::ElectrumExt;
use bdk_file_store::Store;

View File

@@ -2,8 +2,7 @@ use std::{io::Write, str::FromStr};
use bdk::{
bitcoin::{Address, Network},
chain::keychain::WalletUpdate,
wallet::AddressIndex,
wallet::{AddressIndex, WalletUpdate},
SignOptions, Wallet,
};
use bdk_esplora::{esplora_client, EsploraAsyncExt};

View File

@@ -7,8 +7,7 @@ use std::{io::Write, str::FromStr};
use bdk::{
bitcoin::{Address, Network},
chain::keychain::WalletUpdate,
wallet::AddressIndex,
wallet::{AddressIndex, WalletUpdate},
SignOptions, Wallet,
};
use bdk_esplora::{esplora_client, EsploraExt};