bitcoinjs-lib
Advanced tools
Changelog
5.1.2
added
ECPair
and bip32
objects now have a lowR boolean attribute defaulted to false. You may set it to true to ensure that the sign method uses low R values (#1442) (This is to enable low R usage in Psbt, since we decided not to give the low R flag to the Psbt class, since it makes more sense to be an attribute of the Signer interface)Changelog
5.1.0
added
Psbt
class for creating, distributing, combining, signing, and compiling Transactions (#1425)name
attribute to the Payment interface. P2SH and P2WSH are nested with '-'
as separator, and p2ms is in the format of 'p2ms(m of n)''
all others are just hard coded. (#1433)changed
TransactionBuilder
: Migrate to stricter type checks during sign by switching to a single object parameter (#1416)tests
: Use regtest-client as separate library (#1421)Changelog
5.0.5
added
ECPairInterface
Stack
and StackElement
interfaces to the main index.ts export (TypeScript only affected)Changelog
5.0.4
added
txb.setLowR()
(#1385)fixed
Changelog
4.0.5
fixed
Changelog
5.0.0
added
Block.prototype.checkTxRoots
will check the merkleRoot and witnessCommit if it exists against the transactions array. (e52abec) (0426c66)changed
Transaction.prototype.getHash
now has forWitness?: boolean
which when true returns the hash for wtxid (a652d04)Block.calculateMerkleRoot
now has forWitness?: boolean
which when true returns the witness commit (a652d04)removed
Block.prototype.checkMerkleRoot
was removed, please use checkTxRoots
(0426c66)