Skip to content

Commit 090fe9d

Browse files
committed
chore(wallet): Deprecation commit, remove memmory database
1 parent 97c8bd6 commit 090fe9d

4 files changed

Lines changed: 3 additions & 131 deletions

File tree

crates/floresta-watch-only/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ use floresta_chain::UtxoData;
1818
use floresta_common::get_spk_hash;
1919
use floresta_common::parse_descriptors;
2020

21-
#[cfg(any(test, feature = "memory-database"))]
22-
pub mod memory_database;
2321
pub mod merkle;
2422

2523
#[cfg(any(test, feature = "sqlite"))]

crates/floresta-watch-only/src/memory_database.rs

Lines changed: 0 additions & 126 deletions
This file was deleted.

crates/floresta/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tokio = { workspace = true }
4040
# Local dependencies
4141
floresta = { path = "../floresta", features = [
4242
"bitcoinkernel",
43-
"memory-database",
43+
"sqlite",
4444
"electrum-server",
4545
"watch-only-wallet",
4646
] }
@@ -51,7 +51,7 @@ electrum-server = ["dep:floresta-electrum"]
5151
bitcoinkernel = ["floresta-chain/bitcoinkernel"]
5252
watch-only-wallet = ["dep:floresta-watch-only"]
5353
# Works only if `watch-only-wallet` is set
54-
memory-database = ["floresta-watch-only?/memory-database"]
54+
sqlite = ["floresta-watch-only?/sqlite"]
5555
flat-chainstore = ["floresta-chain/flat-chainstore"]
5656

5757
[lib]

crates/floresta/examples/watch-only.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use bitcoin::consensus::deserialize;
66
use bitcoin::hashes::hex::FromHex;
77
use bitcoin::ScriptBuf;
88
use floresta_common::get_spk_hash;
9-
use floresta_watch_only::memory_database::MemoryDatabase;
9+
use floresta_watch_only::sqlite_database::SqliteDatabase;
1010
use floresta_watch_only::AddressCache;
1111
use miniscript::bitcoin::secp256k1::Secp256k1;
1212
use miniscript::Descriptor;

0 commit comments

Comments
 (0)