Commit graph

1484 commits

Author SHA1 Message Date
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
Daniel Cousens
aa3e5faad2 use cb-http-client with BlockTrail 2015-08-07 21:12:31 +10:00
Daniel Cousens
b6fa347214 integration: wait for duplicate R value recovery to finish 2015-08-07 20:52:07 +10:00
Daniel Cousens
006c798faf integration: pass network through to TxBuilder 2015-08-07 20:40:16 +10:00
Daniel Cousens
1eb98be6a5 Merge pull request #425 from bitcoinjs/nonetdetect
Remove network detection
2015-08-07 20:29:26 +10:00
Daniel Cousens
7a6936674e tests: add explicit test for inconsistent network exception 2015-08-07 17:01:31 +10:00
Daniel Cousens
a4eb58f103 TxBuilder: pass network through fromTransaction, fixes failing tests 2015-08-07 16:56:27 +10:00
Daniel Cousens
1e90e1620a TxBuilder: throw on keyPair network inconsistency 2015-08-07 16:54:22 +10:00
Daniel Cousens
2971816588 TxBuilder: pass network through to fromTransaction 2015-08-07 16:41:24 +10:00
Wei Lu
cdce4b6189 test: pass network to integtest TransactionBuilder init 2015-08-07 16:37:09 +10:00
Daniel Cousens
649c4d79f9 rm network auto-detection 2015-08-07 16:36:10 +10:00
Daniel Cousens
f47decaa2f HDNode: adopt new strict network list parameters 2015-08-07 16:36:10 +10:00
Daniel Cousens
307b7f036a integration: pass network through to fromWIF 2015-08-07 16:36:10 +10:00
Daniel Cousens
9513b26e8c tests: supply TransactionBuilder with network from fixtures 2015-08-07 16:36:10 +10:00
Daniel Cousens
d3579289bd ECPair: use 1 line for throw 2015-08-07 16:36:10 +10:00
Daniel Cousens
6443e4c2b6 ECPair: support strict network syntax 2015-08-07 16:36:10 +10:00
Daniel Cousens
f5d99d8f8a address: remove network detection 2015-08-07 16:36:10 +10:00