Releases: peercoin/coinlib
Releases · peercoin/coinlib
v4.1.0
v4.0.0
- The
TaprootKeyInput
will now write an empty witness stack element to represent a missing signature. These inputs without a signature will be recognised when matching an input or reading a transaction. TaprootSingleScriptSigInput.anyPrevOutAnyScript()
has been removed. AllTaprootSingleScriptSigInput
inputs now require theTaproot
andTapLeafChecksig
.- Fixes Windows build sometimes hanging
v3.1.0
v3.0.0
This release adds support for ANYPREVOUT and ANYPREVOUTANYSCRIPT. There have been numerous breaking changes.
- Refactored
SigHashType
to useOutputSigHashOption
andInputSigHashOption
. Adds ANYPREVOUT and ANYPREVOUTANYSCRIPT. - Add
TapLeafChecksig
for single signature checksig tapscripts - Add
TaprootSingleScriptSigInput
to sign tapscripts usingTapLeafChecksig
. Can sign using ANYPREVOUT and ANYPREVOUTANYSCRIPT. - Replaced
sign()
withsignLegacy()
,signLegacyWitness()
,signTaproot()
andsignTaprootSingleScriptSig()
. - Added
SignDetails
with numerous subclasses for providing signing details for inputs.SignatureHasher
subclasses andInput
sign methods refactored accordingly. - Taproot signatures are made using SIGHASH_DEFAULT by default.
v2.2.0
v2.0.0
Final version 2.0.0 for coinlib
and coinlib_flutter
.
- Add support for Taproot with the
Taproot
class, Taproot addresses withP2TRAddress
, aP2TR
program and inputs withTaprootKeyInput
andTaprootScriptInput
. - Adds support for Windows.
- Adds
CoinSelection
class with coin selection algorithms. - Substantially reduce size of Javascript for web target.
- New
CoinUnit
class handles strings for coin amounts. - Various other breaking changes and improvements. Please see the full
coinlib/CHANGELOG.md
.