Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (34 loc) · 2.94 KB

migration-guide-1.13.0-1.14.0.md

File metadata and controls

48 lines (34 loc) · 2.94 KB

Libindy 1.13 to 1.14 migration Guide

This document is written for developers using Libindy to provide necessary information and to simplify their transition to Libindy 1.13 from Libindy 1.14. If you are using older Libindy version you can check migration guides history:

Table of contents

Libindy 1.13 to 1.14 migration

Ledger API

The v1.14 release contains some changes related to transaction author agreement functionality.

This changes allow to user to review and accept the TAA in advance of it being written to the ledger. Thus when we submit a transaction we can report the real date of meaningful acceptance, instead of an arbitrary date engineered to be newer than when the TAA is added.

The TAA could be legally accepted at any point after the TAA is approved by network governance.

There are two changes related to Libindy Ledger API:

  • extended definition of indy_build_txn_author_agreement_request to accept new parameters:

    • ratification_ts - the date (timestamp) of TAA ratification by network government.
    • retirement_ts - the date (timestamp) of TAA retirement.

    Please take a look that this breaks API regarding earlier Libindy versions.

  • added a new function indy_build_disable_all_txn_author_agreements_request to build DISABLE_ALL_TXN_AUTHR_AGRMTS request. Request to disable all Transaction Author Agreement on the ledger.

More details regarding updated transaction author agreement workflow you can find in this file.