Commit graph

60 commits

Author SHA1 Message Date
Manuel Araoz
85af562350 settings: fix tests 5 2014-09-10 14:02:11 -07:00
Manuel Araoz
d4f7401e23 settings: fix tests 4 2014-09-10 14:01:40 -07:00
Manuel Araoz
d57e5e73e7 settings: fix tests 3 2014-09-10 14:01:10 -07:00
Manuel Araoz
28dff691fd settings: fix tests 2 2014-09-10 13:56:49 -07:00
Manuel Araoz
69b70d7d2b settings: fix tests 2014-09-10 13:40:20 -07:00
Manuel Araoz
296ddf3625 settings: fix test 3 2014-09-10 13:40:20 -07:00
Manuel Araoz
6a9ad9c01e settings: fix test 2 2014-09-10 13:39:22 -07:00
Manuel Araoz
aba883ed2d settings: fix test spelling 2014-09-10 13:39:22 -07:00
Manuel Araoz
1d0f12f4cb settings: fix test 1 2014-09-10 13:39:22 -07:00
Manuel Araoz
f9a31ce9aa settings: nuke verbose 2 2014-09-10 13:19:27 -07:00
Esteban Ordano
00774b62fd Revert "Delete BuilderMockV0"
This is a combination of 3 commits:
* Revertion of commit b39a683339.
* Revertion of commit 61aea8db3d.
* Revertion of commit 5f666aef66.
2014-09-10 10:02:57 -03:00
Esteban Ordano
61aea8db3d Fix tests 2014-09-02 18:43:40 -03:00
Manuel Araoz
89ec5ad61e add wallet import test 2014-09-02 17:08:09 -03:00
Esteban Ordano
6520f8c5e6 Fixes tests 2014-09-01 17:00:34 -03:00
Yemel Jardi
33801e9587 Refactor blockchain backing service 2014-08-29 12:27:53 -03:00
Matias Alejo Garcia
291ed73916 add test and adv opts to create 2014-08-22 10:26:19 -04:00
Matias Alejo Garcia
ca23aed70f add test for priv key import 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia
7f0e9cd03d implements skipping fields in backup imports 2014-08-22 10:25:30 -04:00
Matias Alejo Garcia
9e5bec9b9b rm cache from storage/network from Priv Key 2014-08-19 13:31:35 -04:00
Matias Alejo Garcia
20af614f40 remove pubkey cache from network and storage 2014-08-19 11:48:29 -04:00
Matias Alejo Garcia
eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Gregg Zigler
c8c7a57416 1. Add TxProposals to mocha test page
2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
2014-08-06 18:44:04 -04:00
Yemel Jardi
9b1708b88e Save last opened wallet 2014-08-04 15:10:01 -03:00
Matias Alejo Garcia
4241bdac68 all test pass! 2014-07-29 13:33:54 -03:00
Matias Alejo Garcia
cb8f719a99 all tests BUT hardcoded imports working 2014-07-29 13:10:36 -03:00
Matias Alejo Garcia
7f11793b96 less strict import check for TXP v0 2014-07-25 11:13:48 -03:00
Manuel Araoz
08c2579272 fix test 2014-07-25 10:54:46 -03:00
Manuel Araoz
235920bd84 add failing test for mati to fix 2014-07-25 10:50:18 -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
e6a9a443cc Update tests 2014-07-08 15:54:10 -03:00
Yemel Jardi
2abc35ae57 Add update indexes and support old indexes schema 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
Yemel Jardi
2e56a782bd Add cosigner index to AddressIndex 2014-07-03 16:42:29 -03:00
Gustavo Cortez
4ff9295e27 increased tests coverage 2014-07-02 16:55:41 -03:00
Gustavo Cortez
392fb8586b Fix tests and increase coverage of them 2014-07-02 10:44:20 -03: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
Manuel Araoz
380503f97f add tests 2014-06-26 10:16:28 -03:00
Yemel Jardi
a5a30c3ba5 Add wallet factory tests 2014-06-26 10:08:40 -03:00
Ryan X. Charles
952b2a6d36 add tests for WalletFactory 2014-06-19 13:15:41 -07:00
Ryan X. Charles
bf36376dda got WalletFactory tests to work
...by removing the reference to netKey
2014-06-19 13:14:51 -07:00
Gustavo Cortez
f1b92ac67f update branch 2014-06-19 13:16:20 -03:00
Gustavo Cortez
4aa3915381 Sync address book with all copayer 2014-06-18 20:18:13 -03:00
Ryan X. Charles
8c1c0b211e remove console.log from test
...cluttering the console.log output looks bad and can be avoided using methods
like this.
2014-06-18 09:32:19 -07:00
Gustavo Cortez
21baa103bd Fix Conflicts:
js/models/core/WalletFactory.js
2014-06-18 10:03:22 -03:00
Gustavo Cortez
f5aad7bd15 Addressbook on SendPage 2014-06-18 01:00:32 -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
Ryan X. Charles
de4225cc3f make WalletFactory tests work in mocha browser 2014-06-17 09:03:30 -07:00