From aef479a57030e1817e676a35209f589f5af1dbe1 Mon Sep 17 00:00:00 2001 From: gdmaster3 Date: Fri, 6 Nov 2026 11:12:05 -0500 Subject: [PATCH 1/5] build: bump rusqlite to 0.37 (SQLCipher unification for downstream) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 27be74f3f4..6a8582511a 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ bdk_wallet = { version = "2.2.0", default-features = false, features = ["std", " reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } rustls = { version = "0.23", default-features = false } -rusqlite = { version = "0.31.0", features = ["bundled"] } +rusqlite = { version = "0.37.0", features = ["bundled"] } bitcoin = "0.32.7" bip39 = { version = "2.0.0", features = ["rand"] } bip21 = { version = "0.5", features = ["std"], default-features = false } From 17be6beeb6f3caf15f1ec2ae6d1d8dd11ce0343a Mon Sep 17 00:00:00 2001 From: gdmaster3 Date: Sat, 7 Nov 2026 17:36:25 -0500 Subject: [PATCH 2/5] build: pragma schema-name as string (rusqlite 0.37 removes DatabaseName) --- src/io/sqlite_store/migrations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/sqlite_store/migrations.rs b/src/io/sqlite_store/migrations.rs index abfbdf6ef0..72ace40da1 100644 --- a/src/io/sqlite_store/migrations.rs +++ b/src/io/sqlite_store/migrations.rs @@ -52,7 +52,7 @@ pub(super) fn migrate_schema( })?; // Update user_version - tx.pragma(Some(rusqlite::DatabaseName::Main), "user_version", to_version, |_| Ok(())) + tx.pragma(Some("main"), "user_version", to_version, |_| Ok(())) .map_err(|e| { let msg = format!( "Failed to upgrade user_version from {} to {}: {}", @@ -106,7 +106,7 @@ mod tests { connection .pragma( - Some(rusqlite::DatabaseName::Main), + Some("main"), "user_version", old_schema_version, |_| Ok(()), From e02a484617a222c6e53077975fa99f8a846290e1 Mon Sep 17 00:00:00 2001 From: gdmaster3 Date: Sat, 7 Nov 2026 17:36:53 -0500 Subject: [PATCH 3/5] build: pragma schema-name as string (2/2) --- src/io/sqlite_store/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/sqlite_store/mod.rs b/src/io/sqlite_store/mod.rs index 789330cefe..6b73f4ce1a 100644 --- a/src/io/sqlite_store/mod.rs +++ b/src/io/sqlite_store/mod.rs @@ -262,7 +262,7 @@ impl SqliteStoreInner { // New database, set our SCHEMA_USER_VERSION and continue connection .pragma( - Some(rusqlite::DatabaseName::Main), + Some("main"), "user_version", SCHEMA_USER_VERSION, |_| Ok(()), From 26ba14b3a54fccf5c08137f1258ec43914c3626c Mon Sep 17 00:00:00 2001 From: gdmaster3 Date: Sun, 8 Nov 2026 04:42:27 -0500 Subject: [PATCH 4/5] build: drop cfg(vss_test) dev-dep ldk-node-062 (sqlite unification for downstream) --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a8582511a..2ad95c3a60 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,9 +91,6 @@ clightningrpc = { version = "0.3.0-beta.8", default-features = false } lnd_grpc_rust = { version = "2.10.0", default-features = false } tokio = { version = "1.37", features = ["fs"] } -[target.'cfg(vss_test)'.dev-dependencies] -ldk-node-062 = { package = "ldk-node", version = "=0.6.2" } - [build-dependencies] uniffi = { version = "0.28.3", features = ["build"], optional = true } From d82a50e23699b6f7ec72196e39d9998e81b0366a Mon Sep 17 00:00:00 2001 From: gdmaster3 Date: Sun, 8 Nov 2026 05:06:40 -0500 Subject: [PATCH 5/5] build: strip download features from dev-deps (CI artifact hash drift); sqlite_store target unaffected --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2ad95c3a60..091abe3f05 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,10 @@ regex = "1.5.6" criterion = { version = "0.7.0", features = ["async_tokio"] } [target.'cfg(not(no_download))'.dev-dependencies] -electrsd = { version = "0.36.1", default-features = false, features = ["legacy", "esplora_a33e97e1", "corepc-node_27_2"] } +# Electrs/bitcoind download features stripped: those build.rs scripts fetch release +# artifacts and hash-assert, panicking when upstream rebuilds an artifact (CI drift). +# Inert set = legacy only, matching the no_download entry below. +electrsd = { version = "0.36.1", default-features = false, features = ["legacy"] } [target.'cfg(no_download)'.dev-dependencies] electrsd = { version = "0.36.1", default-features = false, features = ["legacy"] }