Commit graph

878 commits

Author SHA1 Message Date
Daniel Cousens
322ade58e4 revert 4b825bf 2015-09-09 12:32:12 +10:00
Daniel Cousens
a5196dedcb ECPair: enforce <= 0, not just === 2015-09-09 00:48:06 +10:00
Daniel Cousens
a72e608898 ECPair: loop until within interval 2015-09-09 00:48:06 +10:00
Daniel Cousens
1ea5252511 TxBuilder: only allow OP_0's when building 2015-09-08 21:22:54 +10:00
Daniel Cousens
b252924517 types: remove ECCurve 2015-09-05 15:42:25 +10:00
Daniel Cousens
e8cb7c16da Transaction: coinBaseHash no longer relevant 2015-09-05 14:28:28 +10:00
Daniel Cousens
4b825bf2a8 HDNode: stop exposing constants 2015-09-05 14:27:53 +10:00
Daniel Cousens
ccfaaf0b6f ecdsa: remove curve parameter 2015-09-05 14:27:53 +10:00
Daniel Cousens
146bc8e11a address: re-use fromBase58Check internally 2015-09-05 14:27:53 +10:00
Daniel Cousens
48dc0a9054 script: no need to use readUInt8 2015-09-05 14:27:53 +10:00
Daniel Cousens
2d75b7e7ff standard: remove padded Blocks 2015-09-05 14:10:32 +10:00
Daniel Cousens
ec1195bcee Merge pull request #448 from bitcoinjs/bip66
Extract BIP66 module
2015-08-25 14:17:44 +10:00
Daniel Cousens
e94ec00919 types: restore quacking behaviour 2015-08-25 13:47:11 +10:00
Wei Lu
79db118417 Merge pull request #446 from bitcoinjs/wifex
ECPair: extract WIF to 3rd party module
2015-08-23 23:24:07 +08:00
Daniel Cousens
96c04d0787 ECPair: makeRandom, fix comparison 2015-08-24 01:04:36 +10:00
Daniel Cousens
d46035a35f ECPair: rm duplicate throw 2015-08-24 01:00:51 +10:00
Daniel Cousens
b12f559b85 HDNode: consistent capitalization in comments 2015-08-22 12:53:47 +10:00
Daniel Cousens
92937a8ded script: rm unused ecurve 2015-08-22 12:37:17 +10:00
Daniel Cousens
3106fc13ca script: refactor isCanonicalPubKey to bitcoin-core equivalent 2015-08-22 12:32:03 +10:00
Daniel Cousens
0ff5bd5698 script: add isDefinedHashType to check hashType 2015-08-22 12:32:03 +10:00
Daniel Cousens
abac254d0d script: use bip66 for signature checking 2015-08-22 11:54:00 +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
efacd387be ECPair: extract WIF to 3rd party module 2015-08-20 20:16:57 +10:00
Daniel Cousens
e3f21ebeb2 HDNode: avoid creating multiple buffers 2015-08-20 14:23:27 +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
ca4debd92e types: Expected Buffer, length to follow 2015-08-19 15:27:06 +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
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
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
fd7f0b0ef8 address: use input first errors, easier detection 2015-08-18 09:27:55 +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