Merge pull request #535 from bitcoinjs/220

v2.2.0
This commit is contained in:
Daniel Cousens 2016-02-06 03:21:56 +11:00
commit 61d08fab94
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,15 @@
# 2.2.0
__added__
- Added `Block.calculateTarget` for difficulty calculations (#509)
- Added `Block.prototype.checkProofOfWork` (#509)
- Added `opcodes.OP_CHECKLOCKTIMEVERIFY` alias for `OP_NOP2` (#511)
- Added `script.number.[encode/decode]` for CScriptNum-encoded `Buffer`s (#516)
- Added `TransactionBuilder.prototype.setLockTime` (#507)
__fixed__
- Bumped `typeforce` version to fix erroneous error message from `types.Hash*bit` types (#534)
# 2.1.4 # 2.1.4
__fixed__ __fixed__
- script.isPubKeyHashOutput and script.isScriptHashOutput no longer allow for non-minimal data pushes (per bitcoin/bitcoin `IsStandard` policy) (#499) - script.isPubKeyHashOutput and script.isScriptHashOutput no longer allow for non-minimal data pushes (per bitcoin/bitcoin `IsStandard` policy) (#499)

View file

@ -1,6 +1,6 @@
{ {
"name": "bitcoinjs-lib", "name": "bitcoinjs-lib",
"version": "2.1.4", "version": "2.2.0",
"description": "Client-side Bitcoin JavaScript library", "description": "Client-side Bitcoin JavaScript library",
"main": "./src/index.js", "main": "./src/index.js",
"keywords": [ "keywords": [