Commit graph

499 commits

Author SHA1 Message Date
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
William Cotton
a9bc42019a fixed issues with testnet and createTx 2014-04-25 12:39:30 -07: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
Daniel Cousens
5515fa6c49 Removes convert module usage 2014-04-22 00:23:11 +10:00
Daniel Cousens
7f8dcd58cb Removes unused imports 2014-04-21 21:55:53 +10:00
Daniel Cousens
6edd97d4fd Removes convert usage 2014-04-21 21:55:49 +10:00
Daniel Cousens
c08f6a3f00 Merge pull request #140 from dcousens/addrstrict
Migrates Address to stricter API
2014-04-20 04:58:39 +10:00
Daniel Cousens
c44af2109e Uses typeof address === 'string' instead 2014-04-20 04:54:50 +10:00
Daniel Cousens
64dc11486c Removes resolved TODO 2014-04-20 04:49:04 +10:00
Daniel Cousens
92f1c3e319 Fixes Transaction.addOutput() param handling to match documentation
Now (horrendously) supports other networks
2014-04-20 04:47:56 +10:00
Daniel Cousens
f3a55f63dc Assert uses strictEqual instead of direct comparison 2014-04-20 04:39:29 +10:00
Daniel Cousens
1d1306b054 Removes Address.fromPubKey and improves test vectors 2014-04-20 04:38:33 +10:00
Daniel Cousens
eae613d244 Adds error messages and better version checking 2014-04-18 17:12:29 +10:00
Daniel Cousens
682ec133bb Migrates Address to stricter API subset 2014-04-18 17:12:29 +10:00
Wei Lu
701af74ade Merge pull request #142 from dcousens/asserts
Adds assertion error messages for HDWallet
2014-04-18 09:59:06 +08:00
Wei Lu
06cd6a698b Merge pull request #139 from dcousens/eckeystrict
Migrates ECKey to stricter API
2014-04-18 09:56:41 +08:00
Wei Lu
f46780f25d Merge pull request #141 from dcousens/slicenotmap
Prefer Array.prototype.slice over map
2014-04-18 09:47:28 +08:00
Daniel Cousens
5adaa7dd54 Prefer Array.prototype.slice over map 2014-04-18 06:43:59 +10:00
Daniel Cousens
de59f6d3ac Adds assertion error messages for HDWallet 2014-04-18 06:43:14 +10:00
Daniel Cousens
ca4ba91d9c Cleans up ECKey error handling 2014-04-18 06:36:34 +10:00
Daniel Cousens
ff98130e2d Updates README.md to stricter ECKey API 2014-04-18 06:36:34 +10:00