Commit graph

1881 commits

Author SHA1 Message Date
Daniel Cousens
7a066b68ed HDNode: remove unnecessary this context 2016-10-06 14:08:27 +11:00
Daniel Cousens
ed093aec69 stealth: more explicit inner variable names 2016-10-06 14:07:08 +11:00
Daniel Cousens
c61c96acc2 Merge pull request #646 from bitcoinjs/nbuffix
package: update to typeforce 1.8.7
2016-10-06 14:05:00 +11:00
Daniel Cousens
b91cfcf196 package: update to typeforce 1.8.7 2016-10-06 12:34:11 +11:00
Daniel Cousens
4ae06003c4 Merge pull request #638 from bitcoinjs/minpush
script: always compile in a minimaldata compliant way
2016-10-05 19:31:52 +11:00
Daniel Cousens
1d0f48b03e Merge pull request #637 from bitcoinjs/txbb
TransactionBuilder: major internal refactor
2016-10-05 10:36:16 +11:00
Daniel Cousens
c1570f8056 script: always compile in a minimaldata compliant way 2016-09-29 13:51:17 +10:00
Daniel Cousens
1aab317dad TransactionBuilder: extract internal signature invalidation functions for individual testing 2016-09-28 16:47:58 +10:00
Daniel Cousens
ccde09fdc3 TransactionBuilder: move fixMultisigOrder back to free function 2016-09-28 15:27:14 +10:00
Daniel Cousens
402e871d40 TransactionBuilder: move sign bulk to prepareInput 2016-09-28 15:23:52 +10:00
Daniel Cousens
a1d3e33c84 address/crypto/script/types: adhere to no-use-before-define 2016-09-28 15:23:52 +10:00
Daniel Cousens
d3ccbb6277 TransactionBuilder: rename index to vout internally 2016-09-28 01:23:37 +10:00
Daniel Cousens
9e5aac8bac TransactionBuilder: fix duplicate txOut detection 2016-09-28 01:23:37 +10:00
Daniel Cousens
76c7c77311 tests: add failing test for #633 2016-09-28 01:23:37 +10:00
Daniel Cousens
b3fd50ffd6 TransactionBuilder: refactor extractInput/extractFromOutput 2016-09-28 00:50:46 +10:00
Daniel Cousens
418c315c78 tests: clarify multisig edge case for easier debugging 2016-09-28 00:46:14 +10:00
Daniel Cousens
ae63ae1131 tests: change error thrown for consistency with multisig 2016-09-28 00:20:49 +10:00
Daniel Cousens
d5eec5df70 tests: fix invalid test description 2016-09-28 00:20:49 +10:00
Daniel Cousens
fdb0ceeeb5 testing: rename cltvCheckSigInput to cltvCheckSigOutput 2016-09-27 23:45:25 +10:00
Daniel Cousens
377d8ecc68 Merge pull request #636 from bitcoinjs/txb3
TransactionBuilder: avoid extra getPublicKeyBuffer calls
2016-09-27 23:16:46 +10:00
Daniel Cousens
6826aa312d TransactionBuilder: less exits 2016-09-27 22:39:38 +10:00
Daniel Cousens
83b2bb5d6a TransactionBuilder: avoid extra getPublicKeyBuffer calls 2016-09-27 22:39:38 +10:00
Daniel Cousens
a4def1049c Merge pull request #634 from bitcoinjs/txbb
TransactionBuilder cleanup
2016-09-27 16:55:50 +10:00
Daniel Cousens
302b4f0796 TransactionBuilder: signatureScript is only defined once 2016-09-27 16:31:09 +10:00
Daniel Cousens
fbcc23fa14 TransactionBuilder: avoid unnecessary cache object 2016-09-27 15:42:14 +10:00
Daniel Cousens
49c6ebe3a0 TransactionBuilder: reword error for correctness 2016-09-27 15:42:11 +10:00
Daniel Cousens
96f55a2ca4 Merge pull request #626 from bitcoinjs/clean
TransactionBuilder: remove unused variables
2016-09-26 16:41:01 +10:00
Daniel Cousens
fd0be5e5b8 tests: add missing parenthesis 2016-09-26 16:32:16 +10:00
Daniel Cousens
61718cdbaa txb: remove unused variables 2016-09-26 15:34:43 +10:00
Daniel Cousens
87f0d33a01 tests: script-number, not script 2016-09-15 00:19:14 +10:00
Daniel Cousens
9f8b8c71dd Merge pull request #621 from bitcoinjs/nyc
Use NYC over blanket
2016-09-14 22:50:41 +10:00
Daniel Cousens
4cfe950403 tests: adhere to camelCase 2016-09-14 22:37:21 +10:00
Daniel Cousens
dc86a74f0b package: use nyc for coverage 2016-09-14 22:37:20 +10:00
Daniel Cousens
bcb4fb315e package: upgrade to standard@8.0.0 2016-09-14 22:37:04 +10:00
JP Richardson
9ab503e36d Merge pull request #614 from bitcoinjs/230
v2.3.0
2016-08-31 22:02:05 -05:00
Daniel Cousens
27e83a2d8a 2.3.0 2016-08-31 16:19:55 +10:00
Daniel Cousens
8e0d9a7f69 update CHANGELOG for 2.3.0 2016-08-31 16:19:55 +10:00
Daniel Cousens
b5d9a7dfa0 Merge pull request #617 from bitcoinjs/buffix
bufferutils: fix pushDataInt output, BIP62 compliance
2016-08-31 16:10:45 +10:00
Daniel Cousens
17c6ff62a0 bufferutils: fix pushDataInt output 2016-08-31 16:01:36 +10:00
Daniel Cousens
1f62235c38 tests: add failing script decode 2016-08-31 16:01:36 +10:00
Daniel Cousens
d96b7036fb tests: add BIP62 compliance tests 2016-08-31 16:01:36 +10:00
Daniel Cousens
2638b251e1 Merge pull request #616 from bitcoinjs/stealthclean
tests: improved readability for stealth address code
2016-08-17 16:48:12 +10:00
Daniel Cousens
e74b882e54 tests: improved readability for stealth address code 2016-08-17 13:11:01 +10:00
Daniel Cousens
da6aea4039 Merge pull request #615 from bitcoinjs/hltc
Add another CLTV test,  isolate tests and cleanup
2016-08-17 11:07:40 +10:00
Daniel Cousens
acbc8fcb2d Merge pull request #603 from bitcoinjs/txbuffer
Transaction: allow parameterizable buffer
2016-08-13 11:53:54 +10:00
Daniel Cousens
49564c2c3f README: fix example links 2016-08-13 11:46:42 +10:00
Daniel Cousens
f2ecbeb90f tests/integration: separate crypto tests 2016-08-13 11:42:53 +10:00
Daniel Cousens
ddea2d2296 tests/integration: separate CLTV tests, add failing expiry (in future) 2016-08-13 11:42:16 +10:00
Daniel Cousens
fa54ba4f82 tests/transaction: add test for target Buffer 2016-08-10 11:44:09 +10:00
Daniel Cousens
cc1af7d6a3 Transaction: return a slice, not the original Buffer 2016-08-10 11:44:09 +10:00