Commit Graph

349 Commits

Author SHA1 Message Date
Ryan X. Charles
adffabd376 break up BIP39 tests so the individual ones run faster
...so that travis stops complaining about this otherwise slow test
2014-07-25 16:28:29 -07:00
Matias Alejo Garcia
1c6ec69c48 fix lossing signatured after from-toObj roundtrip 2014-07-25 16:43:18 -03:00
Manuel Aráoz
cbfd30af16 Merge pull request #453 from matiu/feature/builder01
fix checkMerge, and tests
2014-07-24 18:50:55 -03:00
Matias Alejo Garcia
8660120add fix checkMerge, and tests 2014-07-24 18:46:12 -03:00
Ryan X. Charles
552a18b760 Merge pull request #452 from matiu/feature/txproposal10
TransactionBuilder .fromObj .toObj rewrite
2014-07-24 16:57:36 -04:00
Manuel Araoz
f1d7662a70 fix browser tests 2014-07-24 17:44:57 -03:00
Manuel Araoz
a0a730b3d8 add tx basic event test 2014-07-24 17:44:57 -03:00
Manuel Araoz
8a88c3ccd0 finish basic tests 2014-07-24 17:44:57 -03:00
Manuel Araoz
2fb5d7d3a5 change test to use sinon 2014-07-24 17:44:57 -03:00
Manuel Araoz
837658034a one test passes 2014-07-24 17:44:57 -03:00
Manuel Araoz
f8d7d1da9d add Transaction#getReceivingAddresses and send 2014-07-24 17:44:56 -03:00
Manuel Araoz
486f2ae1dc starting NetworkMonitor implementation 2014-07-24 17:42:51 -03:00
Matias Alejo Garcia
494fc25d27 formated using js-beautify / tests 2014-07-24 17:35:39 -03:00
Matias Alejo Garcia
8e1de31797 test passing. 2014-07-24 17:33:40 -03:00
Ryan X. Charles
0f737b4f00 Merge pull request #450 from matiu/feature/sin03
Feature/sin03
2014-07-24 16:25:02 -04:00
Matias Alejo Garcia
2f97390849 formatted with js-beautify 2014-07-24 16:48:45 -03:00
Matias Alejo Garcia
397fc8607f new to/from Obj. WIP 2014-07-24 16:34:57 -03:00
Matias Alejo Garcia
3d828df063 add test to SIN 2014-07-24 01:52:17 -03:00
Matias Alejo Garcia
71f992138b add check in constructor of Address 2014-07-24 01:40:56 -03:00
Matias Alejo Garcia
19584e1f26 add check in constructor 2014-07-24 01:40:13 -03:00
Ryan X. Charles
cd1d667fe1 Merge pull request #448 from matiu/feature/sin02
Feature/sin02
2014-07-23 20:48:33 -04:00
Matias Alejo Garcia
3dd09129c8 fix tests 2014-07-23 19:56:19 -03:00
Matias Alejo Garcia
85e013c620 fix tests 2014-07-23 19:55:18 -03:00
Matias Alejo Garcia
cad0fcf993 update tests 2014-07-23 19:51:34 -03:00
Matias Alejo Garcia
15c55e560a support uncompressed pub keys also 2014-07-23 19:49:42 -03:00
Matias Alejo Garcia
14d3165a73 add fromPubKey to SIN 2014-07-23 18:53:57 -03:00
Christopher Jeffrey
f7c247fa12 paypro: alter tests to make sure this pki_data bug does not happen again. 2014-07-23 14:23:15 -07:00
Christopher Jeffrey
017f044b53 paypro: fix browser signatures with KJUR. move pem/der functions to common. 2014-07-21 19:52:43 -07:00
Christopher Jeffrey
604ac04f47 paypro: split up paypro into node/browser/common. 2014-07-21 18:15:52 -07:00
Christopher Jeffrey
2741f7509f paypro: minor - remove useless text processing. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
fa1c4b3570 paypro: add DERtoPEM and PEMtoDER tests. 2014-07-21 14:56:48 -07:00
Christopher Jeffrey
14966082ae paypro: separate tests for x509+sha256 and x509+sha1. 2014-07-21 14:56:47 -07:00
Christopher Jeffrey
02f9ce8dfd paypro: temporarily fix tests. 2014-07-21 14:56:47 -07:00
Christopher Jeffrey
45ff292ade paypto: alter tests to improve consistency with signature and verification tests. 2014-07-21 14:56:47 -07:00
Christopher Jeffrey
0db74604db paypro: update root certs and fix tests. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
cc7657d843 paypro: treat pki_data as an array. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
2e422c001e paypro: fix payment protocol for DER certs. 2014-07-21 14:55:10 -07:00
Christopher Jeffrey
3dc7a4ab84 test: fix x509 tests for PayPro. 2014-07-21 14:54:03 -07:00
Christopher Jeffrey
13553a42d1 x509: try different certs/keys/pems. 2014-07-21 14:54:03 -07:00
Christopher Jeffrey
c209e3172d paypro: x509 nonsense. 2014-07-21 14:54:03 -07:00
Christopher Jeffrey
1d0f01c133 paypro: first pass at implementing payment protocol for x509. 2014-07-21 14:54:03 -07:00
Ryan X. Charles
098c613cb0 SIN should call EncodedData constructor
Creating SINs was broken due to not calling the parent constructor, shich sets
"converts" and "_encoding". I've fixed the problem and added tests that reveal
the error.
2014-07-18 09:24:57 -07:00
Ryan X. Charles
0c8f7d4d21 move bitcore-dev.js -> bundle.js
To make it easier to test the master branch of bitcore with other apps,
especially Copay.
2014-07-17 16:30:47 -07:00
Ryan X. Charles
49ff6c7b76 add further tests for Key 2014-07-17 15:44:28 -07:00
Ryan X. Charles
57a55d0863 expose signature internal functions
"sign" and "genk" ... and add some signature tests
2014-07-17 15:24:19 -07:00
Ryan X. Charles
2c136d4dcc remove obsolete Curve class (G and n now accessible from Point) 2014-07-17 13:14:49 -07:00
Ryan X. Charles
5f6d02f5de add proper DER signature support to Key
both creating DER signature from the r and s values, and parsing a DER
signature into the r, s, and other properties.
2014-07-17 13:09:35 -07:00
Ryan X. Charles
e485d0e331 Merge pull request #432 from ryanxcharles/feature/proto
Correct deprecated setting of __proto__
2014-07-16 16:24:22 -07:00
Ryan X. Charles
c4e22bf5fd Merge pull request #431 from ryanxcharles/bug/SIGHASH_ANYONECANPAY
use correct constant & share between Transaction and ScriptInterpreter
2014-07-16 16:24:14 -07:00
Ryan X. Charles
fc7b5b11c7 Merge pull request #429 from ryanxcharles/feature/update-bn.js
update bn.js to latest version
2014-07-16 16:23:53 -07:00