Commit graph

717 commits

Author SHA1 Message Date
Daniel Cousens
77747241d4 Fixes exception typo 2014-04-30 05:10:02 +10:00
Daniel Cousens
b09dd73cbe Enforces bytesToWordArray only operates on byte arrays 2014-04-30 05:07:41 +10:00
sidazhang
fe4332bfbd integration tests for scripthash transcations 2014-04-27 10:50:39 -07:00
Daniel Cousens
953223c818 Merge pull request #160 from bitcoinjs/signScriptSig-test
Fixes signScriptSig test
2014-04-26 21:44:11 +10:00
Wei Lu
70219c877b Fixes signScriptSig test 2014-04-26 13:39:26 +08:00
Wei Lu
45c1c8350e Merge pull request #154 from dcousens/convrem
Remove dead code from Convert module
2014-04-26 12:27:08 +08:00
Wei Lu
6833acaf3a Merge pull request #152 from dcousens/p2shsign
Preliminary test for P2shsign
2014-04-26 12:26:50 +08:00
William Cotton
8f698d19f7 custom changeAddress has full integration test 2014-04-25 16:30:36 -07:00
William Cotton
dfbfdafc94 added tests for createTx testnet and createTx custom changeAddress 2014-04-25 13:43:26 -07:00
William Cotton
590bb8e1c3 custom changeAddress for wallet.createTx() 2014-04-25 12:49:51 -07:00
Kyle Drake
355bc7e227 Merge pull request #151 from dcousens/rfc6979testvectors
RFC6979 Test Vectors
2014-04-25 12:44:50 -07:00
William Cotton
a9bc42019a fixed issues with testnet and createTx 2014-04-25 12:39:30 -07:00
Daniel Cousens
e40377a471 Removes unused functions from convert 2014-04-26 05:11:45 +10:00
Daniel Cousens
69c0497038 Renames createInputScript to createPubKeyHashScriptSig 2014-04-26 04:04:19 +10:00
Daniel Cousens
a4e68d142d Adds assertions for types in signScriptSig 2014-04-26 04:04:16 +10:00
Daniel Cousens
8ad8f6f169 Renames p2shsign to signScriptSig 2014-04-26 03:51:13 +10:00
Daniel Cousens
fbf8211cab Adds tests for TX.prototype.p2shsign 2014-04-26 03:51:13 +10:00
Daniel Cousens
1c52f9f3d8 Removes convert module 2014-04-26 03:51:13 +10:00
Daniel Cousens
5546cae928 Removes type coercion for a stricter TX API 2014-04-26 03:51:13 +10:00
Daniel Cousens
9af8d95daf Removes applyMultisigs and adds setScriptSig 2014-04-26 03:51:13 +10:00
Daniel Cousens
89cf731ac7 Adds assertion messages 2014-04-26 02:37:48 +10:00
Daniel Cousens
c3e9d568c5 Adds RFC6979 test vectors and fixes ecdsa.sign/detGenK 2014-04-26 02:17:28 +10:00
Wei Lu
960d931010 Merge pull request #157 from ethers/master
assertion message
2014-04-25 14:51:38 +08:00
ethers
1c8f135d9c assertion message 2014-04-24 23:29:12 -07:00
Wei Lu
102f2bd0c9 make sure createInputScript convert pubKey to buffer before writing out bytes
[fixes #156]
2014-04-25 10:01:50 +08:00
Wei Lu
373b05de2c Merge pull request #150 from dcousens/bigitests
Adds BI.toPaddedBuffer and toBuffer
2014-04-25 00:19:33 +08:00
Daniel Cousens
df6ea8aea2 Removes toPaddedBuffer and extends toBuffer 2014-04-25 00:18:13 +10:00
Daniel Cousens
d8883e8d32 Adds BI.toPaddedBuffer and toBuffer 2014-04-24 07:22:23 +10:00
Daniel Cousens
596b31b1e1 Fixes typo and adds more direct answer 2014-04-24 01:48:44 +10:00
Daniel Cousens
96fb95dff6 Updates README.md
Adds a larger warning to the stability of the master branch; and updates the library description to be more accurate.
2014-04-24 01:20:00 +10:00
Daniel Cousens
bc37e65014 Enforces Array input for deterministicGenerateK 2014-04-23 06:28:00 +10:00
Kyle Drake
1b66976d92 Merge pull request #146 from dcousens/magictests
MagicHash Tests
2014-04-21 09:39:50 -07:00
Kyle Drake
21aa517cd2 Merge pull request #143 from dcousens/multisigfix
Multi-sig ScriptSig Support
2014-04-21 09:39:03 -07:00
Kyle Drake
4689abb513 Merge pull request #117 from dcousens/rmjsbn
Removal of JSBN
2014-04-21 09:38:24 -07:00
Kyle Drake
eb6225bfb4 Merge pull request #145 from dcousens/b58coretests
Base58 Bitcoin core test compatibility
2014-04-21 09:34:59 -07:00
Kyle Drake
1349ab2b92 Merge pull request #144 from dcousens/b58clean
Base58 test cleanup and extracted vectors
2014-04-21 09:33:41 -07:00
Daniel Cousens
ae60e6eb95 Replacse JSBN with bigi 2014-04-22 02:19:30 +10:00
Daniel Cousens
b95b5d5a04 Removes unused imports and unused parameter 2014-04-22 02:11:25 +10:00
Daniel Cousens
873dc95321 Isolates test/ec.js ECPointFp.decodeFrom tests 2014-04-22 02:08:00 +10:00
Daniel Cousens
96ebb65099 Removes ecdsa.getBigRandom 2014-04-22 02:04:56 +10:00
Daniel Cousens
f5ce83beca Adds working implementation of Script.createP2SHMultisigScriptSig 2014-04-22 00:28:13 +10:00
Daniel Cousens
fb6c76a976 Merges Buffer refactorings from base58-native by Stephen Pair 2014-04-22 00:24:20 +10:00
Daniel Cousens
c178804356 Updates test fixtures to use bitcoin core test data 2014-04-22 00:24:20 +10:00
Daniel Cousens
540b70ccca Adds script to create Bitcoin-core compatible test fixtures 2014-04-22 00:24:20 +10:00
Daniel Cousens
231ccdd721 Now shares base58 data with Address base58 tests 2014-04-22 00:24:03 +10:00
Daniel Cousens
1bcc7cfd95 Adds shared base58 test vectors 2014-04-22 00:24:02 +10:00
Daniel Cousens
12a5b75cbe Address now properly checks malformed base58 2014-04-22 00:24:02 +10:00
Daniel Cousens
1b46a10d2a magicHash now uses Buffers internally 2014-04-22 00:23:12 +10:00
Daniel Cousens
dd049fc764 Adds magicHash test fixtures 2014-04-22 00:23:12 +10:00
Daniel Cousens
69823552c3 Moves network import to top 2014-04-22 00:23:12 +10:00