Commit graph

46 commits

Author SHA1 Message Date
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
Ryan X. Charles
f7e34acae8 make mocha browser tests all run with no console errors
...except Wallet and WalletFactory.
2014-06-17 09:03:30 -07:00
Matias Alejo Garcia
2c60fd91c0 implements delete wallet, in backuptab 2014-06-16 17:37:33 -03:00
Matias Alejo Garcia
d0e20c1bff progressive reconnect time 2014-06-09 20:09:18 -03:00
Gustavo Maximiliano Cortez
43806a5825 Merge pull request #623 from matiu/feature/livenet2
Feature/livenet2
2014-06-09 18:10:51 -03:00
Matias Alejo Garcia
8e8bf1fb84 update to use pkr.networkName 2014-06-09 18:01:15 -03:00
Matias Alejo Garcia
60ed55b564 fix tests 2014-06-09 17:52:51 -03:00
Manuel Araoz
697dea673a add more tests and fix some bugs 2014-06-09 17:29:13 -03:00
Manuel Araoz
51d5d7164e add AddressIndex model 2014-06-04 14:25:21 -03:00
Manuel Araoz
fe177eaba2 fix tests 2014-06-03 12:40:28 -03:00
Manuel Araoz
55245650bd rename WF test 2014-06-02 18:59:50 -03:00
Renamed from test/test.Walletfactory.js (Browse further)