Commit Graph

1329 Commits

Author SHA1 Message Date
Daniel Cousens
d50d49bd29 1.5.7 2015-05-08 12:18:56 +10:00
Daniel Cousens
87470de22f tests: check that HDNode pubKey/privKey is initialized 2015-05-07 11:22:07 +10:00
Daniel Cousens
f7c2c78902 Merge pull request #405 from jsantirso/patch-1
Update 1.5.x hdnode.js
2015-05-07 11:18:54 +10:00
Joel Santirso
fc9d2ff2f2 Update 1.5.x hdnode.js
Informed the pubkey when building an HDNode from an ECKey (otherwise, derivation would fail on "this.pubKey.toBuffer()")
2015-05-06 17:41:32 +02:00
Daniel Cousens
7f2f81233a 1.5.6 2015-03-26 10:56:03 +11:00
Daniel Cousens
3ee8b817b0 wallet: use randomBytes over crypto 2015-03-26 10:55:50 +11:00
Daniel Cousens
6b2377d838 1.5.5 2015-03-26 10:52:43 +11:00
Daniel Cousens
07a2510046 crypto: use create-hmac for deprecated Hmac functions 2015-03-26 10:52:43 +11:00
Daniel Cousens
35c3693849 integration: use an rng for the example over mocking 2015-03-26 10:49:24 +11:00
Daniel Cousens
9fddacd448 tests: fix standard format adherence 2015-03-26 10:49:24 +11:00
Wei Lu
6775e1a9af crypto: fix test randomBytes stub 2015-03-26 10:49:24 +11:00
Daniel Cousens
4b2ffda55e crypto: use packages directly 2015-03-26 10:49:24 +11:00
Daniel Cousens
ffc1ea36b9 1.5.4 2015-03-16 16:30:55 +11:00
Daniel Cousens
c4afe579bf package: use cb-helloblock 0.4.13 2015-03-16 16:29:52 +11:00
Daniel Cousens
2df13137aa package: remove unnecessary dev dependency 2015-03-16 16:29:52 +11:00
Daniel Cousens
953ca46177 package: update typeforce to 1.0.0, mocha/standard to latest 2015-03-16 16:02:44 +11:00
Daniel Cousens
b93b84a95f 1.5.3 2015-03-16 13:58:57 +11:00
Daniel Cousens
ca4a0c125f txbuilder: fix #374 null inputs 2015-03-16 13:57:44 +11:00
Daniel Cousens
2fc4cc31c9 tests: rename network->networks 2015-03-16 13:57:44 +11:00
Daniel Cousens
d9b083f66e networks: remove failing tests, cannot be supported anyway 2015-03-16 13:57:44 +11:00
Daniel Cousens
e31b5de3b1 tests: test autodetect in networks, fixed networks in HDNode 2015-03-16 13:57:44 +11:00
Daniel Cousens
2449c23f7e 1.5.2 2015-03-15 17:26:07 +11:00
Daniel Cousens
d126907d11 txbuilder: re-add verification optimizations 2015-03-15 17:25:42 +11:00
Daniel Cousens
c0ecb71fe7 txbuilder: refactor for clarity 2015-03-15 17:25:42 +11:00
Daniel Cousens
c6fc8672f1 tests: fix standard styling 2015-03-15 17:25:42 +11:00
Daniel Cousens
c0d9424e1c tests: ignore txHexIncomplete, instead check scriptSig after each signature 2015-03-15 17:25:42 +11:00
Daniel Cousens
9dc58c4c4c tests: refactor multisig test construction 2015-03-15 17:25:34 +11:00
Daniel Cousens
6ebb9b3079 tests: remove unnecessary script tests from TxBuilder 2015-03-15 17:25:05 +11:00
Daniel Cousens
15cc165b05 tests: clean up unused variables 2015-03-15 17:25:05 +11:00
Daniel Cousens
cbc062d13c README: add blocktrail 2015-03-15 17:25:05 +11:00
Ruben de Vries
74d627854f add tests for various PS2H multisig signing scenarios
redid P2SH multisig tests to use fixtures
2015-03-15 17:24:42 +11:00
Ruben de Vries
ce846bfb0f prefill signatures with OP_0s and place signatures in correct order in txb.sign when it's not already prefilled with OP_0s 2015-03-15 17:24:10 +11:00
Daniel Cousens
1dcad184ba integration: change 2-of-3 to 2-of-4 and update README 2015-03-15 17:24:10 +11:00
Ruben de Vries
74886c52c3 change 2of2 integration test to 2of3 2015-03-15 17:23:43 +11:00
Daniel Cousens
2dafb80c00 1.5.1 2015-03-05 18:57:00 +11:00
Daniel Cousens
a82ebe8dbd tests: fix inconsistent key compression 2015-03-05 18:51:31 +11:00
Daniel Cousens
57a3700b32 TxBuilder: fix OP_0 in buildComplete 2015-03-05 18:51:30 +11:00
Daniel Cousens
67b4747e1f tests: add failing test for transaction builder multisig 2015-03-05 18:51:29 +11:00
Daniel Cousens
5c6a91d7d6 scripts: multisigInput only uses scriptPubKey for validation, OP_0 validation not necessary 2015-03-05 18:51:28 +11:00
Daniel Cousens
c18672e01a tests: add example non-standard scripthash 2015-03-05 18:51:28 +11:00
Daniel Cousens
7e6a6a57a9 script: return malformed script if returned pushDataOut out of range 2015-03-05 18:51:27 +11:00
Daniel Cousens
a2c9a487d1 tests: add failing scripts by cross-verifying ASM/Hex 2015-03-05 18:51:26 +11:00
Daniel Cousens
1c2d138980 scripts: fix isScriptHashInput classification 2015-03-05 18:51:26 +11:00
Daniel Cousens
91734c048d bufferutils/script: allow for invalid pushDatInts, fixes #367 2015-03-05 18:51:25 +11:00
Daniel Cousens
1a338ac053 tests: add failing pushDataInt fixtures 2015-03-05 18:51:23 +11:00
Daniel Cousens
20c773ab67 tests: add bitcoin core block fixtures
Data from
https://github.com/bitcoin/bitcoin/blob/master/src/test/bloom_tests.cpp
2015-03-05 18:49:19 +11:00
Daniel Cousens
3a15f0c6ba tests: add scriptHash(pubKeyHash) test fixture 2015-03-02 18:32:24 +11:00
Daniel Cousens
0bba21546f various: more standard-format artifact fixes 2015-03-02 13:50:49 +11:00
Daniel Cousens
8aa4f9ecc9 ecdsa/ecpubkey: rectify #364 artifacts 2015-03-02 13:25:09 +11:00
Daniel Cousens
7513e73f74 Merge pull request #364 from bitcoinjs/standard
use standardjs formatting
2015-02-25 14:46:29 +11:00