Matias Alejo Garcia
64b5623d54
removes buffertools dependencies in browsers Key.js
2014-04-23 21:32:25 -03:00
Ryan X. Charles
350f6ae998
Key should make sure new privkey is less than N
...
...this involves adding a Curve class, and significant refactoring to make this
possible in a clean way.
2014-04-23 21:15:55 -03:00
Ryan X. Charles
96ba284e2f
Merge pull request #284 from maraoz/test/rng
...
Tests for RNG
2014-04-23 15:59:42 -03:00
Manuel Araoz
d8827cf9fd
skip statistically failing tests
2014-04-23 15:55:35 -03:00
Manuel Araoz
17d0eeeb00
skip pending tests:wq
2014-04-23 15:45:00 -03:00
Manuel Araoz
2a829c4525
reduce number of cases for browser
2014-04-23 15:06:11 -03:00
Manuel Araoz
34ac69616a
fix runs test
2014-04-23 15:01:04 -03:00
Manuel Araoz
532564461e
testing RNG
2014-04-23 11:32:37 -03:00
Manuel Araoz
0095f5c9d0
rng statistic testswq
2014-04-23 11:32:37 -03:00
Ryan X. Charles
11b54b4b3d
Merge pull request #281 from matiu/feature/signature-sorting
...
Feature/signature sorting
2014-04-22 23:17:41 -03:00
Matias Alejo Garcia
a83309eede
rm log
2014-04-22 23:11:07 -03:00
Ryan X. Charles
dbcf270826
use SecureRandom in Key in the browser
...
...to make sure random numbers are generated securely
2014-04-22 22:43:22 -03:00
Ryan X. Charles
4693d5bc41
remove unnecessary "change" console.log from Electrum test
2014-04-22 22:41:57 -03:00
Ryan X. Charles
75d2d0d390
fix issues with ConnectionTor example and Connection class
2014-04-22 22:28:31 -03:00
Ryan X. Charles
ba692aaa20
add new SecureRandom class that does the right thing
...
Generating random numbers properly depends on the platform. The new
getRandomBuffer method does the right thing on the right platform. It will
sometimes fail due to insufficient entropy. The getPseudoRandomBuffer class is
also provided that will never fail, but it is not cryptographically secure and
should not be used for keys.
2014-04-22 22:18:59 -03:00
Matias Alejo Garcia
906378aac4
rm spaces
2014-04-22 21:10:39 -03:00
Matias Alejo Garcia
9951b55a4f
signature sorting in .sign and .merge in transaction builder
2014-04-22 21:09:22 -03:00
Matias Alejo Garcia
56d81bc0df
remove unused code from Script. Update it to do not use scriptSig placeholders
2014-04-22 21:09:22 -03:00
Matias Alejo Garcia
e8ebd2e332
add tx validation to test
2014-04-22 21:09:22 -03:00
Ryan X. Charles
2c553c0dd9
Merge pull request #280 from ryanxcharles/feature/improve-bip32-speed
...
BIP32 speed improvement
2014-04-22 20:06:34 -03:00
Ryan X. Charles
aa145c4f6c
Merge pull request #273 from ryanxcharles/feature/refactor-node-browser
...
WIP: Node/browser refactor
2014-04-22 20:04:03 -03:00
Ryan X. Charles
f82fa5007a
move *.browser and *.node to browser/* and node/*
...
...this should leave the lib folder a little bit less cluttered.
2014-04-22 19:36:18 -03:00
Ryan X. Charles
a179251152
split Key node tests into separate file
2014-04-22 19:13:35 -03:00
Ryan X. Charles
05d86b6453
split up Key into Key.browser and Key.node
2014-04-22 19:13:35 -03:00
Ryan X. Charles
abc799f453
split up Point into separate node and browser versions
2014-04-22 19:13:35 -03:00
Ryan X. Charles
86bb67b76d
remove unnecessary bignum conversion
2014-04-22 17:45:08 -03:00
Ryan X. Charles
6a4387e768
allow creating blank BIP32 by passing in null
2014-04-22 17:42:50 -03:00
Ryan X. Charles
d52e8ac8ed
remove multiple concats with one, more efficient, concat
2014-04-22 17:27:01 -03:00
Ryan X. Charles
46fe8ea800
Merge pull request #278 from ryanxcharles/feature/default-bip32-livenet
...
default BIP32 to livenet
2014-04-22 12:36:46 -03:00
Ryan X. Charles
8a3f2b6b9b
Merge pull request #279 from maraoz/feature/update-bundler
...
Feature/update bundler
2014-04-22 12:36:34 -03:00
Manuel Araoz
6e306c4cb1
bundler changes for customizer
2014-04-22 12:26:57 -03:00
Manuel Araoz
aadc01e5a1
fix async dep
2014-04-22 12:26:57 -03:00
Manuel Araoz
ebafcb94a3
changing browser builder
2014-04-22 12:26:57 -03:00
Ryan X. Charles
d54fa570a2
default BIP32 to livenet
2014-04-22 12:25:05 -03:00
Ryan X. Charles
7f7d076c7f
Merge remote-tracking branch 'olalonde/electrum'
2014-04-22 09:20:42 -03:00
Ryan X. Charles
3267925ebf
Merge remote-tracking branch 'gordonwritescode/feature/peer-discovery'
2014-04-20 19:50:34 -03:00
Ryan X. Charles
e4e45c5245
add Electrum to browser build and tests
2014-04-20 17:49:43 -03:00
olalonde
8e30c05e3e
Electrum: removed dead code
2014-04-21 04:29:23 +08:00
olalonde
2644dbb2db
Electrum.js: wrote some tests
2014-04-21 04:21:33 +08:00
olalonde
7466d916f1
Electrum.js specified what is supported for now
2014-04-21 03:53:54 +08:00
olalonde
c818b549c6
Added Electrum.js which allows Electrum style key derivation
2014-04-21 03:52:07 +08:00
Gordon Hall
9934b29eff
update example, added log statements to status check in peer manager for showing how many good peers there are
2014-04-20 14:31:07 -04:00
Gordon Hall
def036b79f
setup connection pool and auto handling of bad seeds
2014-04-20 14:04:52 -04:00
Ryan X. Charles
0235324bed
update version to 0.1.12
...
Major updates since last version:
* SOCKS5 support
* Move classes to ./lib
* Message signing/verification
* Many minor updates
2014-04-20 10:25:01 -03:00
Gordon Hall
8b17591661
fix example
2014-04-19 16:46:00 -04:00
Gordon Hall
f877b3e563
some aesthetic changes
2014-04-19 15:32:20 -04:00
Gordon Hall
9cbab7f67e
fix networks var in discoverPeers() to match what might be imported
2014-04-19 15:26:34 -04:00
Gordon Hall
e82867007e
simplified example for peer discovery, added some debug output to discoverPeers(), made Peer reference the connection created from createConnection()
2014-04-19 15:12:44 -04:00
Gordon Hall
76247ff532
resolved merge conflicts
2014-04-19 12:13:24 -04:00
Gordon Hall
ba8542de62
add support for peer discovery to PeerManager and example of usage to examples/
2014-04-19 11:33:26 -04:00