Commit Graph

100 Commits

Author SHA1 Message Date
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -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 e857e34b1d fixing index.html and karma tests 2014-08-14 11:51:56 -04:00
Christopher Jeffrey 58b9345f59 test: fix wallet test if copay is in ./node_modules. 2014-08-14 09:52:08 -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 5a2dfe690d add rebroadcast test 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 91829f8410 remove sender sig check 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 36fcd6882f add more tests to wallet 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia f5f9848ff1 all test passing! 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 966818c53a add different toObj/fromObj fn for networking 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia dc3bbb8859 wallet test passings 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 5d2b50f77f test in Txproposals working again 2014-08-05 16:38:13 -03:00
Yemel Jardi 523a48b056 Remove Name field and copayer list on 1-of-1 wallets 2014-08-04 16:27:58 -03:00
Yemel Jardi fdabdc64fe Add a pre-generated address to the shared branch 2014-07-31 16:13:27 -03:00
Matias Alejo Garcia 578d05e638 all tests BUT hardcoded imports working 2014-07-29 13:09:47 -03:00
Manuel Araoz e85431861e fix cases for incomplete transactions 2014-07-25 13:37:12 -03:00
Manuel Araoz 4cab2d1929 fix new tests 2014-07-25 12:25:28 -03:00
Manuel Araoz 76e0d8f5ef add validation for actual tx SIGHASH_TYPE 2014-07-25 12:25:28 -03:00
Manuel Araoz b5c144d48c complete validation tests for txProposal SIGHASH 2014-07-25 12:25:27 -03:00
Matias Alejo Garcia 2d481dd406 updates model and tests to newest bitcore version 2014-07-24 21:18:38 -03:00
Yemel Jardi 3ebf88f6aa Improve indexDiscovery tests performance 2014-07-10 16:19:09 -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 248c18596c more tests 2014-07-08 19:52:47 -03:00
Yemel Jardi 4303b0beab Add tests 2014-07-08 15:54:10 -03:00
Yemel Jardi e6a9a443cc Update tests 2014-07-08 15:54:10 -03:00
Manuel Araoz 00cf32fc8d add forceNetwork parameter and test it 2014-07-08 12:34:49 -03:00
Gustavo Cortez 14cea0362f Fixes and re-factory 2014-07-07 20:01:50 -03:00
Gustavo Cortez c00deb25f9 Fix tests 2014-07-07 19:12:34 -03:00
Gustavo Cortez a1e5246727 updated 2014-07-07 18:13:26 -03:00
Gustavo Cortez 0931024e23 Fixes: verify addressbook method 2014-07-07 17:38:17 -03:00
Matias Alejo Garcia f497d76405 Merge pull request #816 from yemel/feature/bipNNN-refactor
Feature/bip nnn refactor
2014-07-07 15:55:13 -03:00
Ryan X. Charles b775220209 update to bitcore v0.1.25
...to fix an error where the scriptForAddress function no longer exists.
2014-07-07 10:35:06 -07:00
Gustavo Cortez 7cdf559fd7 Fixes typos: Matias's suggestions. Added more tests 2014-07-07 10:58:43 -03:00
Yemel Jardi 13cf5e4216 change import to fix index.html tests 2014-07-07 10:32:19 -03:00
Gustavo Cortez 313fcd4808 Added creator's signature to address book entry. Re-factory somethings and improve the merge of them 2014-07-07 01:33:39 -03:00
Manuel Araoz a30b8d81bb fix tests 2014-07-04 12:51:27 -03:00
Yemel Jardi 7562c3f9e7 Add some test and refactor getCosigner 2014-07-04 09:45:02 -03:00
Yemel Jardi 2abc35ae57 Add update indexes and support old indexes schema 2014-07-03 16:42:29 -03:00
Yemel Jardi 04b6aa4003 PublicKeyRing handles one index for each cosigner 2014-07-03 16:42:29 -03:00
Yemel Jardi e9f20b5de6 Change PublicKeyRing index to array of AddressIndex 2014-07-03 16:42:29 -03:00
Gustavo Cortez 392fb8586b Fix tests and increase coverage of them 2014-07-02 10:44:20 -03:00
Ryan X. Charles ed0ced1971 Merge pull request #760 from yemel/fix/test-changes
improve performance at rounding error tests
2014-06-26 15:18:00 -07:00
Gustavo Maximiliano Cortez dff3c9c479 Merge pull request #755 from yemel/feature/importing-feedback
Add feedback while importing wallet
2014-06-26 15:51:28 -03:00
Yemel Jardi 80499af194 fix error and improve performance 2014-06-26 11:16:54 -03:00
Manuel Araoz 380503f97f add tests 2014-06-26 10:16:28 -03:00
Yemel Jardi db59a1bd36 reduce the chance of a test failure 2014-06-25 16:17:34 -03:00
Yemel Jardi 96cbf8ad7b Add feedback while importing wallet 2014-06-25 15:58:55 -03:00