Commit graph

60 commits

Author SHA1 Message Date
Daniel Cousens
81d9c8e759 Renames util.js to crypto.js 2014-04-08 22:00:28 +10:00
Wei Lu
93fe1b4c78 cosmetic standardization
[closes #56]
2014-03-31 11:47:47 +08: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
Julius Taylor
bad2f769ff added redeem script test
refactored the previous multi-sig address test a bit and added a test
to validate the # of signatures required and possible addresses
included in the redeemscript
2014-03-27 22:56:10 -04:00
Wei Lu
83381186d1 add (some) fromAddress and getInType tests to script 2014-03-26 08:43:31 +08:00
Wei Lu
c3880c0cdf script.toAddress -> script.getToAddress 2014-03-26 08:43:31 +08:00
Wei Lu
423124966f add toAddress and getOutType tests to script 2014-03-26 08:43:31 +08:00
Julius Taylor
a4317d67be validate multi-sig address
This is a test I have been using to validate a 2-of-3 multi sig address
using known public keys as well as validating the multi sig address
from the redeem script. I am working on more redeem script validation
tests but I want to make sure I am on the right track and see if this
test is something you all would deem useful.
2014-03-25 01:32:43 -04:00
Wei Lu
9f2da415ea fix script constructor array check 2014-03-17 16:13:49 +08:00
Wei Lu
d2b790fef9 throw error when input to script constructor is not an array
[#58]
2014-03-09 13:43:36 +08:00