Commit graph

1,955 commits

Author SHA1 Message Date
Christopher Jeffrey
5ebb344cd2 send: lower btc send limit - dust. 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
d4d33ed2e7 paypro: update tests to use wallet.isShared(). 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
9d94fa0b75 paypro: remove old comments and logs from tests. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
aed815f5cd paypro: angularize the markup and address directive. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
86a725240b paypro: minor - fix notification text. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
2c0ffa4eea package.json: use latest HEAD for bitcore. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
6438de6bd2 paypro: more notifications. comments. misc. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
92c0b69d35 paypro: add more notifications. 2014-08-14 09:52:41 -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
f5b1afdbf1 paypro: removed a lot of now-pointless code dealing with merchantData.total. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
80ceca3b73 paypro: minor refactor - clean up whitespace in directives. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
d58bfe9de8 paypro: comment for handling 0-amount outputs from server. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
d4f4f99dce paypro: minor - comment. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
a8ab012601 paypro: fix tests for latest master rebase. 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
1035adffab paypro: fix balance check regression in directive. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
f31a59e0b3 paypro: another tentative commit to avoid regression. 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
8bebbe8ec6 paypro: fix mock server to handle txs as buffers when browserified. tests passing in browser. 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
6f4af88662 paypro: tests - fix browser hanging. 2014-08-14 09:52:41 -04:00
Christopher Jeffrey
bc716646dc paypro: figure out why paypro tests are hanging in the browser. 2014-08-14 09:52:40 -04:00
Christopher Jeffrey
5c97649f83 paypro: run paypro tests in browser. whitespace. 2014-08-14 09:52:40 -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
Christopher Jeffrey
5f20b09b0b paypro: remove logs from tests. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
bd24f51da4 put logs back in wallet model for payment protocol
This reverts commit e79d86d90625375e22ac2cbafb2c1f894a450bcf.
2014-08-14 09:52:11 -04:00
Christopher Jeffrey
0a8d734e49 paypro: deal with no unspent outputs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
8cbc231a06 paypro: remove logs. see #1043. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
d635c87935 paypro: turn sig into hex string on txp. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
696323d496 paypro: tests - add more should() calls. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
6505805196 paypro: add separate tests for verifying abstract txp tx and pr. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
a942df63df paypro: drop sign() calls in verify tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
21196f8b22 paypro: not necessary, but check merchant data in verifyPaymentRequest. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
d0f0974567 paypro: fix verifyPaymentRequest. passing tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
a0137b9e55 paypro: sign an untampered payment request in tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey
3ff4eb26ea paypro: add tests for verifyPaymentRequest and signing tampered txs/prs. 2014-08-14 09:52:11 -04:00