Manan Patel
d83fc6e4b5
Resolves #373
...
Move TransactionBuilder.scriptForAddress to Address#getScriptPubKey (instance method)
2014-06-19 08:40:30 -07:00
Ryan X. Charles
83aada8648
Merge pull request #379 from ryanxcharles/feature/address-throw-error
...
throw error when using invalid length hash in Address constructor
2014-06-13 08:17:18 -07:00
Ryan X. Charles
c94d278958
up version to 0.1.24
2014-06-12 15:09:09 -07:00
Ryan X. Charles
8fb098e5dd
Merge pull request #374 from maraoz/add/problematic-example
...
fix eckey.cc to handle private keys starting with 0 correctly
2014-06-12 14:49:27 -07:00
Manuel Araoz
1878c57ab4
remove failsearch
2014-06-12 16:56:07 -03:00
Manuel Araoz
0d670ff979
suggestions by ryan
2014-06-12 16:54:59 -03:00
Manuel Araoz
b402bbfa6c
fixing copay problems
2014-06-12 16:28:00 -03:00
Manuel Araoz
5c11ac3e87
malloc -> calloc, to fix linux version
2014-06-12 13:56:29 -03:00
Manuel Araoz
d313ed037e
trying to fix
2014-06-12 12:29:51 -03:00
Manuel Araoz
2c7c2d85b3
breaking
2014-06-12 12:29:51 -03:00
Manuel Araoz
a15962da88
fixing
2014-06-12 12:29:51 -03:00
Manuel Araoz
a57191c66f
working on fixing the wierd test
2014-06-12 12:29:51 -03:00
Manuel Araoz
a2b8bb0f51
even weirder fix
2014-06-12 12:29:51 -03:00
Manuel Araoz
7b3c6d5bcd
remove console.log
2014-06-12 12:29:51 -03:00
Manuel Araoz
d9a91e89c3
attempt to fix in linux
2014-06-12 12:29:51 -03:00
Manuel Araoz
9e46334d27
wierdest way of fixing the problem
2014-06-12 12:29:51 -03:00
Manuel Araoz
5428b1109e
add problematic test
2014-06-12 12:29:50 -03:00
Ryan X. Charles
c2e5a14eed
throw error when using invalid length hash in Address
...
I have often made the error of using a public key rather than the hash of the
public key when creating an address, leading to invalid addresses. I'm sure I'm
not the only one. This commit follows the principle of "fail early, fail often"
and simply throws an error if you try to insert something other than 20 bytes
long when creating an address, which would be the case when using a public key.
This way that common mistake should be reduced.
2014-06-11 18:13:39 -07:00
Ryan X. Charles
772b12e471
Merge pull request #377 from cmgustavo/feature/fee-constant
...
Exporting a constant on TransactionBuilder for use on Copay
2014-06-11 15:38:50 -07:00
Manuel Aráoz
2b7fb8a1dc
Merge pull request #378 from ryanxcharles/bug/hierarchicalkey-example
...
fix HierarchicalKey example to properly generate addresses
2014-06-11 19:33:05 -03:00
Ryan X. Charles
a11e308aee
fix example
...
An address is actually the hash of a public key, not the public key.
2014-06-11 15:17:01 -07:00
Gustavo Cortez
1d957b24d9
Exporting a constant on TransactionBuilder for use on Copay (to check available funds to spend). A simple test for this.
2014-06-11 19:00:11 -03:00
Manuel Aráoz
4c3d6dbec0
Merge pull request #376 from ryanxcharles/bug/hierarchicalkey-tests
...
run HierarchicalKey tests in the browser
2014-06-11 18:39:16 -03:00
Ryan X. Charles
474de613c0
Merge pull request #375 from matiu/feature/bit
...
adds the BIT constant
2014-06-11 14:30:34 -07:00
Ryan X. Charles
895a512e55
run HierarchicalKey tests in the browser
...
...not BIP32, which is the old name for HierarchicalKey
2014-06-11 14:28:30 -07:00
Matias Alejo Garcia
d751ed8a57
adds the BIT constant
2014-06-11 18:15:17 -03:00
Ryan X. Charles
ddd52c2025
Merge pull request #372 from ryanxcharles/feature/ECIES-example
...
add ECIES example
2014-06-06 15:59:11 -07:00
Ryan X. Charles
261a94d806
add ECIES example
2014-06-06 14:34:42 -07:00
Ryan X. Charles
6aef44e98a
up version to 0.1.23
2014-06-06 11:52:44 -07:00
Ryan X. Charles
338158ca46
fix sjcl issue on npm install
...
...by including sjcl locally
2014-06-06 11:49:58 -07:00
Ryan X. Charles
1e97ab8c6d
move devDependencies to dependencies to fix install issue
2014-06-06 09:24:04 -07:00
Ryan X. Charles
c488268a3c
update version to 0.1.22
2014-06-06 08:37:42 -07:00
Ryan X. Charles
2dac2b1f47
Merge pull request #362 from ryanxcharles/feature/ECIES
...
add ECIES support
2014-06-05 20:31:08 -07:00
Ryan X. Charles
9ee3f23e4e
Merge pull request #369 from maraoz/add/coveralls
...
add coveralls
2014-06-05 19:35:25 -07:00
Ryan X. Charles
80ccaa8396
rename "rand" to more explanatory "getRandomSeed"
2014-06-05 16:41:47 -07:00
Manuel Araoz
5c449390ac
add badge
2014-06-05 16:44:32 -03:00
Manuel Araoz
f2fc616cc9
add coveralls
2014-06-05 16:43:07 -03:00
Ryan X. Charles
b8986ed0e1
Merge pull request #357 from ionux/master
...
Fix to check for zero s value in sign function
2014-06-05 12:24:19 -07:00
Ryan X. Charles
5172b3160b
add test to confirm correctness of sha512hmac
2014-06-04 18:57:26 -07:00
Ryan X. Charles
410cd503c8
remove unused commander dependency
2014-06-04 18:57:15 -07:00
Ryan X. Charles
117eaa4288
remove underscore dependency to decrease bundle size
2014-06-04 18:43:00 -07:00
Ryan X. Charles
a242112e66
replace jssha with sjcl - remove jssha dependency
2014-06-04 18:13:32 -07:00
Manuel Aráoz
e71cdb3bb2
Merge pull request #366 from gabegattis/bug/BIP32SeedLength
...
Bug/bip32 seed length
2014-06-04 15:19:28 -03:00
Gabe
a374b58271
fix bad test, bytes!=bits
2014-06-04 13:59:38 -04:00
Gabe
8e96d1439d
check if seed is greater than 512 bits
2014-06-04 13:42:06 -04:00
Ryan X. Charles
af9fdff3a9
use SJCL AES to get ECIES working in the browser
2014-06-03 19:03:50 -07:00
Ryan X. Charles
e963ff3c45
add ECIES support in node - not browser
2014-06-02 20:15:58 -07:00
Manuel Aráoz
4d8af75ae9
Merge pull request #361 from dthorpe/VanityAddress
...
Change Address.forKey() to Address.fromKey()
2014-06-01 05:24:42 -03:00
dthorpe
04d6366c11
Change Address.forKey() to Address.fromKey()
2014-05-31 22:18:23 -07:00
Rich Morgan
eab5c2896e
Fix to check for zero s value in sign function
...
If r OR s are zero then recalculate both r and s until they are both non-zero values.
2014-05-28 11:34:18 -04:00