Skip to content

Commit

Permalink
chore: update rust bdk_wallet to alpha 12
Browse files Browse the repository at this point in the history
This commit also introduces the sqlite store and removes the flat file
 store
  • Loading branch information
thunderbiscuit committed Jun 4, 2024
1 parent e5e7aba commit 0a0aa10
Show file tree
Hide file tree
Showing 24 changed files with 329 additions and 196 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private const val TESTNET_ESPLORA_URL = "https://esplora.testnet.kuutamo.cloud"
@RunWith(AndroidJUnit4::class)
class LiveTxBuilderTest {
private val persistenceFilePath = InstrumentationRegistry
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence3.db"
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence3.sqlite"

@AfterTest
fun cleanup() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private const val TESTNET_ESPLORA_URL = "https://esplora.testnet.kuutamo.cloud"
@RunWith(AndroidJUnit4::class)
class LiveWalletTest {
private val persistenceFilePath = InstrumentationRegistry
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence2.db"
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence2.sqlite"

@AfterTest
fun cleanup() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlin.test.AfterTest
@RunWith(AndroidJUnit4::class)
class OfflineWalletTest {
private val persistenceFilePath = InstrumentationRegistry
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence1.db"
.getInstrumentation().targetContext.filesDir.path + "/bdk_persistence1.sqlite"

@AfterTest
fun cleanup() {
Expand Down
206 changes: 164 additions & 42 deletions bdk-ffi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions bdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ path = "uniffi-bindgen.rs"
default = ["uniffi/cli"]

[dependencies]
bdk = { version = "1.0.0-alpha.11", features = ["all-keys", "keys-bip39"] }
bdk_esplora = { version = "0.13.0", default-features = false, features = ["std", "blocking", "blocking-https-rustls"] }
bdk_electrum = { version = "0.13.0" }
bdk_file_store = { version = "0.11.0" }
bdk_wallet = { version = "1.0.0-alpha.12", features = ["all-keys", "keys-bip39"] }
bdk_esplora = { version = "0.14.0", default-features = false, features = ["std", "blocking", "blocking-https-rustls"] }
bdk_electrum = { version = "0.14.0" }
bdk_sqlite = { version = "0.1.0" }
bdk_bitcoind_rpc = { version = "0.10.0" }

uniffi = { version = "=0.27.1" }
Expand Down
Loading

0 comments on commit 0a0aa10

Please sign in to comment.