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
Yemel Jardi
e95bb8e580
performance improvement
2014-06-25 13:06:25 -03:00
Matias Alejo Garcia
88e6ea9f40
Merge pull request #748 from ryanxcharles/feature/speed-up-wallet-tests
...
speed up wallet tests by three times
2014-06-25 10:09:58 -03:00
Ryan X. Charles
fe25fa3ad8
speed up wallet tests by caching wallet creation
2014-06-24 17:48:05 -07:00
Manuel Araoz
326384cd4b
optimize redeemscript map generation
2014-06-24 17:08:53 -03:00
Ryan X. Charles
0d54875bf2
Merge pull request #712 from maraoz/txp/protocol/security2
...
Improve tx proposal protocol security
2014-06-23 15:18:56 -07:00
Yemel Jardi
26c829f6de
Add validation and tests for spendUnconfirmed = false
2014-06-23 14:58:11 -03:00
Manuel Araoz
3ce3af4408
fix merge with master
2014-06-23 11:24:08 -03:00
Manuel Araoz
542f6d5cea
add preconditions and tests
2014-06-23 11:23:48 -03:00
Ryan X. Charles
7ae6438478
add tests for Wallet
2014-06-19 13:15:41 -07:00
Ryan X. Charles
57417287bd
fix Wallet tests
...
...by removing references to now-nonexistent netKey
2014-06-19 13:13:42 -07:00
Gustavo Cortez
47dcc12910
Fix Conflicts:
...
js/models/core/Wallet.js
2014-06-19 16:43:34 -03:00
Manuel Araoz
d800a98df0
fix timeout test
2014-06-19 15:57:38 -03:00
Manuel Araoz
b7af51ceee
all tests passing
2014-06-19 15:57:38 -03:00
Manuel Araoz
889edf4b92
add preconditions and tests
2014-06-19 15:57:38 -03:00
Gustavo Cortez
8398d8b663
Karma test for send Controller. Added another test for check handle of addressBook.
2014-06-19 14:21:38 -03:00
Gustavo Cortez
4aa3915381
Sync address book with all copayer
2014-06-18 20:18:13 -03:00
Yemel Jardi
0958d9686e
Add more tests
2014-06-18 14:24:48 -03:00
Yemel Jardi
29920abdb3
Add wallet addresses index discovery on importing backup
2014-06-18 11:10:51 -03:00
Gustavo Cortez
f5aad7bd15
Addressbook on SendPage
2014-06-18 01:00:32 -03:00
Ryan X. Charles
46efea1243
make Wallet 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
00ca9f1c32
make unit configurable in settings. update after @cmgustavo comments
2014-06-16 12:44:18 -03:00