Commit graph

439 commits

Author SHA1 Message Date
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
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
Daniel Cousens
39abb2b9f9 Stops using decodeFromHex 2014-04-07 13:49:53 +10:00
Wei Lu
9f74d1396b Merge pull request #116 from dcousens/patch-1
Fixes actual/expected parameter ordering
2014-04-07 08:49:58 +08:00
Daniel Cousens
c93bad3be1 Fixes actual/expected parameter ordering 2014-04-07 05:04:49 +10:00
Stefan Thomas
01e6be6d93 Bump version to 0.2.0 2014-04-05 18:11:57 -07:00
Wei Lu
54309b6e06 deprecate support for node 0.8 as we move to buffers 2014-04-04 17:05:30 +08:00
Wei Lu
703275f235 Merge pull request #112 from dcousens/b58
Base58 isolation and preparation for Buffers
2014-04-04 16:41:00 +08:00
Daniel Cousens
6fa0c07763 Changes existing code to use new base58 API 2014-04-04 05:10:12 +11:00
Daniel Cousens
f53b821cc9 Isolates Base58Check encoding from Base58 code/tests 2014-04-03 19:45:05 +11:00
Wei Lu
364a24fd1e assert.throws matches error messages properly 2014-04-02 12:43:34 +08:00
Wei Lu
9af23c83a2 Merge pull request #109 from ralphtheninja/master
100% coverage of wallet.js
2014-04-02 12:32:01 +08:00
lms
b79ccb2c0c 100% coverage of wallet.js 2014-04-01 21:05:46 +02:00
Wei Lu
4f578dd5c1 Merge pull request #108 from dcousens/cosmetics
Some cosmetic fixes
2014-04-01 12:56:13 +08:00
Daniel Cousens
04684b74f1 Some cosmetic fixes 2014-04-01 15:52:40 +11:00
Wei Lu
93fe1b4c78 cosmetic standardization
[closes #56]
2014-03-31 11:47:47 +08:00
Wei Lu
161127d65a Merge branch 'msgvers-patch2' of github.com:dcousens/bitcoinjs-lib into dcousens-msgvers-patch2
Conflicts:
	src/message.js
2014-03-31 10:08:25 +08:00
Daniel Cousens
c521add619 Moves shared constants initialization to beforeEach 2014-03-31 08:21:57 +11:00