refactor!: move WalletChangeSet to bdk_wallet and fix import paths

This commit is contained in:
志宇 committed 2024-07-18 04:15:47 +00:00
1 parent 6b43001951
commit eb73f0659e
24 files changed
+142 -166

No files matched your search

+3 -3
View File
@@ -57,7 +57,7 @@ that the `Wallet` can use to update its view of the chain.
## Persistence
To persist `Wallet` state data use a data store crate that reads and writes [`bdk_chain::WalletChangeSet`].
To persist `Wallet` state data use a data store crate that reads and writes [`ChangeSet`].
**Implementations**
@@ -122,7 +122,7 @@ println!("Your new receive address is: {}", receive_address.address);
<!-- ```rust -->
<!-- use bdk_wallet::Wallet; -->
<!-- use bdk_wallet::wallet::AddressIndex::New; -->
<!-- use bdk_wallet::AddressIndex::New; -->
<!-- use bdk_wallet::bitcoin::Network; -->
<!-- fn main() -> Result<(), bdk_wallet::Error> { -->
@@ -147,7 +147,7 @@ println!("Your new receive address is: {}", receive_address.address);
<!-- use bdk_wallet::blockchain::ElectrumBlockchain; -->
<!-- use bdk_wallet::electrum_client::Client; -->
<!-- use bdk_wallet::wallet::AddressIndex::New; -->
<!-- use bdk_wallet::AddressIndex::New; -->
<!-- use bitcoin::base64; -->
<!-- use bdk_wallet::bitcoin::consensus::serialize; -->