What's changed
This release adds support for HIP-551 Batch Transaction, enabling execution of a series of dependent transactions as a single atomic batch, ensuring ACID compliance. It introduces a new BatchTransaction struct, a batchKey field in the Transaction class, and a batchify method to streamline batch creation and signing. Additionally, setKeyWithAlias functions now support PublicKey. The retry mechanism for the THROTTLED_AT_CONSENSUS status code has also been enhanced with a backoff strategy for improved reliability.
Added
- Support for HIP-551 Batch Transaction https://hips.hedera.com/hip/hip-551 It defines a mechanism to execute batch transactions such that a series of transactions (HAPI calls) depending on each other can be rolled into one transaction that passes the ACID test (atomicity, consistency, isolation, and durability). #3039
- New
BatchTransactionstruct that has a list ofinnerTransactionsandinnerTransactionIds. - New
batchKeyfield in Transaction class that must sign the BatchTransaction - New
batchifymethod that sets the batch key and marks a transaction as part of a batch transaction (inner transaction). The transaction is signed by the client of the operator and frozen.
- New
- Extend
setKeyWithAliasfuncs to support PublicKey. #3051 - Enhancing the retry mechanism for the status code
THROTTLED_AT_CONSENSUSusing backoffs retry mechanism. #3065 #3076