Yemel Jardi
0beed6efa4
Refactor HDPublicKey path validation
10 years ago
Yemel Jardi
f78ebeb46c
Refactor HDPrivateKey path validation
10 years ago
Esteban Ordano
e01003f40b
Merge pull request #888 from yemel/fix/script-toAddress
Use defaultNetwork in Script.toAddress
10 years ago
Yemel Jardi
884cae7349
Fix another typo
10 years ago
Yemel Jardi
d369154162
Script: remember network when creating from address or pubkey
10 years ago
Braydon Fuller
ff4a6f549d
Fixed bugs in IE11
10 years ago
Braydon Fuller
a801663c6d
Fixed bug in Safari for PublicKey and Script instance checking in Address
10 years ago
Braydon Fuller
9c02a4b677
Tests: Use karma to launch browsers locally if installed.
10 years ago
Yemel Jardi
6fb5c4771f
Merge pull request #894 from braydonf/bug/public-key-calculation
Fixed public key calculation in rare situations that would produce an invalid point
10 years ago
Esteban Ordano
4920932db8
Merge pull request #892 from yemel/fix/privatekey-tostring
Change PrivateKey.toString from WIF to hex format
10 years ago
Manuel Aráoz
943a09255b
Merge pull request #896 from ryanxcharles/test/deterministicK
add deterministicK test vectors
10 years ago
Ryan X. Charles
97b6e8b989
add deterministicK test vectors
These vectors were produced by @bip32JP and tested against a similar
implementation of the "badrs" approach to RFC 6979 in python-ecdsa as described
in this related bitcoinjs-lib PR:
https://github.com/bitcoinjs/bitcoinjs-lib/pull/337
10 years ago
Braydon Fuller
d2a2be7a93
Upgraded bn.js to fix public key calculation problem, restored crypto/point.js, and added additional tests.
10 years ago
Braydon Fuller
bc4e62ecd4
Fixed public key calculation by returning the elliptic ec.curve.g
10 years ago
Braydon Fuller
3de6acc176
Add tests that reveals incorrect public key calculation
10 years ago
Esteban Ordano
5ae97a7146
Merge pull request #893 from braydonf/bug/json-detection
Fixed an issue where a hexa string was mistakenly recognized as JSON
10 years ago
Esteban Ordano
dc7abe054b
Merge pull request #891 from yemel/fix/hd-random-testnet
Allow creating a new random testnet HDPrivate key
10 years ago
Braydon Fuller
a1ee393dce
JSUtil: Return result quicker for isValidJSON and add additional tests.
10 years ago
Braydon Fuller
c20a0eabed
Check type of parsed JSON to determine it's an object and not a number.
10 years ago
Braydon Fuller
5449ad7bff
Add test case that incorrectly handles hexa string as json
10 years ago
Yemel Jardi
5e292490e8
update tests
10 years ago
Yemel Jardi
9f8e2c721f
fix typo
10 years ago
Yemel Jardi
ff844e9935
Change PrivateKey.toString from WIF to hex format
10 years ago
Yemel Jardi
bb3064d336
fix typo
10 years ago
Yemel Jardi
98cfd646e7
Allow creating a new random testnet HDPrivate key
10 years ago
Yemel Jardi
b1557a25ab
Merge pull request #872 from eordano/feature/blockchainProvider
Add Insight and UTXO class
10 years ago
Esteban Ordano
48cea84435
Fix links to insight
10 years ago
Esteban Ordano
2284eec829
Fix comments on the Insight and UTXO docs
10 years ago
Esteban Ordano
f56ddb2a0a
Rename properly utxo to unspentoutput
10 years ago
Yemel Jardi
2aa5c65945
Add validations to derivation path
10 years ago
Esteban Ordano
7fe17e1699
Move explorers inside transport
10 years ago
Esteban Ordano
7cf826249b
Add jsdocs and documentation to UnspenOutput and Insight
10 years ago
Esteban Ordano
11975bc0df
Rename UTXO to Transaction.UnspentOutput
10 years ago
Esteban Ordano
1cf108ab47
Add tests for UTXO
10 years ago
Esteban Ordano
9362927b43
Add test coverage for Insight
10 years ago
Esteban Ordano
476f009b4d
Add Insight and UTXO class
10 years ago
Esteban Ordano
9f32c1b7ba
Merge pull request #887 from braydonf/bug/elliptic-hash-dep
Use the same version as specified in the elliptic package.json Closes #886
10 years ago
Yemel Jardi
9deec5e1c2
Use defaultNetwork in Script.toAddress
10 years ago
Braydon Fuller
6ace41834f
Upgraded elliptic and bn to the latest versions
10 years ago
Braydon Fuller
2de77f6f5c
Use the same version as specified in the elliptic package.json
10 years ago
Yemel Jardi
754add30df
Merge pull request #884 from bip32JP/master
Fixed deterministicK() to match python-ecdsa
10 years ago
bip32JP
bc6f592daa
fix tests
fix tests to match python-ecdsa
10 years ago
bip32JP
95bfb18849
Fix the error loop.
I added a similar badrs function to python-ecdsa and compared the results.
The 1 badrs (aka forcing it to loop once) gave me a different value. It turns out you missed one of the `v = hmac_k(v)` steps during the loop.
Adding one extra `v = hmac_k(v)` in each loop makes it match up with python-ecdsa perfectly (I even tried up to badrs = 30 and it was fine.
10 years ago
Yemel Jardi
9a5193d8e9
Merge pull request #873 from eordano/fix/isFullySigned
transaction: better errors for signature methods
10 years ago
Yemel Jardi
0adcba7145
Merge pull request #874 from eordano/fix/noUndefinedNetwork
Add default network to PublicKey
10 years ago
Yemel Jardi
379405396e
Merge pull request #875 from eordano/fix/honorPublicKeyNetwork
Honor publicKey.network on create multisig address
10 years ago
Esteban Ordano
901d836231
Add default network to PublicKey
Closes #871
10 years ago
Esteban Ordano
5ef9975ac5
Honor publicKey.network on create multisig address
Closes #870
10 years ago
Esteban Ordano
dbf47ef78f
transaction: better errors for signature methods
Closes #868
10 years ago
Braydon Fuller
e4a8fe4d95
Merge pull request #867 from yemel/fix/testnet-private
Fix creation of a randomn testnet private key
10 years ago