bitcoinjs-lib
Advanced tools
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)Changelog
4.0.4
fixed
'rmd160'
alias for ripemd160 hash. (#1373)Changelog
4.0.3
fixed
TransactionBuilder
to require that the Transaction has outputs before signing (#1151)payments.p2sh
, which now takes the network from the redeem attribute if one is not given in the object argument (#1232)Block.calculateTarget
to allow for exponents up to 29 (#1285)TransactionBuilder
multisig processing (#1307)added
networks
(#1261)Changelog
4.0.2
fixed
TransactionBuilder
not throwing when payment type validation should fail (#1195)removed
package.json
from src/payments
(#1216)Changelog
4.0.1
fixed
tiny-secp256k1
dependency version (used ecurve
) (#1139)TransactionBuilder
throwing when trying to sign P2WSH(P2WPKH)
(#1135)Changelog
3.3.1
changed
TransactionBuilder
maximumFeeRate
from 1000 to 2500 satoshis/byte. (#931)Changelog
3.3.0
added
ECSignature.prototype.toRSBuffer
/ECSignature.fromRSBuffer
(#915)TransactionBuilder
for 64-byte signatures via .sign
(#915)TransactionBuilder
for the .publicKey
standard as an alternative to .getPublicKey()
(#915)Changelog
3.2.1
fixed
script.scripthash.input.check
recursion (#898)TransactionBuilder
sometimes ignoring witness value (#901)script.witnessScriptHash.input
implementation (previously used the P2SH impl.) (#911)