Releases: bitauth/libauth
v3.1.0-next.8
v3.1.0-next.7
v3.1.0-next.6
v3.1.0-next.5
v3.1.0-next.4
v3.1.0-next.3
v3.1.0-next.2
Minor Changes
-
#148
76879beThanks @bitjson! - Extend AuthenticationErrorCommon with all transaction verification errors -
#148
76879beThanks @bitjson! - Add support for warnings in VMB test generation -
#148
76879beThanks @bitjson! - Add support for verifying VMB tests against BCHN metrics and fail reasons -
#148
76879beThanks @bitjson! - Prevent excessive hashing in null-signature CHECKMULTISIG -
#148
76879beThanks @bitjson! - Submodule BCHN and extend package scripts to verify VMB tests
Patch Changes
-
#148
76879beThanks @bitjson! - Fix operation cost in OP_SIZE -
#148
76879beThanks @bitjson! - Move VMB test duplication checking to start of generation -
#148
76879beThanks @bitjson! - Fix operation cost in OP_NIP -
#148
76879beThanks @bitjson! - Fix operation cost in OP_ROLL -
#148
76879beThanks @bitjson! - Fix bug in isMinimalDataPush for OP_PUSHBYTES_1
v3.1.0-next.1
v3.1.0-next.0
Minor Changes
-
#138
1a03d3fThanks @github-actions! - Add support for debugging evaluations with loops -
#138
4043ae7Thanks @github-actions! - DeprecateBCH_2022_05VM, addBCH_2023_05,BCH_2025_05, andBCH_SPECVMs, update vmb_testsAdditionally, all exports have been renamed to more consistently adhere to the
camelCasecapitalization style, without exceptions for abbreviations. For exampleassembleBytecodeBCHis nowassembleBytecodeBch. To ensure backwards-compatibility, aliases (marked with@deprecatedTSdoc tags) are also exported using the old capitalization. These aliases will be removed in a future major version.
Patch Changes
-
#138
1f34ca4Thanks @github-actions! - UpdateisStandardOutputBytecodeto allow P2SH32 -
#138
d0d54b9Thanks @github-actions! - Fix OP_TXVERSION VMB tests, reduce 2025 nonstandard hashing density limit -
#138
18e1614Thanks @github-actions! - Add BCH_2026_05, add VM benchmarking -
#138
1a03d3fThanks @github-actions! - Add support for BigInt CHIP -
#138
1a03d3fThanks @github-actions! - Improve performance of all virtual machines -
#138
c0eadacThanks @github-actions! - Run VMB benchmarks in CI -
#130
ade0151Thanks @bitjson! - clarifygenerateDeterministicEntropyusage examples -
#138
1a03d3fThanks @github-actions! - Add support for Schnorr multisig in BCH VMs -
#138
49bcce4Thanks @github-actions! - Begin implementation of BCH_2025_05 and BCH_SPEC- Revised
AuthenticationVirtualMachineto removeclone(obviated by wide availability ofstructuredClone) and addinitialize, allowing VM proposals to add to the program state of an existing VM (in a type-safe way) without duplicating its unchanged logic. - Clarified documentation around contributing upgrade proposals to Libauth VMs
- Allow usage of any
BCH_SPECopcodes inassembleBytecodeBch/disassembleBytecodeBch
- Revised
-
#138
1a03d3fThanks @github-actions! - Expand VMB benchmark tests and tooling
v3.0.0
Major Changes
-
#127
e5c275fThanks @bitjson! - Add support for relative BIP32 derivationRelative BIP32 Hierarchical Deterministic (HD) derivation is now supported via the
deriveHdPathRelativeutility, and the Libauth compiler has been updated to explicitly use relative derivation by default forHdKeys. Absolute derivation has also been enhanced to validate the expected depth of provided HD keys.If you application relies on relative derivation but uses
deriveHdPath, you'll need to switch to using the newderiveHdPathRelative, as absolute derivation will now fail if provided with a non-zero depth HD key.Fixes #49.
-
#127
e5c275fThanks @bitjson! - CashAssembly:.signatureis now.ecdsa_signatureAll CashAssembly scripts using the
.signatureoperation should instead call.ecdsa_signatureor switch to.schnorr_signature.Additionally,
signing_serialization.token_prefixis now available. -
#127
e5c275fThanks @bitjson! - Unify object parameters and error handling across libraryA number of existing Libauth utilities have been modified to adhere to Libauth's object parameter and error handling conventions:
- CashAddress utilities:
- BIP32 (HD Key) utilities:
crackHdPrivateNodeFromHdPublicNodeAndChildPrivateNodedecodeHdKey(decodeHdKeyUnchecked)decodeHdPrivateKey/encodeHdPrivateKeydecodeHdPublicKey/encodeHdPrivateKeyderiveHdPathderiveHdPathRelativederiveHdPrivateNodeFromSeedderiveHdPrivateNodeIdentifier/deriveHdPublicNodeIdentifierderiveHdPrivateNodeChild/deriveHdPublicNodeChildderiveHdPublicKeyderiveHdPublicNodehdKeyVersionIsPrivateKey/hdKeyVersionIsPublicKeyhdPrivateKeyToIdentifier/hdPublicKeyToIdentifier
- BIP39 (Mnemonic Phrase) Utilities:
- Key Utilities:
Please see the relevant guide(s) for usage examples:
Minor Changes
-
#127
e5c275fThanks @bitjson! - Add usage guides and API overview -
#127
e5c275fThanks @bitjson! - Add P2PKH CashAddress utilitiesThe following utilities are now available:
hdPrivateKeyToP2pkhLockingBytecodehdPrivateKeyToP2pkhCashAddresshdPublicKeyToP2pkhLockingBytecodehdPublicKeyToP2pkhCashAddressprivateKeyToP2pkhLockingBytecodeprivateKeyToP2pkhCashAddresspublicKeyToP2pkhLockingBytecodepublicKeyToP2pkhCashAddress
For usage examples, see
wallets.md. -
#127
e5c275fThanks @bitjson! - Validate all keys prior to compilation, exposevalidateCompilationDataThe compiler now validates all compilation data (i.e. validate all public and private keys), prior to compilation, regardless of whether or not the offending public or private key material is used. This is intended to surface software defects (particularly in the software used by counterparties) as early as possible.
-
#127
e5c275fThanks @bitjson! - Add support fordecodeTransactionOutputs