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
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
Daniel Cousens
d3b59fa7a1
CHANGELOG: add 2.2.0 notes
9 years ago
Daniel Cousens
dc7d4fcffc
Merge pull request #537 from bitcoinjs/dcousens-patch-2
README: add EI8HT wallet link
9 years ago
Daniel Cousens
1ec9e1ae88
README: add EI8HT wallet link
9 years ago
Daniel Cousens
64e45e694f
Merge pull request #534 from bitcoinjs/tforce
typeforce for hash160/256 throws hard error
9 years ago
Daniel Cousens
1771067dfc
tests: fix standard error, reword descriptions
9 years ago
Ruben de Vries
7c7537fc57
use typeforce >= 1.6.2 which allows us to use `typeforce.TfTypeError` with a custom error message.
9 years ago
Ruben de Vries
ce21c99b43
add failing test case for hash160/256 typeforce check
9 years ago
Daniel Cousens
7ba58078b1
Merge pull request #529 from blocktrail/fix-integration-test
Fixes integration tests
9 years ago
Ruben de Vries
0e1424c2cb
fixed issues with integration tests that use the faucet
9 years ago
JP Richardson
7937835415
Merge pull request #531 from bitcoinjs/fix-test
fixed another test where TX was signed before locktime was set
9 years ago
Ruben de Vries
b601f50c70
fixed another test where TX was signed before locktime was set
9 years ago
JP Richardson
682ba7e549
Merge pull request #530 from bitcoinjs/lesscomp
address: fix compiled assumption for fromOutputScript
9 years ago
Daniel Cousens
67da1b30e3
address: fix compiled assumption for fromOutputScript
9 years ago
JP Richardson
4ee194e840
Merge pull request #507 from bitcoinjs/locktime
txbuilder: add setLockTime
9 years ago
Daniel Cousens
f3913516ca
Merge pull request #509 from bitcoinjs/pow
Add Block proof-of-work validation function
9 years ago
Daniel Cousens
9a62ab600f
tests: update integration tests to use setLockTime
9 years ago
Daniel Cousens
8a37c1193a
tests: add signature invalidation test for setLockTime
9 years ago
Daniel Cousens
6c0745adce
TxBuilder: add setLockTime
9 years ago
Daniel Cousens
bda2e28a8f
Merge pull request #524 from blocktrail/txb-locktime-test
locktime and version were set too late in test scenario
9 years ago
Daniel Cousens
61d5e00ef1
Merge pull request #525 from bitcoinjs/license-link
README: directly link to LICENSE
9 years ago
Daniel Cousens
541e5b29dc
Merge pull request #526 from bitcoinjs/https-badges
README: use https for badges
9 years ago
Daniel Cousens
2989fa783b
README: use https for badges
9 years ago
Daniel Cousens
3029ebee9d
README: directly link to LICENSE
9 years ago
Ruben de Vries
ccec864785
locktime and version were set too late in test scenario and not included when signing (the test scenario).
9 years ago