Commit graph

2524 commits

Author SHA1 Message Date
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
Wei Lu
66e04fe701 Merge branch 'multisig_tests' of github.com:juliustayl/bitcoinjs-lib into juliustayl-multisig_tests
Conflicts:
	test/script.js
2014-03-29 22:13:39 +08:00
Wei Lu
06b6112d58 Merge branch 'dangerpriv' of github.com:dcousens/bitcoinjs-lib into dcousens-dangerpriv 2014-03-29 21:56:44 +08:00
Wei Lu
7074eff2af Merge pull request #107 from bitcoinjs/fix-travis
travis upgrade npm before installing modules
2014-03-29 21:39:03 +08:00
Wei Lu
0ac5a79548 travis upgrade npm before installing modules 2014-03-29 21:35:40 +08:00
Wei Lu
db35a84a80 Merge pull request #105 from dcousens/removeexport
Removes deprecated ECKey.export function
2014-03-29 19:24:54 +08:00
Wei Lu
fab8921f16 Merge pull request #103 from dcousens/ecdsatests
ECDSA Tests and Public key recovery
2014-03-29 19:21:29 +08:00
Daniel Cousens
8fd06681ef Adds fail fast assertions for invalid input 2014-03-29 19:41:05 +11:00
Daniel Cousens
3fa43b83b6 Comma consistency 2014-03-29 19:25:04 +11:00
Daniel Cousens
626c31911b Removes dangerous private key throwaway 2014-03-29 19:25:04 +11:00
Daniel Cousens
8f7f50d555 Removes deprecated ECKey.export function 2014-03-29 18:12:02 +11:00
Daniel Cousens
10dea421d5 Removes circular dependancy of ECKey 2014-03-29 17:50:50 +11:00
Daniel Cousens
bfc5924522 Compression is irrelevant in comparison 2014-03-29 17:31:27 +11:00
Daniel Cousens
669a58bbf8 Removes unnecessary SHA256 calculations 2014-03-29 17:27:10 +11:00
Daniel Cousens
78e91e8648 Further isolates failure tests and joins [un]/compressed key tests 2014-03-29 17:06:33 +11:00
Daniel Cousens
38f09b49e9 Now using Bytes consistently for signatures 2014-03-29 06:05:07 +11:00