Skip to content

bdk_turso 0.3.0

Choose a tag to compare

@emma31-dev emma31-dev released this 16 Nov 12:01

Added

  • generate_encryption_opts() creates local encryption options with a random 32-byte key and the default aes256gcm cipher.
  • Store implements BDK's blocking WalletPersister behind the new blocking feature, which wallet enables by default. Blocking calls run on a dedicated thread with a fresh Tokio runtime, so they are safe inside an async runtime.
  • Store::migrate_to copies persisted tables and rows to another store, including between in-memory and file stores. Source rows replace conflicting destination rows, while destination-only rows remain.
  • Public Store::push() lets callers retry remote uploads; Error::RemotePush identifies a failed upload after local commit.

Fixed

  • Wallet persistence writes now apply conflicting block, descriptor, network, and script-cache values; locked-outpoint inserts use explicit upserts.

Changed

  • Marked Error as non-exhaustive, so downstream exhaustive matches must include a wildcard arm, and added variant-specific prefixes to its display messages.

crates.io: https://crates.io/crates/bdk_turso/0.3.0
docs.rs: https://docs.rs/bdk_turso/0.3.0