Commit Graph

56 Commits

Author SHA1 Message Date
Christopher Jeffrey 630e631b60 paypro: test - remove logging. 2014-08-18 16:16:36 -07:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Matias Alejo Garcia bcb61810d5 WIP: better lock 2014-08-15 18:29:30 -04:00
Manuel Araoz 5b558e18fb remove soop from tests 2014-08-15 17:46:48 -04:00
Manuel Araoz 3081f1ef9a remove soop 3 2014-08-15 17:46:48 -04:00
Manuel Araoz d0f264cdae remove soop 2 2014-08-15 17:46:48 -04:00
Manuel Araoz e7967486a3 remove soop dependency 2014-08-15 17:46:47 -04:00
Christopher Jeffrey 1c264deb2c test: use is_browser instead of try/catch to detect browser. 2014-08-14 12:29:11 -04:00
Manuel Araoz e857e34b1d fixing index.html and karma tests 2014-08-14 11:51:56 -04:00
Manuel Araoz 10bd5ba6bf moving torwards fixing tests 2014-08-14 09:52:42 -04:00
Manuel Araoz d43e7943d3 move towards fixing karma tests 2014-08-14 09:52:42 -04:00
Manuel Araoz e2ab9dd0c8 fix one test 2014-08-14 09:52:42 -04:00
Manuel Araoz 1a186b4640 fix requires for karma 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 6ec8a087f3 paypro: fix POST route in fake paypro server. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey efe41cead4 paypro: use unspecified GET method for first paypro request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 8bebbe8ec6 paypro: fix mock server to handle txs as buffers when browserified. tests passing in browser. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 052e2522be paypro: stop using global $http. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey a93f4532c5 paypro: fix paypro tests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 1c4d292a96 paypro: fix mock server. unit controller tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 4cbc9ebf63 paypro: test - add mock paypro server. 2014-08-14 09:52:09 -04:00
Matias Alejo Garcia 35ab711846 refactor lock warning and add tests 2014-08-12 15:26:15 -04:00
Gustavo Maximiliano Cortez 8ad1fa7b02 Fixes: tests. Added karma and mocha tests. 2014-08-07 20:07:41 -03:00
Matias Alejo Garcia ddc8649bd3 fix `comment` handling 2014-08-06 15:56:17 -03:00
Matias Alejo Garcia 42c73f9a01 rewrite from scratch tests for TxProposalSet 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia ae042a8292 TxProposal fully testes 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 6e5f06693d separate TxProposal to a different class. new tests 2014-08-05 16:38:13 -03:00
Gustavo Maximiliano Cortez a5544d08db Merge pull request #1040 from yemel/feature/improve-1-of-1
Remove Name field and copayer list on 1-of-1 wallets
2014-08-05 10:29:46 -03:00
Yemel Jardi c8d24cc420 Add mock method at FakeWallet 2014-08-05 10:21:29 -03:00
Yemel Jardi 9b1708b88e Save last opened wallet 2014-08-04 15:10:01 -03:00
Yemel Jardi fdabdc64fe Add a pre-generated address to the shared branch 2014-07-31 16:13:27 -03:00
Ryan X. Charles 88ab38eb00 add nonce support to WebRTC and Wallet
Each person keeps track of their own nonce, and the nonces of the other
copayers. The nonce is iterated for each message. If a person ever doesn't
iterate their nonce, that message is discarded by the copayers.

The nonces are saved as networkNonce (your nonce) and networkNonces (the nonces
of your copayers) in the wallet file.

In order to support restoring old wallets, the first four bytes of the 8 byte
nonce are actually the current time in seconds. Thus you can restore an old
wallet, because certainly at least one second has passed since your last
message. Only if you try to restore an old wallet within 1 second from the time
of your last message will you have a problem (or if your system clock is
grossly inaccurate).
2014-07-08 23:03:30 -07:00
Gustavo Maximiliano Cortez d91c42ee30 Merge pull request #873 from matiu/feature/test01
Feature/test01
2014-07-08 20:13:23 -03:00
Matias Alejo Garcia 7a072e83d9 . 2014-07-08 20:05:41 -03:00
Yemel Jardi e6a9a443cc Update tests 2014-07-08 15:54:10 -03:00
Gustavo Maximiliano Cortez 7e3477d03f Merge pull request #752 from matiu/bug/balance-update
fix address event subscription
2014-06-25 11:45:30 -03:00
Gustavo Maximiliano Cortez 8a8614fe5b Merge pull request #742 from yemel/feature/better-off-alone
Review copay features for 1-of-1
2014-06-25 11:34:51 -03:00
Matias Alejo Garcia 792f48b2ea fix address event subscription 2014-06-25 11:12:38 -03:00
Manuel Araoz 326384cd4b optimize redeemscript map generation 2014-06-24 17:08:53 -03:00
Yemel Jardi 7d8d89ab38 Review copay features for 1-of-1 2014-06-24 15:54:10 -03:00
Ryan X. Charles ea2e2d4e19 run js-beautify on everything
...with two spaces. Command: js-beautify -s 2 -r [filename]
2014-06-24 08:36:32 -07:00
Yemel Jardi 26c829f6de Add validation and tests for spendUnconfirmed = false 2014-06-23 14:58:11 -03:00
Gustavo Cortez 8398d8b663 Karma test for send Controller. Added another test for check handle of addressBook. 2014-06-19 14:21:38 -03:00
Matias Alejo Garcia cd71ce4421 fix conflics 2014-06-17 16:25:38 -03:00
Matias Alejo Garcia 710c9c9657 fix tests 2014-06-17 14:02:39 -03:00
Manuel Araoz 4b81bc1fdb add tests 2014-06-16 17:40:59 -03:00
Matias Alejo Garcia 2c60fd91c0 implements delete wallet, in backuptab 2014-06-16 17:37:33 -03:00
Matias Alejo Garcia 727bf8524a implement BITS + tests 2014-06-13 19:46:47 -03:00
Manuel Araoz 84b3752a58 add coverage, skip failing tests 2014-06-09 11:19:53 -03:00
Manuel Araoz 86016de19d add new tests for new reconnect feature 2014-06-03 13:07:31 -03:00