Commit graph

2355 commits

Author SHA1 Message Date
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
Daniel Cousens
b4f70dcdde Migrates ECKey to stricter API 2014-04-18 06:36:27 +10:00
Kyle Drake
669444cb10 Merge pull request #135 from greenaddress/low-s-signatures
Uses low 's' values for signatures
2014-04-17 08:51:40 -07:00
Daniel Cousens
505e33c942 Changes netstr to networkString 2014-04-17 19:49:03 +10:00
GreenAddress.it
9d876198f5 Moves 'low S value' test from eckey.js to ecdsa.js 2014-04-17 06:33:35 +02:00
GreenAddress.it
d7c2e4d5a5 Uses low 's' values for signatures 2014-04-17 06:05:41 +02:00
Kyle Drake
3219e5e727 Merge pull request #132 from dcousens/remmisc
Removes test/misc.js and moves tests to appropriate location
2014-04-16 14:25:35 -07:00
Kyle Drake
aaaf66f15e Merge pull request #134 from dcousens/hdwalletbuf
HDWallet now uses Buffers internally
2014-04-16 14:24:31 -07:00
Kyle Drake
95b3fd32a3 Merge pull request #133 from dcousens/network
Updates network.js constant names
2014-04-16 14:20:46 -07:00
Daniel Cousens
ddea4b176b Moves derivation math out into the open 2014-04-17 06:45:57 +10:00
Daniel Cousens
bacf7e7ae2 Removes format dependency 2014-04-17 06:45:29 +10:00
Daniel Cousens
814aa9e552 HDWallet now uses Buffers internally 2014-04-17 06:45:24 +10:00
Daniel Cousens
a4ab75d560 Renames network parameter to netstr
This should make the intent clearer.
This commit also catches the `null` case for the seed parameter.
2014-04-17 06:09:45 +10:00
Daniel Cousens
bc05828fbc Adds Buffers as input parameters 2014-04-17 06:07:06 +10:00
Daniel Cousens
f047afef2d Updates network.js constant names 2014-04-17 05:50:59 +10:00
Daniel Cousens
56336b9c2b Removes use of convert module 2014-04-17 04:16:51 +10:00
Daniel Cousens
827f00715c Moves test/misc.js tests to appropriate location 2014-04-17 04:10:05 +10:00
Wei Lu
ed28c6adcf Merge pull request #130 from dcousens/eccurverename
Renames ecparams to curve to avoid confusion
2014-04-16 19:53:39 +08:00
Daniel Cousens
a689c6fc9a Renames ecparams to curve to avoid confusion 2014-04-16 21:13:54 +10:00
Daniel Cousens
8a9a377d70 Merge pull request #129 from dcousens/indexclean
Cleanup of Index.js
2014-04-14 16:21:54 +10:00
Daniel Cousens
db115e1b27 CryptoJS no longer exported by default 2014-04-14 16:19:17 +10:00
Daniel Cousens
addf4528d4 Removes Key module (use ECKey) 2014-04-14 15:45:31 +10:00
Wei Lu
4b86b1c7b8 clean up comments & extract methods
[follow-up #125]
2014-04-14 12:53:12 +08:00
Wei Lu
c3d95010ae standardize test descriptions & add nonstandard script test vector
[follow-up #125]
2014-04-14 12:25:48 +08:00
Wei Lu
9e15b490e5 Merge pull request #125 from sidazhang/master
Aligning type naming with bitcoind and fixed pubkeyhash bug
2014-04-14 11:58:32 +08:00
Daniel Cousens
82a17de5c4 Orders modules by name 2014-04-14 13:15:43 +10:00
sidazhang
92cff2fb43 Test vectors for nulldata (OP_RETURN) and multisig 2014-04-13 14:32:22 -07:00
sidazhang
aa43e98ac0 Aligning type naming with bitcoind and fixed pubkeyhash bug 2014-04-11 15:20:42 -07:00
Wei Lu
97575e8f46 Merge pull request #122 from dcousens/fix121
Pads zeros in toBytes output, fixes #121
2014-04-09 16:16:20 +08:00
Daniel Cousens
1f0fb90213 Pads zeros in toBytes output, fixes #121 2014-04-09 18:06:50 +10:00
Wei Lu
08da0b9a55 Merge pull request #120 from dcousens/ecpride
Fixes ECDSA capitalization
2014-04-09 10:03:22 +08:00
Daniel Cousens
6de94856e3 Makes ECDSA capitalization consistent 2014-04-09 04:11:13 +10:00
Kyle Drake
04cc7539be
coveralls deps 2014-04-08 11:02:36 -04:00
Kyle Drake
388932524c
coverage status icon 2014-04-08 10:53:31 -04:00
Wei Lu
dd509d05cf Merge pull request #114 from dcousens/secsimpl
Removal of curveFpDecodePointHex
2014-04-08 22:24:33 +08:00
Wei Lu
ba4a4d79ed Merge pull request #119 from dcousens/cryptoutil
Adds ./crypto and standardizes hash usage
2014-04-08 22:16:35 +08:00
Daniel Cousens
665953300b Changes deepEqual to equal 2014-04-08 23:50:27 +10:00
Daniel Cousens
aa8d86e6a4 Hash160 now outputs a buffer 2014-04-08 23:44:55 +10:00
Daniel Cousens
d12a2cde49 Adds tests and fixtures for ./crypto 2014-04-08 23:39:22 +10:00
Daniel Cousens
c99a576fbd Migrates all usage of crypto-js/sha256 to ./crypto 2014-04-08 23:07:46 +10:00
Daniel Cousens
81d9c8e759 Renames util.js to crypto.js 2014-04-08 22:00:28 +10:00
Daniel Cousens
a4c2cc6dd4 Removes pointless error utility function 2014-04-08 21:53:47 +10:00
Wei Lu
3204a2d248 Merge pull request #118 from dcousens/ectests
Renames `ec.js` test description appropriately
2014-04-08 18:23:25 +08:00
Daniel Cousens
1df5fadc6f Renames test description appropriately 2014-04-08 17:35:03 +10:00
Daniel Cousens
7451c54cc6 Removes curveFpDecodePointHex 2014-04-07 13:51:12 +10:00