Commit graph

1700 commits

Author SHA1 Message Date
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
Daniel Cousens
8f821f4768 ECPair: remove use of assert 2015-08-14 10:56:31 +10:00
Daniel Cousens
254b670427 add types 2015-08-14 10:56:30 +10:00
Daniel Cousens
c7fe710c4d package: use typeforce 1.3.0 2015-08-14 10:56:30 +10:00
Daniel Cousens
5ae66d46e4 mv opcodes.js -> opcodes.json 2015-08-14 10:53:44 +10:00
Daniel Cousens
6b484f481b tests: remove unnecessary toString 2015-08-14 10:09:12 +10:00
Daniel Cousens
a8db7b2cbf block: use Tx.byteLength to avoid double serialization 2015-08-14 08:23:50 +10:00
Daniel Cousens
ae0001ce37 TxBuilder: more explicit comment for address type parameter 2015-08-13 19:07:09 +10:00
Daniel Cousens
56160622ca adhere to standard 5.0.0 2015-08-13 14:25:32 +10:00
Daniel Cousens
e97389ed08 tests: scriptSigFiltered shouldn't be reassigned 2015-08-13 14:17:25 +10:00
Daniel Cousens
0c8c0e3f38 Merge pull request #432 from bitcoinjs/various
Various cleanup
2015-08-11 16:50:17 +10:00
Daniel Cousens
47364293a9 message: remove old TODO 2015-08-11 16:45:32 +10:00
Daniel Cousens
64657eb81f ECSignature: further avoidance of assert 2015-08-11 16:42:45 +10:00
Daniel Cousens
9d1c610c08 Transaction: capitalize Buffer constants 2015-08-11 16:42:45 +10:00
Daniel Cousens
6fbdecc39d networks: remove pchMessageStart chain parameter 2015-08-11 16:41:34 +10:00
Daniel Cousens
a3b0590504 Merge pull request #431 from bitcoinjs/blocktrailfaucet
use cb-http-client with the BlockTrail API
2015-08-07 21:13:41 +10:00