Skip to content

Release 0.0.56

Compare
Choose a tag to compare
@LeoComandini LeoComandini released this 04 Oct 14:56
· 1474 commits to master since this release
release_0.0.56
8f06e81

Added

  • Added new function GA_decrypt_with_pin.
  • Added new function GA_validate to validate gdk JSON formats.
  • Added new functions GA_create_swap_transaction and GA_complete_swap_transaction with support for LiquiDEX v0 swaps.

Changed

  • GA_get_transactions: The input/output "addressee" element is now only populated for now-disabled historical social payments.
  • GA_get_transactions: The top-level "satoshi" elements are now signed; negative values represent outgoing amounts.
  • GA_convert_amount: This can now be used to convert negative values.
  • GA_get_wallet_identifier (and register/login): Now returns a network-agnostic version of "wallet_hash_id" as "xpub_hash_id".
  • GA_create_transaction (and sign/send): The top-level "subaccount" type is no longer required or populated, and "subaccount_type" is also no longer populated. The subaccount(s) the tx refers to are now inferred automatically from its input UTXOs and output addressees.
  • Singlesig: Transaction hex returned from GA_get_transaction_details will now return witness data. This change triggers a one-time cache rebuild on upgrading, which may be noticeable from apps as a brief time with no transactions visible while the cache is rebuilt.
  • Singlesig: Exchange rates for the BTC-USD currency pair are now fetched from a Blockstream service.

Fixed

  • Network: Connection errors in the middle of a request now time out instead of waiting for the connection come back.
  • Liquid: Prevent a corrupted Liquid asset registry from re-downloading every time GA_refresh_assets is called.
  • Liquid: Fix an issue where GA_get_assets would not return any assets if a wallet's cache file got corrupted.
  • Liquid: GA_get_transactions: Correctly handle "mixed" transactions such as swaps.
  • Singlesig: Fixed a notification race condition where transaction block heights could be off-by-one shortly after a block notification.
  • Java: Fix the SWIG wrapping of GA_validate_mnemonic.

Removed

  • JSON: remove "server_signed" from create/sign/send transaction JSON.
  • JSON: remove "user_signed" from create/sign/send transaction JSON.
  • GA_get_transactions: Remove the top-level "addressees" element. Callers should use the "address" elements of inputs and outputs instead.