Commit Graph

419 Commits

Author SHA1 Message Date
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 2fe08a258d add test for sendTx 2014-06-09 17:52:08 -03:00
Matias Alejo Garcia 0be63c2801 handle disconnect sent 2014-06-09 17:37:16 -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 84b3752a58 add coverage, skip failing tests 2014-06-09 11:19:53 -03:00
Manuel Araoz 70d95b6f68 add more test coverage for Wallet 2014-06-09 11:19:53 -03:00
Manuel Araoz 13a9eebd9d add Passphrase test 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 f554986dfe fix dbg msg 2014-06-05 18:18:16 -03:00
Matias Alejo Garcia c64bf07ae3 fix safeUnspents report 2014-06-05 14:55:19 -03:00
Matias Alejo Garcia da7c2c88db insight REST API retry 2014-06-05 12:18:54 -03:00
Manuel Araoz cd23751ada fail early with invalid tx proposals 2014-06-04 16:29:07 -03:00
Manuel Araoz 77a7bda71b clean imports 2014-06-04 14:28:47 -03:00
Manuel Araoz 8228f44fab change protocol to send only indexes on new addr 2014-06-04 14:25:21 -03:00
Manuel Araoz 51d5d7164e add AddressIndex model 2014-06-04 14:25:21 -03:00
Manuel Araoz 88df346c51 working towards new AddressIndex obj 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 1cba837f8d fix test 2014-06-02 18:59:50 -03:00
Manuel Araoz 6feb2a2176 add error on incorrect password while importing 2014-06-02 18:59:50 -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 2b3c29a563 format Structure.js 2014-05-30 15:34:54 -03:00
Manuel Araoz 7dcc8f8b34 minor fix and tests 2014-05-30 10:29:51 -03:00
Manuel Araoz 6a0d5ce89a Add structure 2014-05-30 09:49:53 -03:00
Manuel Araoz f13dea2376 fix tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 4cd90c45a2 fixing tests 2014-05-30 09:49:53 -03:00
Manuel Araoz 56f4c32646 fix tests 2014-05-30 09:49:53 -03:00
Manuel Araoz b8e20c1ee7 change BIP32 structure to match our new BIP 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
Gustavo Maximiliano Cortez 4cc6bc36fd Merge pull request #441 from colkito/fix/insight-api-by-post
Fix/insight api by post
2014-05-20 17:38:28 -03:00
Mario Colque 1a63a06d76 using POST method instead GET 2014-05-20 10:44:53 -03:00
Yemel Jardi 715a5b2bba add friendly message when the wallet is full 2014-05-19 16:50:01 -07: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
Yemel Jardi 190185ac9c handle the PeerID-already-in-use error and display a friendly message 2014-05-15 17:17:44 -07: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
Yemel Jardi c2fb4217ce sort wallet list and fix display for unnamed wallets 2014-05-15 11:22:53 -07:00
Matias Alejo Garcia 63210ba277 fix in version checking 2014-05-15 00:02:58 -03:00
Matias Alejo Garcia 2e99d9a8ea add version to networking 2014-05-15 00:02:58 -03:00
Matias Alejo Garcia 432f74488a change name to bitcore.HierarchicalKey 2014-05-15 00:02:25 -03:00
Yemel Jardi 9d5f2ddf16 add validation to wallet secret 2014-05-14 14:31:47 -07:00
Gustavo Maximiliano Cortez eedfdcfaa1 Merge pull request #360 from maraoz/optimize/many-addresses
Optimize for many addresses
2014-05-13 15:20:10 -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 9e96bc2188 use new multiutxo insight call 2014-05-12 18:47:17 -03:00
Manuel Araoz e7486c7fe0 blockchain API changes 2014-05-12 17:41:29 -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 0f1d651e36 unified connect calls 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
Matias Alejo Garcia 6afcd8cc2e spinner while derivating passphrase 2014-05-07 18:53:55 -03:00
Matias Alejo Garcia 1dc1e0a017 move passphrase config 2014-05-07 10:31:57 -03:00
Matias Alejo Garcia 3434393b21 rm try catch 2014-05-07 10:24:05 -03:00
Matias Alejo Garcia 542943c29f fix link + decrypt password 2014-05-07 09:55:31 -03:00
Matias Alejo Garcia fa8c2eada5 Merge pull request #304 from cmgustavo/bug/open-wallet
Sign-in when put a wrong password. Fixes #297
2014-05-06 19:22:40 -03:00
Matias Alejo Garcia b345242183 Merge pull request #305 from maraoz/optimize/UI-calls
Optimize some UI calls
2014-05-06 19:21:05 -03:00
Gustavo Cortez 88a7fca8d8 Fix Conflicts:
js/controllers/signin.js
2014-05-06 18:12:24 -03:00
Gustavo Cortez ab9be793cb Fix signing when put a wrong password. Fixes #297 2014-05-06 17:57:16 -03:00
Mario Colque ad836250f5 Merge pull request #277 from cmgustavo/feature/backup-form
Feature/backup form
2014-05-06 17:55:04 -03:00
Manuel Araoz 8836bdf86a optimize address page and refresh UI calls. 2014-05-06 17:36:16 -03:00
Gustavo Cortez b7ed2798fb Fix #269: save wallet when restoring a backup 2014-05-05 16:32:36 -03:00
Manuel Araoz 33e824a64c STUN/TURN in default config 2014-05-05 15:54:17 -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 7edb310517 add comment 2014-05-01 21:52:46 -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 5b09440828 Merge pull request #254 from cmgustavo/bug/join-wallet
Fixed join wallet from remote peer
2014-05-01 18:37:49 -03:00
Gustavo Maximiliano Cortez 052a8a6201 Merge pull request #253 from matiu/feature/docs
Feature/docs
2014-05-01 18:36:34 -03:00
Gustavo Cortez c98323e9d3 Fixed join wallet from remote peer 2014-05-01 18:34:30 -03:00
Matias Alejo Garcia 6f4efdd478 rm logs 2014-05-01 17:36:11 -03:00
Matias Alejo Garcia bd501f854b add more peer checks 2014-05-01 16:40:25 -03:00
Mario Colque 4617a24bbe fixed passphrase setting when a existent wallet is opened 2014-05-01 16:32:03 -03:00
Mario Colque 8d4a6ded71 implementing passphrase to wallet Open/Create methods 2014-05-01 16:32:02 -03:00
Mario Colque 8e0fbe589c refactor 2014-05-01 16:32:02 -03:00
Mario Colque ecd979493a using Base64 instead Hex for storageSalt 2014-05-01 16:32:01 -03:00
Mario Colque 06b25db364 added Passphrase model and service 2014-05-01 16:32:01 -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 6cf8988eae fix "hello" for authenticated peers 2014-04-30 14:28:33 -03:00
Matias Alejo Garcia ab12832126 remove unused keyCache 2014-04-30 13:35:50 -03:00
Matias Alejo Garcia d3151cc88b same key for everyone 2014-04-30 13:02:40 -03:00
Matias Alejo Garcia 2dc59de87e add random key for network encryption 2014-04-30 12:58:40 -03:00
Matias Alejo Garcia 65698e7e45 add cache for keys 2014-04-30 11:04:33 -03:00
Matias Alejo Garcia 50d37aa22e implements authenticated encryption 2014-04-30 11:04:16 -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
Mario Colque 1168bf82b8 obj syntax 2014-04-28 11:32:02 -03:00
Mario Colque f0911caf63 fixed errors to import/open wallets 2014-04-28 11:22:41 -03:00
Mario Colque 380014a280 Merge pull request #196 from matiu/feature/encryption
Feature/encryption
2014-04-28 09:22:32 -03:00
Mario Colque 69e1bb8e37 added the import method 2014-04-25 19:12:13 -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
Mario Colque 6cb1b5a851 Merge pull request #188 from matiu/feature/peer-checking
Feature/peer checking
2014-04-25 10:27:06 -03:00
Mario Colque 660285f924 Merge pull request #186 from cmgustavo/feature/01-spinners-buttons
Feature/01 spinners buttons
2014-04-25 10:24:10 -03:00
Matias Alejo Garcia e88dc7afb3 peer checking againt by key ring 2014-04-24 23:43:05 -03:00
Gustavo Cortez 278ac28ab2 New order of address: unshift instead push. Revert order of array of address. 2014-04-24 23:23:40 -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 5fc4ab5101 fix signout 2014-04-24 17:54:43 -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 e56a5c3e1b replace HMAC with bitcore\'s hmac 2014-04-24 11:58:41 -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
Matias Alejo Garcia c1881d5fbb peerId hashing WIP2 2014-04-24 11:58:41 -03:00
Gustavo Cortez e17aed54b0 Fix conflicts:
js/controllers/transactions.js
2014-04-23 15:10:42 -03:00
Gustavo Cortez 68fd916053 Get transactions of all addresses (the generated and the changes). Do not repeat txids on the front-end 2014-04-23 03:37:17 -03:00
Matias Alejo Garcia b6280348e5 reject button working 2014-04-23 02:01:54 -03:00
Gustavo Cortez df9b26fdde List of transactions by address associated to wallet 2014-04-23 01:55:00 -03:00
Matias Alejo Garcia 31b2d5abac small fixes 2014-04-22 22:07:44 -03:00
Matias Alejo Garcia 4092f0cb9d works sometimes 2014-04-22 22:07:44 -03:00
Manuel Aráoz 5f66a179c9 Merge pull request #121 from matiu/feature/ux13
Feature/ux13
2014-04-21 13:18:16 -03:00
Ryan X. Charles ace128dfe9 Merge pull request #120 from maraoz/feature/ux-fixes
Feature/ux fixes
2014-04-21 13:16:57 -03:00
Matias Alejo Garcia 2fc3a8e8fa safe unspent 2014-04-21 12:41:48 -03:00
Matias Alejo Garcia 0523d99eda add getUsedUnspent to txproposals 2014-04-21 12:37:39 -03:00
Manuel Araoz 9779d5f6df improving UI and wording for signing page 2014-04-21 12:17:15 -03:00
Gustavo Cortez 8aa4a69e00 More descriptive message when Insight return an error. 2014-04-21 11:49:19 -03:00
Matias Alejo Garcia 7f20106d71 fix callback in sent 2014-04-21 11:28:25 -03:00
Matias Alejo Garcia 85098bebbb remove console.logs 2014-04-21 07:30:46 -03:00
Matias Alejo Garcia dcd903904e multiple ux fixes 2014-04-21 07:28:11 -03:00
Matias Alejo Garcia 616429a355 fixes in ux 2014-04-20 21:53:54 -03:00
Matias Alejo Garcia 17431e29c5 fix set sent 2014-04-20 21:24:02 -03:00
Gustavo Maximiliano Cortez 581be08a9e Merge pull request #106 from matiu/feature/ux9
more work on Tx
2014-04-20 20:42:37 -03:00
Matias Alejo Garcia a1b00dcd05 more work on Tx 2014-04-20 20:24:24 -03:00
Ryan X. Charles 0eaaa6bab7 Merge pull request #102 from matiu/feature/ux8
better sync for peers
2014-04-20 17:29:29 -03:00
Matias Alejo Garcia fe0cccd801 better sync for peers 2014-04-20 17:16:21 -03:00
Ryan X. Charles 3215d341bb Merge pull request #100 from matiu/feature/ux7
fix firefox / timing in connection
2014-04-20 16:52:53 -03:00
Matias Alejo Garcia a3dffc65ef better broadcast schema 2014-04-20 16:34:46 -03:00
Matias Alejo Garcia 019e841b31 fix firefox / timing in connection 2014-04-20 16:16:09 -03:00
Ryan X. Charles 91c068ab38 Merge pull request #94 from ryanxcharles/feature/command-line-4
WIP: Command Line #4: encryption and decryption working for File
2014-04-20 12:52:28 -03:00
Matias Alejo Garcia 6e07d64832 fixes in networking 2014-04-20 12:41:28 -03:00
Matias Alejo Garcia ea7f747e83 fix wallet 2014-04-19 11:23:24 -03:00
Matias Alejo Garcia 04d7d5abf0 send tx 2014-04-19 11:23:24 -03:00
Ryan X. Charles 0020faa84a get LocalEncrypted working the same way as File 2014-04-18 19:19:38 -03:00
Manuel Araoz 695f3a205d remove console.logs 2014-04-18 18:39:09 -03:00
Manuel Araoz 4ba65dd4e1 automatic peer discovery 2014-04-18 18:25:51 -03:00
Ryan X. Charles f599331351 use base64 for export 2014-04-18 17:48:47 -03:00
Ryan X. Charles 9246ae175f encryption and decryption working for File 2014-04-18 17:35:32 -03:00
Manuel Araoz d62dbeffca WIP for automatic network join 2014-04-18 14:40:40 -03:00
Matias Alejo Garcia b2508b7195 fix wallet updates 2014-04-18 13:20:35 -03:00
Manuel Aráoz cf4140ab2b Merge pull request #89 from matiu/feature/ux2
fix p2p connecting
2014-04-18 11:29:27 -03:00
Matias Alejo Garcia ba8a0e83d2 fix p2p connecting 2014-04-18 11:19:39 -03:00
Gustavo Cortez 5cd9f7a93b Fix read from backup address. 2014-04-18 11:16:10 -03:00
Manuel Araoz 3e8ca41a0a optimize public key generation for BIP32 with cache 2014-04-17 18:56:44 -03:00
Manuel Araoz 5847d6aff2 optimize PrivateKey with cache 2014-04-17 18:56:44 -03:00
Ryan X. Charles 4681783231 add setFromObj to FakeStorage - and fix publicKeyring capitalization
...to fix tests
2014-04-17 18:55:17 -03:00
Manuel Aráoz 9319c7f93f Merge pull request #84 from ryanxcharles/feature/wallet-file-consistency
WIP: add setFromObj and getEncryptedObj to storage classes
2014-04-17 18:35:08 -03:00
Gustavo Maximiliano Cortez d34dfc746c Merge pull request #85 from colkito/feature/wallet-backup-support
Feature/wallet backup support
2014-04-17 18:21:56 -03:00
Matias Alejo Garcia 1954978202 parse output TX to show before signing (WIP) 2014-04-17 18:06:09 -03:00
Mario Colque 2c0b733025 fix conflicts 2014-04-17 18:05:26 -03:00
Ryan X. Charles 69c5c3bc2e add setFromObj and getEncryptedObj to storage classes
This is so that you can export the file from the browser and use the same file
in the wallet file from the command-line. I have made encryption work
equivalently between the browser and node.
2014-04-17 18:04:56 -03:00
Mario Colque 2838b3ecd2 added support for the wallet backups 2014-04-17 18:02:20 -03:00
Matias Alejo Garcia 5eca1a63c2 filter out change address. Better refresh 2014-04-17 17:22:50 -03:00
Matias Alejo Garcia f9ee67b548 clean config for peerjs 2014-04-17 17:10:32 -03:00
Matias Alejo Garcia b79aefefee remove logs 2014-04-17 17:07:30 -03:00
Matias Alejo Garcia d5fe53d23e better p2p handling 2014-04-17 17:07:30 -03:00
Matias Alejo Garcia 1e64031ec3 options for running with local peerJs server. Ux fixes 2014-04-17 17:07:30 -03:00
Gustavo Cortez f5fd03ad3c Fix refactory for createTx. 2014-04-17 17:01:45 -03:00
Gustavo Cortez f55d243bed Refactory get balance 's methods 2014-04-17 16:42:27 -03:00
Gustavo Maximiliano Cortez e88c80bc3e Merge pull request #79 from maraoz/optimize/tests
optimize some tests
2014-04-17 15:30:05 -03:00
Manuel Araoz bca120a7b6 optimize some tests 2014-04-17 15:04:55 -03:00
Matias Alejo Garcia a51ed6c66d fix walletID list 2014-04-17 13:43:42 -03:00
Matias Alejo Garcia e28be27bf3 better signin page 2014-04-17 13:43:42 -03:00
Gustavo Cortez 2454d930fa Merge branch 'master' into feature/socket-io-support
Fix conflicts:
	js/app.js
	js/controllers/signin.js
2014-04-17 11:58:11 -03:00
Gustavo Cortez c9008830b0 Fixed float value to 4 decimals. 2014-04-17 11:51:56 -03:00