BitcoinJS v2.3.0 Release Notes

  • added

    • ➕ Added HDNode.prototype.isNeutered (#536)
    • ➕ Added HDNode.prototype.derivePath (#538)
    • ➕ Added typeforce checking for HDNode.prototype.derive* (#539)
    • ➕ Added Transaction.prototype.isCoinbase (#578)
    • ➕ Added Block.prototype.checkMerkleRoot (#580)
    • ➕ Added Block.calculateMerkleRoot (#580)
    • ➕ Added TransactionBuilder.prototype.setVersion (#599)
    • ➕ Added script.isWitnessPubKeyHashOutput (#602)
    • ➕ Added script.isWitnessScriptHashOutput (#602)
    • ➕ Added script.witnessPubKeyHashOutput (#602)
    • ➕ Added script.witnessScriptHashOutput (#602)
    • ➕ Added script.witnessScriptHashInput (#602)

    🛠 fixed

    • 🛠 Fixed "BIP32 is undefined" when network list given to HDNode but no compatible version found (#550)
    • 🛠 Fixed writePushDataInt output to adhere to minimal data push policy (#617)