Commit Graph

323 Commits

Author SHA1 Message Date
Christopher Jeffrey 6ef3cf2992 paypro: set memo on comment properly. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 53abfcacda paypro: remove more unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3a73f2453c paypro: ripesha refund_to pubkeys. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey c471983a58 paypro: clean up unnecessary code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey f77d3bc350 paypro: fix trusted check. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 4130980133 paypro: remove debug logs again. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 959a2f40cb paypro: fix script buffers. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey cf674dced2 paypro: remove temporary xhr shim. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a9b522888e Revert "paypro: remove debug code."
This reverts commit 019283e04cb6b25f6431cb56f02618c6d9e7fe90.
2014-08-14 09:52:10 -04:00
Christopher Jeffrey 28459c2d4e paypro: remove debug code. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d94e8525fd paypro: all working except for value input. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 91b2d9dd02 paypro: fix endianess. fix fields. fix elements in a messy way. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 7b678a91b5 paypro: misc work. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 6e9eaf7d9d paypro: cached payment requests. validation. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 2aee44f31c paypro: refactor cached payment requests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey decd981bce paypro: deal with cached payment requests properly. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey af12b56678 paypro: maintain received payment requests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 6b6e251511 paypro: add fetchPaymentTx, use for form validation. improve css selection. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 62fe6ce628 paypro: try to find existing tx proposals. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 2d12933112 paypro: more debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 49883779af paypro: more messy debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 7915008433 paypro: remove old parse uri code. more debugging. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 7c39915dd0 paypro: messy work to get xhr to payment server working. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 4d244a03f8 paypro: fix total on merchantdata. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey f9406bbde2 paypro: use bignum for totals. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 1a0f782e6d paypro: store total on merchant data specifically for display purposes. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 3f6b5ec6b8 paypro: use HDPath instead of Structure. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b89ad8f3cc paypro: controller unit tests for payment protocol. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey d2e7e35e9f paypro: test/minor - use paypro content type constant. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey 8d96b446df paypro: fix some more errors. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e0ff9ca6bd paypro: fix parseBitcoinURI. start using bitcoin uris in tests. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey e06fda5128 paypro: fix more payment protocol errors. 2014-08-14 09:52:09 -04:00
Christopher Jeffrey b18c9e3cd5 paypro: fix a lot of errors in payment protocol implementation. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey b0dc3fc24d paypro: more merchant data storage. createTx and sendTx work. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey d7ec908701 paypro: remove old code. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 61ef19ad19 paypro: fix a lot of aspects of storing merchant data in txps. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 59038a5d30 paypro: fix how merchant data is stored. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey d7b1770e5a paypro: add merchant prop to tx proposal. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey ebf3137946 paypro: rework flow of payment protocol. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey 6c098030c3 paypro: fix trusted check. 2014-08-14 09:52:08 -04:00
Christopher Jeffrey f49177f0b7 paypro: begin adding code for payment protocol. 2014-08-14 09:52:08 -04:00
Matias Alejo Garcia 33ac84bc49 rm logs 2014-08-13 10:16:07 -04:00
Matias Alejo Garcia 35ab711846 refactor lock warning and add tests 2014-08-12 15:26:15 -04:00
Gustavo Maximiliano Cortez 8ad1fa7b02 Fixes: tests. Added karma and mocha tests. 2014-08-07 20:07:41 -03:00
Gustavo Maximiliano Cortez 801e746d11 Show a warning if trying to open same wallet in same browser. Fix redirect to receive. 2014-08-07 18:57:19 -03:00
Matias Alejo Garcia 5a2dfe690d add rebroadcast test 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 91829f8410 remove sender sig check 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 36fcd6882f add more tests to wallet 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia f5f9848ff1 all test passing! 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 753b890658 txp* test passing 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia 966818c53a add different toObj/fromObj fn for networking 2014-08-05 16:41:29 -03:00
Matias Alejo Garcia dc3bbb8859 wallet test passings 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 5d2b50f77f test in Txproposals working again 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 42c73f9a01 rewrite from scratch tests for TxProposalSet 2014-08-05 16:38:13 -03:00
Matias Alejo Garcia 72e1dfc114 WIP 2014-08-05 16:38:13 -03:00
Yemel Jardi 523a48b056 Remove Name field and copayer list on 1-of-1 wallets 2014-08-04 16:27:58 -03:00
Matias Alejo Garcia 0ee93403f3 change names to HD and fix HD* tests 2014-07-29 11:23:58 -03:00
Matias Alejo Garcia 3aef6e156b add FORCED options to TxBuilder creation 2014-07-25 17:45:56 -03:00
Manuel Araoz b5c144d48c complete validation tests for txProposal SIGHASH 2014-07-25 12:25:27 -03:00
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