Commit Graph

385 Commits

Author SHA1 Message Date
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 4b95002d47 fix type 2014-06-09 18:05:39 -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 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
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 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 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
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
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 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 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
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 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
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
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
Gustavo Cortez c98323e9d3 Fixed join wallet from remote peer 2014-05-01 18:34:30 -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 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 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
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 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
Matias Alejo Garcia c1881d5fbb peerId hashing WIP2 2014-04-24 11:58:41 -03:00
Matias Alejo Garcia b6280348e5 reject button working 2014-04-23 02:01:54 -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
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
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
Matias Alejo Garcia a1b00dcd05 more work on Tx 2014-04-20 20:24:24 -03:00
Matias Alejo Garcia fe0cccd801 better sync for peers 2014-04-20 17:16:21 -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
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
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
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
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
Mario Colque 2c0b733025 fix conflicts 2014-04-17 18:05:26 -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 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 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
Gustavo Maximiliano Cortez 73d5266a89 Merge pull request #77 from matiu/bug/fix-uxrefresh
fix uxrefresh with new #setup - awesome!!
2014-04-17 11:49:02 -03:00
Matias Alejo Garcia a8d85adc84 fix uxrefresh with new #setup 2014-04-17 11:46:49 -03:00
Ryan X. Charles 0d81712bef change console.log to log and make default not verbose 2014-04-17 09:38:46 -03:00
Gustavo Cortez eaa1bc37e0 Initial getBalance of all your addresses. Socket-io that listening if your address receives btc.
Known bug: if you add new the address you can to recall socket-io. Socket-io should be listening on headerController.
2014-04-17 06:43:30 -03:00
Matias Alejo Garcia df23125f5e tx broadcasting working 2014-04-16 22:12:38 -03:00
Manuel Araoz 9df76b90fd m-of-n integration complete 2014-04-16 21:45:06 -03:00
Ryan X. Charles 96a6203bb0 make my code work with the latest interface changes
...to Wallet and WalletFactory
2014-04-16 21:13:35 -03:00
Matias Alejo Garcia 8856683a17 fix join wallet WIP 2014-04-16 20:58:57 -03:00
Matias Alejo Garcia e676f4e69d fix create 2014-04-16 19:18:19 -03:00
Matias Alejo Garcia 536fe90431 new WalletFactory 2014-04-16 17:51:42 -03:00
Matias Alejo Garcia b382e2b99f fix mocha testing! 2014-04-15 18:47:16 -03:00
Matias Alejo Garcia d4b2ac1ad4 add wallet tests 2014-04-15 18:46:19 -03:00
Matias Alejo Garcia 341c9d8ffa open wallet working 2014-04-15 18:46:19 -03:00
Mario Colque 139628e066 added support for store and broadcast 2014-04-15 16:50:16 -03:00
Mario Colque 072e55665d Merge pull request #51 from cmgustavo/bug/01-generateaddress
Fixed generateAddress in front-end...
2014-04-15 15:05:34 -03:00
Gustavo Cortez 86e47b8fcd Fixed generateAddress in front-end. Fixed angular front-end when connection rejected 2014-04-15 14:58:02 -03:00
Ryan X. Charles b048571900 Merge pull request #49 from matiu/feature/disable-logs
Feature/disable logs
2014-04-15 14:49:55 -03:00
Matias Alejo Garcia 8cf91d027e add option to enable console.logs 2014-04-15 14:28:49 -03:00
Matias Alejo Garcia d0e114c346 fix wallet ids 2014-04-15 13:21:14 -03:00
Gustavo Maximiliano Cortez d7dff5b5d2 Merge pull request #45 from maraoz/remove/files
remove WalletFactory file (everything is in Wallet)
2014-04-15 13:02:22 -03:00
Matias Alejo Garcia 4dcd18c42f wallet @browser working again 2014-04-15 12:52:28 -03:00
Matias Alejo Garcia eff20ec49a mocha test working again 2014-04-15 12:17:28 -03:00
Manuel Araoz f22ca08b39 remove WalletFactory file (everything is in Wallet) 2014-04-15 10:56:23 -03:00
Matias Alejo Garcia a187726fca WIP wallet working again 2014-04-15 10:23:53 -03:00
Manuel Araoz 00d4a4b979 adding wallet factory 2014-04-14 18:30:47 -03:00
Matias Alejo Garcia c5a5129e83 fix test in browser 2014-04-14 18:08:18 -03:00
Matias Alejo Garcia 124e1dff19 read/load on Wallet 2014-04-14 17:42:10 -03:00
Matias Alejo Garcia 296c78cdf0 Wallet Class WIP 2014-04-14 17:18:39 -03:00
Manuel Araoz 59c00da592 architecture refactor 2014-04-14 15:39:02 -03:00