Skip to content

0.3.0-beta.7

Latest

Choose a tag to compare

@zoedberg zoedberg released this 17 Jul 14:18
· 31 commits to master since this release
0.3.0-beta.7
538f2ab

This is the seventh 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.11
  • updated BDK to v3.1.0
  • added Wallet::load to reopen an existing wallet from its on-disk manifest (watch-only or with mnemonic)
    • Wallet::new now writes a wallet_manifest.json and validates that fixed settings (network, keys, witness version, etc.) are not changed on subsequent opens
  • added out-of-band consignment/ACK support for transfers that don't use the JSON-RPC proxy
    • provide_out_of_band_consignment (recipient side)
    • provide_out_of_band_ack (sender side)
    • batches can mix out-of-band and proxy recipients
  • added WaitingBroadcast transfer status and improved donation handling
    • non-donation receivers wait for the sender to broadcast before moving to WaitingConfirmations
    • donation receivers skip WaitingBroadcast and go directly to WaitingConfirmations
  • made expiration_timestamp mandatory in blind_receive, witness_receive, send, send_begin and multisig equivalents
  • InvoiceData: added unknown_query_params
  • ReceiveData: expiration_timestamp is now non-optional
  • Utxo: added optional derivation_index to list_unspents results, so callers can derive the corresponding key externally
  • rust_only:
    • changed accept_transfer to accept_transfer_consignment (now returns media digests)
    • added send_end_db_update_only, is_asset_known, list_asset_media
    • removed post_consignment
    • several methods now require Online when needed
    • avoid internal error on unknown contract in color_psbt
  • fixed RGB allocation overflow/underflow handling
  • enabled overflow-checks in release builds
  • fixed max_allocations_per_utxo = 0 bug
  • fixed send-to-oneself transfer update crash
  • fixed backup::fail error mapping
  • fixed RefreshTransferStatus mapping
  • fixed multisig fail_transfers (check online first)
  • improved indexer robustness (handle inconsistent height from indexer)
  • fixed UDA-with-media handling
  • fixes and performance optimizations

New Contributors

Full Changelog: 0.3.0-beta.6...0.3.0-beta.7