Commit Graph

75 Commits

Author SHA1 Message Date
Matias Pando 06c83a8aba Move files to /model 2014-09-23 15:44:11 -03:00
Matias Alejo Garcia 238d36c0a7 fix pubkey param. add test 2014-09-18 18:29:00 -03:00
Matias Alejo Garcia 9bfc0dd193 revert to setPassphrase 2014-09-18 16:38:18 -03:00
Matias Alejo Garcia 56a7a7b5c5 rename setPassphrase 2014-09-18 16:15:23 -03:00
Matias Alejo Garcia 5886af5420 WIP karma tests 2014-09-17 08:58:23 -03:00
Matias Alejo Garcia 415861df29 all test passing, after rebasing 2014-09-15 17:45:06 -03:00
Matias Alejo Garcia fd97b12c4d . 2014-09-15 16:46:24 -03:00
Matias Alejo Garcia b38c26fbd4 . 2014-09-15 16:42:45 -03:00
Matias Alejo Garcia 52a8423df9 trying to fix tests 2014-09-15 16:11:26 -03:00
Matias Alejo Garcia 5cf4fe0b66 ALL TEST PASSING!!! 2014-09-15 14:23:02 -03:00
Matias Alejo Garcia ad22b24d83 more tests 2014-09-15 14:21:49 -03:00
Matias Alejo Garcia c3574ae57f refactor WalletFactory test to use sinon instead of mocks WIP 2014-09-15 14:18:10 -03:00
Matias Alejo Garcia 9f30c9ade5 fix more tests en wallet f 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f48898033f more tests fixes 2014-09-15 14:17:52 -03:00
Matias Alejo Garcia f1e6d6cfc6 fix walletLock test 2014-09-15 14:17:20 -03:00
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