Matias Alejo Garcia
2008db932b
add buildermockv0 to show old / obsolete tx proposals
2014-07-25 11:59:13 -03:00
Matias Alejo Garcia
b788c76d91
rm log
2014-07-25 07:53:29 -03:00
Matias Alejo Garcia
23ba3e6ebf
updates version and use latest bitcore params
2014-07-25 07:53:02 -03:00
Matias Alejo Garcia
813c498d1f
fix typo
2014-07-24 21:59:44 -03:00
Matias Alejo Garcia
2d481dd406
updates model and tests to newest bitcore version
2014-07-24 21:18:38 -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
Matias Alejo Garcia
27e27af7ab
Merge pull request #872 from cmgustavo/bug/01-config-storage
...
Fixes: save config in localStorage
2014-07-08 21:00:03 -03:00
Gustavo Maximiliano Cortez
4d160a4ee7
Fixes:
...
* Save config in localStorage
* Show forced networkName in settings Page
2014-07-08 18:53:02 -03:00
Yemel Jardi
e6a9a443cc
Update tests
2014-07-08 15:54:10 -03:00
Yemel Jardi
c145290167
Add full backup stage with user feedback
2014-07-08 15:53:34 -03:00
Yemel Jardi
49ac6dfcf4
Hold on backup page until all copayers made a full backup
2014-07-08 15:53:34 -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
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
e180e53e73
add SIN and video
2014-07-07 17:00:26 -03:00
Matias Alejo Garcia
2626414771
Merge pull request #830 from yemel/fix/peer-id-taken
...
Derive token from cid, bring back the custom version of peerjs
2014-07-07 15:55:46 -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
Gustavo Cortez
ac2eda3670
Fixes typos and re-factory throw errors
2014-07-07 14:53:34 -03:00
Yemel Jardi
d0693442ce
Remove magic number fixes #736
2014-07-07 12:27:05 -03:00
Yemel Jardi
e22eed8610
Fix double wallet store on open/create/join
2014-07-07 12:17:36 -03:00
Yemel Jardi
f8ea3a4090
Derive token from cid, bring back the custom version of peerjs
2014-07-07 11:29:28 -03:00
Gustavo Cortez
7cdf559fd7
Fixes typos: Matias's suggestions. Added more tests
2014-07-07 10:58:43 -03:00
Matias Alejo Garcia
44ef1c4710
Merge pull request #818 from maraoz/bug/addresses-check-network
...
check network for addresses
* Chrome 35.0.1916 (Mac OS X 10.9.3): Executed 76 of 76 SUCCESS (0.806 secs / 0.239 secs)
* mocha: 170 passing (8s)
* browser: 100%: 128.16s
Code: OK (I am starting to like preconditions 👍 )
2014-07-07 09:45:23 -03:00
Gustavo Cortez
c83e0c73da
Delete entry with a wrong signature
2014-07-07 01:57:25 -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
Manuel Araoz
90ebd8deb5
add check to core, not only UI
2014-07-04 11:40:07 -03:00
Yemel Jardi
2abc35ae57
Add update indexes and support old indexes schema
2014-07-03 16:42:29 -03:00
Yemel Jardi
fd2cf54eb4
Hide empty addresses from othe copayers
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
Matias Alejo Garcia
5ba388e911
add testnet in footer / add links
2014-07-03 11:37:26 -03:00
Gustavo Cortez
f6709c4000
Fixes: catch error message when importing wallet from different network
2014-07-02 10:43:00 -03:00
Matias Alejo Garcia
c16531dfb7
Merge pull request #768 from ryanxcharles/feature/authentication
...
Authentication
2014-06-26 23:12:46 -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
Ryan X. Charles
543c42a6a8
add authentication via new Message core class
2014-06-26 08:50:39 -07:00
Manuel Araoz
1639b796cf
intermediate screen backup
2014-06-26 10:16:28 -03:00
Yemel Jardi
96cbf8ad7b
Add feedback while importing wallet
2014-06-25 15:58:55 -03:00
Gustavo Maximiliano Cortez
7e3477d03f
Merge pull request #752 from matiu/bug/balance-update
...
fix address event subscription
2014-06-25 11:45:30 -03:00
Matias Alejo Garcia
792f48b2ea
fix address event subscription
2014-06-25 11:12:38 -03:00
Manuel Araoz
2bf8ac912f
add preconditions to Structure.js
2014-06-25 11:10:11 -03:00
Manuel Araoz
326384cd4b
optimize redeemscript map generation
2014-06-24 17:08:53 -03:00
Ryan X. Charles
ea2e2d4e19
run js-beautify on everything
...
...with two spaces. Command: js-beautify -s 2 -r [filename]
2014-06-24 08:36:32 -07: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
f4a5202a99
add seenBy fix
2014-06-23 11:23:48 -03:00
Manuel Araoz
cf159241a9
working towards fixing tests with new rules
2014-06-23 11:23:48 -03:00
Manuel Araoz
781adacbef
fix dependency management
2014-06-23 11:23:19 -03:00
Ryan X. Charles
7ae6438478
add tests for Wallet
2014-06-19 13:15:41 -07:00
Ryan X. Charles
8e81e9108f
add private key in Wallet call to network start
2014-06-19 13:14:51 -07:00
Ryan X. Charles
b9ecab9b92
remove commented-out references to obsolete netKey
2014-06-19 13:14:51 -07:00
Ryan X. Charles
31d601b2a6
initial work replacing symmetric shared secret with ECIES
2014-06-19 13:13:01 -07:00
Gustavo Cortez
47dcc12910
Fix Conflicts:
...
js/models/core/Wallet.js
2014-06-19 16:43:34 -03:00
Manuel Araoz
e09d8e11d4
optimize txp protocol
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
Manuel Araoz
03b4d16473
following the single TxProposal changes
2014-06-19 15:56:35 -03:00
Manuel Araoz
27de2896d8
working on refactor
2014-06-19 15:56:34 -03:00
Manuel Araoz
b791d58c6c
refactors
2014-06-19 15:56:34 -03:00
Manuel Araoz
e0db6cac28
fix dependency management
2014-06-19 15:56:34 -03:00
Gustavo Cortez
4aa3915381
Sync address book with all copayer
2014-06-18 20:18:13 -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
Yemel Jardi
6ab77e8711
Add user notifications on transaction signed and rejected events
2014-06-16 15:38:26 -03:00
Matias Alejo Garcia
00ca9f1c32
make unit configurable in settings. update after @cmgustavo comments
2014-06-16 12:44:18 -03:00
Matias Alejo Garcia
194e5fed54
fix conflics
2014-06-13 19:47:11 -03:00
Matias Alejo Garcia
4fe58ec446
update to master
2014-06-13 19:47:11 -03:00
Matias Alejo Garcia
727bf8524a
implement BITS + tests
2014-06-13 19:46:47 -03:00
Manuel Aráoz
8d3ebcc0e2
Merge pull request #673 from yemel/feature/proposal-comments
...
Add user comment to transaction propossal
2014-06-13 11:30:12 -03:00
Yemel Jardi
bcbb6b54d1
Add user comment to transaction propossal
2014-06-13 10:33:30 -03:00
Manuel Araoz
322a793b62
trying to fix tests
2014-06-12 14:36:00 -03:00
Matias Alejo Garcia
4ae3748414
checks network match when joining a wallet
2014-06-09 21:00:28 -03:00
Matias Alejo Garcia
d0e20c1bff
progressive reconnect time
2014-06-09 20:09:18 -03:00
Matias Alejo Garcia
be7e122b0a
rm variable 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
Manuel Araoz
2fe08a258d
add test for sendTx
2014-06-09 17:52:08 -03:00
Matias Alejo Garcia
85030f00ab
add network to wallet file + check on open
2014-06-09 17:37:16 -03:00
Manuel Araoz
697dea673a
add more tests and fix some bugs
2014-06-09 17:29:13 -03:00
Matias Alejo Garcia
eb5d9cd90a
fix bad message from peer on walletId type
2014-06-09 16:17:00 -03:00
Matias Alejo Garcia
5c6c02104d
fixes https://github.com/bitpay/copay/issues/613
2014-06-09 16:09:22 -03:00
Matias Alejo Garcia
5ff8ad236a
fix tests
2014-06-09 11:41:13 -03:00
Matias Alejo Garcia
521dd3efe5
simply a little webRTC error handling, add more messages
2014-06-09 11:34:09 -03:00
Manuel Araoz
70d95b6f68
add more test coverage for Wallet
2014-06-09 11:19:53 -03:00
Yemel Jardi
9b5e155192
Add retry connection to peerjs server on login
2014-06-06 12:30:50 -03:00
Matias Alejo Garcia
c64bf07ae3
fix safeUnspents report
2014-06-05 14:55:19 -03:00
Manuel Araoz
cd23751ada
fail early with invalid tx proposals
2014-06-04 16:29:07 -03:00
Manuel Araoz
8228f44fab
change protocol to send only indexes on new addr
2014-06-04 14:25:21 -03:00
Manuel Araoz
7798e38253
remove console.logs
2014-06-03 18:40:07 -03:00
Matias Alejo Garcia
ca7b9168c3
rm log
2014-06-03 17:49:11 -03:00
Manuel Araoz
fe177eaba2
fix tests
2014-06-03 12:40:28 -03:00
Manuel Araoz
3934b750f2
polish reconnect
2014-06-03 11:54:21 -03:00
Manuel Araoz
e822d57905
adding timeout
2014-06-03 11:54:21 -03:00
Manuel Araoz
7b2f227bcc
work towards connection error
2014-06-02 18:59:50 -03:00
Manuel Araoz
6af9ee68e2
include derivation path in tx proposal
2014-05-30 15:34:54 -03:00
Manuel Araoz
f13dea2376
fix tests
2014-05-30 09:49:53 -03:00
Manuel Araoz
4a279c46c3
remove alert
2014-05-28 09:45:50 -03:00
Manuel Araoz
60e4be4d6a
allow only valid cases for livenet
2014-05-28 09:45:17 -03:00
Manuel Araoz
065864beab
fix wallet creation problem
2014-05-27 17:05:43 -03:00
Manuel Araoz
0152cb45a8
optimize address generation protocol
2014-05-27 16:16:22 -03:00
Yemel Jardi
4439bed74c
Skip empty token and tokenTime on wallet serialization
2014-05-23 08:56:25 -07:00
Yemel Jardi
ddffc9810c
Fix: Bring back to life the error message for wallet already in use
2014-05-22 20:02:12 -07:00
Yemel Jardi
406db01dd2
Support reconnection to old peerjs session
2014-05-22 19:28:26 -07:00
Mario Colque
3e0c1ad17c
merge
2014-05-21 18:03:46 -03:00
Mario Colque
6c973d7f88
added a user friendly message when insight doesnt work
2014-05-21 18:03:11 -03:00
Manuel Araoz
89cdfb3f7c
finish m_n script
2014-05-21 16:10:39 -03:00
Manuel Araoz
73e7d2a827
advancing with m-n script
2014-05-21 15:14:48 -03:00
Manuel Araoz
c8ebf0ce65
working on find_m_n script
2014-05-21 11:10:39 -03:00
Matias Alejo Garcia
ba5a3ac2c6
add multiple optiomizations for 30+ tx wallets
2014-05-17 01:19:52 -03:00
Matias Alejo Garcia
6fea0a4f6a
fix signin
2014-05-16 18:48:17 -03:00
Matias Alejo Garcia
398daf3f05
many optimizations in addresses pulling
2014-05-16 18:33:06 -03:00
Matias Alejo Garcia
5154dc7085
broadcast txproposal 1 by 1
2014-05-15 17:43:41 -03:00
Matias Alejo Garcia
d8c3d08582
merge
2014-05-15 16:39:22 -03:00
Manuel Araoz
0dfac71bfe
always show all copayers in tx proposal list
2014-05-15 16:13:03 -03:00
Matias Alejo Garcia
2e99d9a8ea
add version to networking
2014-05-15 00:02:58 -03:00
Gustavo Cortez
a6bcc63460
Fixed autorefresh transactions proposal with a 1-1 wallet
2014-05-13 12:37:10 -03:00
Gustavo Cortez
8a03225cd2
Alert for transaction support in navbar (red label).
...
Fixes Sign and Reject Transactions.
Known bugs:
* After 5 continuous transactions, connection is lost with peers
* 1-of-1 wallet does not refresh automatically
2014-05-13 05:02:21 -03:00
Manuel Araoz
f764c743e4
remove many unnecesary digests
2014-05-09 15:39:33 -03:00
Manuel Araoz
bdbe8bdfc7
remove pubKeyRingUpdated event
2014-05-09 15:39:33 -03:00
Manuel Araoz
1b87083579
disconnect working
2014-05-09 15:39:33 -03:00
Manuel Araoz
55ba5e6d37
connect working
2014-05-09 15:39:33 -03:00
Manuel Araoz
132920f909
change wallet event 'create' to 'ready'
2014-05-09 15:39:33 -03:00
Manuel Araoz
22cd4cae94
make explicit refreshes when storing wallet
2014-05-09 15:39:33 -03:00
Manuel Araoz
8836bdf86a
optimize address page and refresh UI calls.
2014-05-06 17:36:16 -03:00
Mario Colque
aa0ed193fd
Merge pull request #256 from matiu/feature/reconnect-simpler-peer-mgmt
...
better peer management / peer reconection
2014-05-01 22:22:44 -03:00
Matias Alejo Garcia
304c39c2b7
rm logs
2014-05-01 21:59:39 -03:00
Matias Alejo Garcia
65f12f611f
better peer management
2014-05-01 21:48:17 -03:00
Mario Colque
c995f039c2
added encryption backup support
2014-05-01 18:39:21 -03:00
Matias Alejo Garcia
84637bd12d
fix conflicts
2014-05-01 11:04:21 -03:00
Matias Alejo Garcia
79fd185230
better opts for get address
2014-05-01 10:07:30 -03:00
Matias Alejo Garcia
1e8895f4b8
fix conflics
2014-05-01 09:58:56 -03:00
Manuel Araoz
fd9e6cb48a
refactor isChange logic
2014-04-30 20:02:20 -03:00
Manuel Araoz
4acb32c3d8
optimizing address page
2014-04-30 19:58:52 -03:00
Matias Alejo Garcia
2dc59de87e
add random key for network encryption
2014-04-30 12:58:40 -03:00
Manuel Aráoz
46a5edf9f7
Merge pull request #206 from matiu/feature/rm-encryption-and-signing
...
removes encryption and signing. Relays on webrtc DTS. Keep authenticatio...
2014-04-28 15:20:28 -03:00
Matias Alejo Garcia
8138eaed7b
change locking order
2014-04-28 15:15:09 -03:00
Matias Alejo Garcia
830b6d2b5f
removes encryption and signing. Relays on webrtc DTS. Keep authentication
2014-04-28 15:02:24 -03:00
Mario Colque
47cb4bd3da
added a wrapper for the method fromObj of Wallet
2014-04-28 12:02:43 -03:00
Matias Alejo Garcia
e46901c369
add update on network events to txproposals
2014-04-25 17:53:19 -03:00
Matias Alejo Garcia
751d86e785
symmetric encryption
2014-04-25 17:39:03 -03:00
Matias Alejo Garcia
e88dc7afb3
peer checking againt by key ring
2014-04-24 23:43:05 -03:00
Manuel Araoz
aa021125a0
fix style issues
2014-04-24 20:56:36 -03:00
Manuel Araoz
f5b8aa7c61
self video working
2014-04-24 18:47:59 -03:00
Manuel Araoz
fbe7a34197
starting with video sync
2014-04-24 18:43:46 -03:00
Matias Alejo Garcia
5d30a6abea
add wallets nicknames, handle error messages
2014-04-24 16:36:15 -03:00
Gustavo Cortez
5fb32c41b2
Fix return
2014-04-24 15:49:37 -03:00
Gustavo Cortez
92f2edbf65
Function getRandomId: Fix creating new wallet
2014-04-24 15:39:07 -03:00
Matias Alejo Garcia
6ace16e20d
peer authentication
2014-04-24 11:58:41 -03:00
Matias Alejo Garcia
08fa60d41c
hashing working
2014-04-24 11:58:41 -03:00