Ryan X. Charles
83aada8648
Merge pull request #379 from ryanxcharles/feature/address-throw-error
throw error when using invalid length hash in Address constructor
11 years ago
Ryan X. Charles
c94d278958
up version to 0.1.24
11 years ago
Ryan X. Charles
8fb098e5dd
Merge pull request #374 from maraoz/add/problematic-example
fix eckey.cc to handle private keys starting with 0 correctly
11 years ago
Manuel Araoz
1878c57ab4
remove failsearch
11 years ago
Manuel Araoz
0d670ff979
suggestions by ryan
11 years ago
Manuel Araoz
b402bbfa6c
fixing copay problems
11 years ago
Manuel Araoz
5c11ac3e87
malloc -> calloc, to fix linux version
11 years ago
Manuel Araoz
d313ed037e
trying to fix
11 years ago
Manuel Araoz
2c7c2d85b3
breaking
11 years ago
Manuel Araoz
a15962da88
fixing
11 years ago
Manuel Araoz
a57191c66f
working on fixing the wierd test
11 years ago
Manuel Araoz
a2b8bb0f51
even weirder fix
11 years ago
Manuel Araoz
7b3c6d5bcd
remove console.log
11 years ago
Manuel Araoz
d9a91e89c3
attempt to fix in linux
11 years ago
Manuel Araoz
9e46334d27
wierdest way of fixing the problem
11 years ago
Manuel Araoz
5428b1109e
add problematic test
11 years ago
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.
11 years ago
Ryan X. Charles
772b12e471
Merge pull request #377 from cmgustavo/feature/fee-constant
Exporting a constant on TransactionBuilder for use on Copay
11 years ago
Manuel Aráoz
2b7fb8a1dc
Merge pull request #378 from ryanxcharles/bug/hierarchicalkey-example
fix HierarchicalKey example to properly generate addresses
11 years ago
Ryan X. Charles
a11e308aee
fix example
An address is actually the hash of a public key, not the public key.
11 years ago
Gustavo Cortez
1d957b24d9
Exporting a constant on TransactionBuilder for use on Copay (to check available funds to spend). A simple test for this.
11 years ago
Manuel Aráoz
4c3d6dbec0
Merge pull request #376 from ryanxcharles/bug/hierarchicalkey-tests
run HierarchicalKey tests in the browser
11 years ago
Ryan X. Charles
474de613c0
Merge pull request #375 from matiu/feature/bit
adds the BIT constant
11 years ago
Ryan X. Charles
895a512e55
run HierarchicalKey tests in the browser
...not BIP32, which is the old name for HierarchicalKey
11 years ago
Matias Alejo Garcia
d751ed8a57
adds the BIT constant
11 years ago
Ryan X. Charles
ddd52c2025
Merge pull request #372 from ryanxcharles/feature/ECIES-example
add ECIES example
11 years ago
Ryan X. Charles
261a94d806
add ECIES example
11 years ago
Ryan X. Charles
6aef44e98a
up version to 0.1.23
11 years ago
Ryan X. Charles
338158ca46
fix sjcl issue on npm install
...by including sjcl locally
11 years ago
Ryan X. Charles
1e97ab8c6d
move devDependencies to dependencies to fix install issue
11 years ago
Ryan X. Charles
c488268a3c
update version to 0.1.22
11 years ago
Ryan X. Charles
2dac2b1f47
Merge pull request #362 from ryanxcharles/feature/ECIES
add ECIES support
11 years ago
Ryan X. Charles
9ee3f23e4e
Merge pull request #369 from maraoz/add/coveralls
add coveralls
11 years ago
Ryan X. Charles
80ccaa8396
rename "rand" to more explanatory "getRandomSeed"
11 years ago
Manuel Araoz
5c449390ac
add badge
11 years ago
Manuel Araoz
f2fc616cc9
add coveralls
11 years ago
Ryan X. Charles
b8986ed0e1
Merge pull request #357 from ionux/master
Fix to check for zero s value in sign function
11 years ago
Ryan X. Charles
5172b3160b
add test to confirm correctness of sha512hmac
11 years ago
Ryan X. Charles
410cd503c8
remove unused commander dependency
11 years ago
Ryan X. Charles
117eaa4288
remove underscore dependency to decrease bundle size
11 years ago
Ryan X. Charles
a242112e66
replace jssha with sjcl - remove jssha dependency
11 years ago
Manuel Aráoz
e71cdb3bb2
Merge pull request #366 from gabegattis/bug/BIP32SeedLength
Bug/bip32 seed length
11 years ago
Gabe
a374b58271
fix bad test, bytes!=bits
11 years ago
Gabe
8e96d1439d
check if seed is greater than 512 bits
11 years ago
Ryan X. Charles
af9fdff3a9
use SJCL AES to get ECIES working in the browser
11 years ago
Ryan X. Charles
e963ff3c45
add ECIES support in node - not browser
11 years ago
Manuel Aráoz
4d8af75ae9
Merge pull request #361 from dthorpe/VanityAddress
Change Address.forKey() to Address.fromKey()
11 years ago
dthorpe
04d6366c11
Change Address.forKey() to Address.fromKey()
11 years ago
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.
11 years ago
Ryan X. Charles
bc84d1e82b
Merge pull request #351 from matiu/bug/minor-bug-in-address-FromScript
fix .fromScriptPubKey parsing in some strange Txs
11 years ago