Commit graph

117 commits

Author SHA1 Message Date
Matias Alejo Garcia
2c354525ea test passing 2014-08-28 19:19:28 -03:00
Manuel Aráoz
a37e31ec80 Merge pull request #1199 from isocolsky/test/sendTx
Test wallet#sendTx
2014-08-27 11:03:41 -03:00
Ivan Socolsky
0710c002ca Fail to send should check if already sent 2014-08-27 10:36:01 -03:00
Ivan Socolsky
63fb94c2be Check fail when sending incomplete tx 2014-08-27 09:47:45 -03:00
Manuel Araoz
5206547a61 add some mocha tests to karma 10 2014-08-26 16:41:21 -03:00
Manuel Araoz
6fa50f1dc2 fix test 5 2014-08-26 11:43:42 -03:00
Manuel Araoz
850c4c6f70 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz
8709d91b37 fix test 4 2014-08-26 11:43:42 -03:00
Manuel Araoz
f5e7886a72 fix test 3 2014-08-26 11:43:42 -03:00
Manuel Araoz
73390cebf8 fix test 2 2014-08-26 11:43:42 -03:00
Manuel Araoz
0b80373894 fix test 1 2014-08-26 11:43:42 -03:00
Matias Alejo Garcia
35e9508b28 fix formatting 2014-08-22 14:44:40 -04:00
Matias Alejo Garcia
51a42cce8e mocha tests passing 2014-08-22 13:26:03 -04:00
Matias Alejo Garcia
18ffaa172a refactor txProposal input signature handling 2014-08-22 13:25:55 -04:00
Matias Alejo Garcia
e11ac3e956 add tests 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia
4931c9d618 add purge to tx prosposals 2014-08-22 10:26:19 -04:00
Ivan Socolsky
ce910fe52f Check tx proposal minimum amount 2014-08-21 16:02:02 -03:00
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