Daniel Cousens
ea2a7449ad
tests: add isCoinbase tests and flags to fixtures
9 years ago
Karel Bilek
f958dd1e86
Adding Transaction.prototype.isCoinbase
9 years ago
Daniel Cousens
8a59fc1b3b
Merge pull request #574 from bitcoinjs/013
README: remove mention of 0.1.3
9 years ago
Daniel Cousens
9ff5f37509
README: emphasise warning
9 years ago
Daniel Cousens
bd41ee8de2
README: remove mention of 0.1.3
9 years ago
Daniel Cousens
d06f838796
Merge pull request #576 from bitcoinjs/feature/travis-node-v6
Add Node.js v6 to .travis.yml
9 years ago
Kirill Fomichev
c5d71a8bd8
Add Node.js v6 to .travis.yml
https://nodejs.org/en/blog/release/v6.0.0/
9 years ago
Daniel Cousens
f1a20f1ec8
Merge pull request #575 from bitcoinjs/ectypes2
ECPair cleanup
9 years ago
Daniel Cousens
ea4ce4e2a6
ECPair: no elseif needed, move default for clarity
9 years ago
Daniel Cousens
00cee340dd
ECPair: don't depend on WIF error message, avoid unnecessary import
9 years ago
Daniel Cousens
e52c0d5b67
ECPair: use toBase58Check
9 years ago
Daniel Cousens
85e3cce00e
Merge pull request #573 from bitcoinjs/complextx
tests: add more complex integration transaction
9 years ago
Daniel Cousens
31923197ea
tests: add more complex integration transaction
9 years ago
Daniel Cousens
9db67bb3b1
Cleanup for #540 ( #551 )
* Txbuilder: early exit as soon as possible
* Txbuilder: prefer function declaration over variable
* TxBuilder: extract extractFromOutputScript
* TxBuilder: extract buildFromInputData
9 years ago
Daniel Cousens
93f9185628
Merge pull request #564 from bitcoinjs/dcousens-patch-2
README: clarify uglify (resolves #555 )
9 years ago
Daniel Cousens
74f2e01978
README: clarify uglify ( resolves #555 )
9 years ago
Daniel Cousens
0cedacddc6
Merge pull request #557 from fanatid/feature/buffer-reverse
Use equal and reverse for buffer from bufferutils
9 years ago
Kirill Fomichev
bc9a95e0ae
Use buffer-reverse instead [].reverse.call
9 years ago
Daniel Cousens
f999ff6382
Merge pull request #552 from bitcoinjs/popular
README: `1.0.0` is now more popular
9 years ago
Daniel Cousens
7546b2bb52
README: `1.0.0` is now more popular
9 years ago
Daniel Cousens
7d2b2dee45
Merge pull request #550 from bitcoinjs/testnet
Add network list tests for ECPair/HDNode
9 years ago
Daniel Cousens
285bbd6478
Merge pull request #540 from blocktrail/segwit-prep
Refactoring `extractInput` and `__build` to enable nested scripts
9 years ago
Daniel Cousens
aae5db6a59
ECPair/HDNode: missing version from list is Unknown, not Invalid
9 years ago
Daniel Cousens
bdb0dd4a17
HDNode/tests: add testing for invalid network version from networks list
9 years ago
Daniel Cousens
9e32c892ef
ECPair/tests: always use WIF for error throwing
9 years ago
Daniel Cousens
54c071c131
Merge pull request #549 from fanatid/feature/wif-2.0.1
Update wif to 2.0.1
9 years ago
Kirill Fomichev
48866992d4
Update wif to 2.0.1
9 years ago
Daniel Cousens
2f2e50092c
Merge pull request #542 from fanatid/feature/package.json-files
whitelist of files for npm package
9 years ago
Daniel Cousens
46969bbd3e
Merge pull request #544 from fanatid/feature/package.json-license
Add license field to package.json
9 years ago
Kirill Fomichev
437cd52534
Add license field to package.json
9 years ago
Ruben de Vries
7aaae4c001
Refactoring `extractInput` and `__build` to enable nested scripts (`P2SH[ P2PKH / multsig ]`).
This is preperation for the segwit support which will have `P2SH[ P2WSH[ P2PKH / multsig ] ]` scripts
9 years ago
Kirill Fomichev
bed6ca0bb4
Travis: node versions as strings
9 years ago
Kirill Fomichev
567ac74384
Use files in package.json instead .npmignore
9 years ago
Daniel Cousens
17041553df
Merge pull request #538 from runn1ng/patch-2
Adding path derivation
9 years ago
Karel Bilek
3c56e80fc6
Simplifying path regex
9 years ago
Karel Bilek
6a74eb6993
Renaming Path to Bip32Path, invalid to fixtures
Only thing I haven't been able to do is to add "undefined" to fixtures. So I could not properly test
that node.derivePath() properly fails as it should. However, I added "null" there, and "null" and "undefined"
behave in similar way in JavaScript, so that should catch that.
9 years ago
Karel Bilek
d2b43f1dfe
Validating path
Again through typeforce
9 years ago
Karel Bilek
182698f53d
Using parseInt instead of + in path parsing
+ can cause issues - +"" is 0. parseInt("", 10) is NaN, which is better (since it causes typeforce to throw).
9 years ago
Karel Bilek
755eac5bbd
Doubling down on the path testing
Maybe overdoing it a bit :)
9 years ago
Karel Bilek
7a61526705
Testing path derivation
I am taking description field for the path.
9 years ago
Karel Bilek
7defe6fe4c
Adding path derivation
The argument is path of either numbers or strings.
String with "'" at the end signifies hardened path.
9 years ago
Daniel Cousens
b3b239739b
Merge pull request #539 from runn1ng/patch-3
Adding some checks on deriving indexes
9 years ago
Karel Bilek
4a72001335
Typechecking indexes
As a consequence, it will not allow accidentally double-hardened indexes.
It also won't allow strings or forgotten parameters.
9 years ago
Daniel Cousens
75bd8331cd
Merge pull request #536 from runn1ng/patch-1
Adding function to decide if HDNode is private
9 years ago
Karel Bilek
bfd294c31e
Adding tests for isNeutered
9 years ago
Karel Bilek
3df2976e2c
Using private key for testing neuterization
To test removing private information, it's probably better to start with them :)
9 years ago
Karel Bílek
fbcb478560
Adding function to decide if HDNode is public
Public === neutered. Private === not neutered
9 years ago
Daniel Cousens
61d08fab94
Merge pull request #535 from bitcoinjs/220
v2.2.0
9 years ago
Daniel Cousens
1679becb35
2.2.0
9 years ago
Daniel Cousens
77fed42a26
CHANGELOG: add PR numbers
9 years ago