Repository navigation
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_confirmationsto 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::loadto reopen an existing wallet from its on-disk manifest (watch-only or with mnemonic)Wallet::newnow writes awallet_manifest.jsonand 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
WaitingBroadcasttransfer status and improved donation handling- non-donation receivers wait for the sender to broadcast before moving to
WaitingConfirmations - donation receivers skip
WaitingBroadcastand go directly toWaitingConfirmations
- non-donation receivers wait for the sender to broadcast before moving to
- made
expiration_timestampmandatory inblind_receive,witness_receive,send,send_beginand multisig equivalents InvoiceData: addedunknown_query_paramsReceiveData:expiration_timestampis now non-optionalUtxo: added optionalderivation_indextolist_unspentsresults, so callers can derive the corresponding key externallyrust_only:- changed
accept_transfertoaccept_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
Onlinewhen needed - avoid internal error on unknown contract in
color_psbt
- changed
- fixed RGB allocation overflow/underflow handling
- enabled overflow-checks in release builds
- fixed
max_allocations_per_utxo = 0bug - fixed send-to-oneself transfer update crash
- fixed
backup::failerror mapping - fixed
RefreshTransferStatusmapping - 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
- @berserker-systems made their first contribution in #83
Full Changelog: 0.3.0-beta.6...0.3.0-beta.7