Commit Graph

572 Commits

Author SHA1 Message Date
Matias Alejo Garcia c7d04418b0 fix backup restore + tests 2014-08-18 18:11:30 -04:00
Matias Alejo Garcia 411ebbe2d7 fix type 2014-08-18 17:45:54 -04:00
Christopher Jeffrey d7ab195b7a wallet: remove useless node module require. 2014-08-18 11:34:49 -07:00
Christopher Jeffrey 6246e62962 paypro: use BIP21 object in latest bitcore. fixes #1104. see #1083. 2014-08-18 11:30:03 -07:00
Matias Alejo Garcia 534895a009 rebase 2014-08-15 18:55:26 -04:00
Matias Alejo Garcia 1a5a2916c2 give lock preference to the new instance 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 18aadede29 fix tests and stringify for localstorage 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 5753f406e0 add tests to getSEssionId 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia 54bc98f0bd add sessionStorage param 2014-08-15 18:34:43 -04:00
Matias Alejo Garcia eb9acb958f mocha test passing on console 2014-08-15 18:34:03 -04:00
Matias Alejo Garcia bcb61810d5 WIP: better lock 2014-08-15 18:29:30 -04:00
Matias Alejo Garcia d8e0d50dce add WalletLock class 2014-08-15 18:26:33 -04:00
Manuel Araoz 70dc68485b trying to get tests working 2014-08-15 17:47:36 -04:00
Manuel Araoz 439d44cf80 remove console.logs 2014-08-15 17:46:48 -04:00
Manuel Araoz 28791e6da1 remove soop from js 7 2014-08-15 17:46:48 -04:00
Manuel Araoz 00323b6381 remove soop from js 6 2014-08-15 17:46:48 -04:00
Manuel Araoz 00642dc642 remove soop from js 5 2014-08-15 17:46:48 -04:00
Manuel Araoz bf4d9fe41f remove soop from js 4 2014-08-15 17:46:48 -04:00
Manuel Araoz b78eb4d573 remove soop from js 3 2014-08-15 17:46:48 -04:00
Manuel Araoz 757ef69287 remove soop from js 2 2014-08-15 17:46:48 -04:00
Manuel Araoz f631643419 remove soop from js 1 2014-08-15 17:46:48 -04:00
Manuel Araoz 69edb7c7e3 remove soop 1 2014-08-15 17:46:48 -04:00
Christopher Jeffrey 5d3f3f60fe paypro: fix - use safeUnspent for createPaymentTxSync. 2014-08-14 13:11:46 -04:00
Christopher Jeffrey 8e86826b68 paypro: even better notification when user has insufficient funds. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey f64b1eee28 paypro: allow unconfirmed unspent outputs in paypro tx proposals. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 685c6e54dc paypro: differentiate safeUnspent and unspent. 2014-08-14 09:52:43 -04:00
Christopher Jeffrey 32971772d1 Revert "paypro: allow specific paypro headers."
This reverts commit bec2df549b5565b3f846e9a59e5240db01877d88.
2014-08-14 09:52:42 -04:00
Christopher Jeffrey 8d2393230e paypro: allow specific paypro headers. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey efe41cead4 paypro: use unspecified GET method for first paypro request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 08f1a49259 paypro: remove useless header from http request. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 086e2f6572 paypro: fix accept header for bitpay.com. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 4159c5aa5b paypro: fix sendPaymentTx to be in line with sendTx. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey a1619e3f6c paypro: minor - remove comment. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey 361b885d71 paypro: remove uneccessary if clause in parseBitcoinURI. 2014-08-14 09:52:42 -04:00
Christopher Jeffrey fe2118fcbe paypro: show actual notification if there are no unspent outputs for payment request. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey fcaf911671 paypro: include merchant data in tx proposal again. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 17f3402dab Revert "Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged.""
This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey 2b5102a493 paypro: tentatively reimplement commit that caused regression. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey ab06e8b4ea Revert "paypro: deal with no unspent outputs. see #1043."
This reverts commit 6b5a618f0f7155c11ee734ef54ab3876b5923768.
2014-08-14 09:52:41 -04:00
Christopher Jeffrey f9bd8c3a04 paypro: try to keep everything big endian to avoid bignum bug in node. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey 3931e73da4 paypro: debugging endianness issue in bignum (browser vs node). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey b254dea911 Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged."
This reverts commit c826acb3e539c4deb047053fd08a2a5e8fb8f8e8.
2014-08-14 09:52:12 -04:00
Christopher Jeffrey 3ade672561 paypro: prepare for txp refactor. will stay reverted until #1001 is merged. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey d87697dfed paypro: support user amount decision on 0-value-server-outputs. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey f20836a24c paypro: use server outputs for creating txs again. 2014-08-14 09:52:12 -04:00
Christopher Jeffrey 052e2522be paypro: stop using global $http. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey d51c1c552f paypro: potentially use verbatim scripts after setting outputs. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey ac32f56afa paypro: drop old tx code. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 093fd68c78 paypro: extract addresses from server outputs and craft txs in this manner. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 18d1e4f6e7 paypro: reorganize createPaymentTxSync. 2014-08-14 09:52:11 -04:00