Skip to content

0.3.0-beta.6

Latest

Choose a tag to compare

@zoedberg zoedberg released this 19 May 10:21
0.3.0-beta.6
1299827

This is the sixth beta release of rgb-lib. It is meant for testing purposes, possibly on mainnet for reckless users and small amounts. No breaking changes are planned in the near future to database schema or RGB consensus structures.

Warnings

  • blockchain reorgs are currently not handled, we suggest setting min_confirmations to a safe number (we suggest 3 at least)
  • IFA (Inflatable Fungible Assets) schema shouldn't be considered stable, breaking changes on it are expected in the near future. Usage could also compromise assets using other schemas, so try them only on test networks where you accept risking your assets
  • the multisig wallet implementation is in an early stage and is not recommended for use on mainnet

Main improvements

The main improvements over the previous release are:

  • updated RGB dependencies to v0.11.1-rc.10
  • updated BDK to v3.0.0
    • ⚠️ the BDK storage update is not backwards compatible; if you receive an error after the update, remove the bdk_db file from the wallet data directory and then perform a full scan sync
  • fixed potentially dangerous bug in delete_transfers
  • optimized wallet sync and added options to sync API
  • improved validation flow and added WaitingSafeHeight transfer status
  • added burn API
  • added DB transactions
  • added support for P2WPKH
  • added dry_run to vanilla spends, when set to false vanilla pending TXs get tracked
  • added list_pending_vanilla_txs API
  • added abort_pending_vanilla_tx API
  • added psbt_path for initiated transfers
  • removed destroy_assets bool from drain_to, now always destroys assets
  • TransactionType: renamed Untracked to Incoming
  • list_transactions: sort by newest first
  • c-ffi: added invoice_data function + simplified online
  • uniffi: added missing APIs
  • added and improved tests
  • fixes and performance optimizations