Commit graph

1515 commits

Author SHA1 Message Date
Daniel Cousens
4be502a1bd tests: add non-canonical pubkey fixtures 2015-08-22 12:32:01 +10:00
Daniel Cousens
abac254d0d script: use bip66 for signature checking 2015-08-22 11:54:00 +10:00
Daniel Cousens
e1cb5e6152 amend ECSignature tests to reflect BIP66 module 2015-08-21 21:22:33 +10:00
Daniel Cousens
1e23085ad7 use bip66 module 2015-08-21 20:35:22 +10:00
Daniel Cousens
252336ab8c ECPair: fix modulo bias in makeRandom 2015-08-21 16:46:18 +10:00
Daniel Cousens
e5e24256fd integration: mimic HDNode speedup 2015-08-20 18:25:54 +10:00
Daniel Cousens
5846b35072 Merge pull request #445 from bitcoinjs/hdnodespd
HDNode: avoid creating multiple buffers
2015-08-20 14:25:22 +10:00
Daniel Cousens
e3f21ebeb2 HDNode: avoid creating multiple buffers 2015-08-20 14:23:27 +10:00
Daniel Cousens
b866dc8f78 Merge pull request #444 from bitcoinjs/varbreak
Various breaking changes
2015-08-20 13:59:18 +10:00
Daniel Cousens
8934de591c use baddress/bcrypto/bscript for ambuigities 2015-08-20 13:55:13 +10:00
Daniel Cousens
6ec687deba rename scripts to script 2015-08-20 13:55:13 +10:00
Daniel Cousens
18e9cdcc02 rename Address to address 2015-08-20 13:55:13 +10:00
Daniel Cousens
8f9d59fb18 ECPair: stop exposing ECDSA curve 2015-08-20 13:55:13 +10:00
Daniel Cousens
b95223adcd tests: clean up core test imports 2015-08-20 13:32:00 +10:00
Daniel Cousens
b62dd19f0d tests: clean up TxBuilder beforeEach constants 2015-08-20 13:32:00 +10:00
Daniel Cousens
ca4debd92e types: Expected Buffer, length to follow 2015-08-19 15:27:06 +10:00
Daniel Cousens
bfb7289cf2 Merge pull request #438 from bitcoinjs/noscript
No Script
2015-08-19 15:03:40 +10:00
Daniel Cousens
00dad84880 integration: annotate the shared secret 2015-08-19 15:00:06 +10:00
Daniel Cousens
b56bbce472 integration: nonce is not shared 2015-08-18 16:13:12 +10:00
Daniel Cousens
3bf4e27545 README: fix crypto integration URLs 2015-08-18 15:40:53 +10:00
Daniel Cousens
2ccf00f4be integration: clean up single-key stealth derivation 2015-08-18 15:40:53 +10:00
Daniel Cousens
c06df2df8a TxBuilder: fix equals is undefined in Node 0.10 2015-08-18 14:55:23 +10:00
Daniel Cousens
97a0008445 types: rm Script type 2015-08-18 14:45:00 +10:00
Daniel Cousens
706f5d7a9c scripts: adds tests for *HashOutput 2015-08-18 14:44:30 +10:00
Daniel Cousens
ab1215adc1 scripts: refactor to/from ASM 2015-08-18 14:44:30 +10:00
Daniel Cousens
b933c6da44 scripts: re-add constrained hash types to *HashOutput 2015-08-18 14:44:30 +10:00
Daniel Cousens
20fd3cee8c rename EMPTY to EMPTY_SCRIPT, extract VALUE_UINT64_MAX constant 2015-08-18 14:44:30 +10:00
Daniel Cousens
1c92cfb373 integration: fix script usage in integration tests 2015-08-18 14:44:30 +10:00
Daniel Cousens
e2abe2b3af merge Script/scripts 2015-08-18 14:44:30 +10:00
Daniel Cousens
151386c46d scripts: remove coercion, fromASM returns Buffer 2015-08-18 14:44:30 +10:00
Daniel Cousens
812d74aa0a coerce wherever necessary for now 2015-08-18 14:44:29 +10:00
Daniel Cousens
2aff7bd899 tests: add more tests for Script compile/decompile 2015-08-18 14:44:29 +10:00
Daniel Cousens
e05f8a542d remove Script object 2015-08-18 14:44:29 +10:00
Daniel Cousens
e743c58ed6 remove usage of instanced Scripts 2015-08-18 14:44:29 +10:00
Daniel Cousens
5d2abb523e HDNode: use typeforce.tuple for arguments 2015-08-18 14:21:38 +10:00
Daniel Cousens
eb752f8316 tests: fix bitcoin core address tests 2015-08-18 10:20:51 +10:00
Daniel Cousens
3f8dd30ed4 Merge pull request #441 from bitcoinjs/addrerrors
address: consistent errors
2015-08-18 09:30:43 +10:00
Daniel Cousens
fd7f0b0ef8 address: use input first errors, easier detection 2015-08-18 09:27:55 +10:00
Daniel Cousens
21980b60b5 Merge pull request #434 from bitcoinjs/noassert
Remove assert, use typeforce typing
2015-08-17 22:03:12 +10:00
Daniel Cousens
6002d9abd4 ecdsa: fix up tuple indentation 2015-08-14 10:56:31 +10:00
Daniel Cousens
94e16fbe37 rename __disableExcess to __noStrict 2015-08-14 10:56:31 +10:00
Daniel Cousens
92d16142d1 ECSignature: use types.tuple for arguments 2015-08-14 10:56:31 +10:00
Daniel Cousens
33a9dc4cce dustThreshold is a UInt53 2015-08-14 10:56:31 +10:00
Daniel Cousens
70c874e3cc bufferutils: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
d85df4a6d6 TransactionBuilder: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
c1a965d096 ECSignature: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
f2f0747187 Transaction: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
e4b697a261 scripts: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
1d4a71852f Script: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
395c43ad74 block: remove use of assert 2015-08-14 10:56:31 +10:00