Commit Graph

37 Commits

Author SHA1 Message Date
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
Mario Colque a9416ce1cd fixed tests 2014-05-01 16:32:03 -03:00
Matias Alejo Garcia 46fa0e518c fix conflics 2014-04-24 23:43:05 -03:00
Manuel Araoz d62dbeffca WIP for automatic network join 2014-04-18 14:40:40 -03:00
Ryan X. Charles 4681783231 add setFromObj to FakeStorage - and fix publicKeyring capitalization
...to fix tests
2014-04-17 18:55:17 -03:00
Ryan X. Charles 96a6203bb0 make my code work with the latest interface changes
...to Wallet and WalletFactory
2014-04-16 21:13:35 -03:00
Manuel Araoz 609ba4ef71 renaming files 2014-04-16 11:55:18 -03:00