Commit Graph

2072 Commits

Author SHA1 Message Date
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
Christopher Jeffrey 37d1562a3f paypro: optimize verifyPaymentRequest check. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 60603306a9 paypro: comments. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6ccbf292c5 paypro: start verifying raw payment requests before signing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 0d4db05bf6 paypro: add verifyPaymentRequest so we do not have to trust other copayers. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 4d2879c5b6 paypro: expose serialized payment request data on tx proposal. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 31719e62dd paypro: 12 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 919681633a paypro: 9 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 9c4ee94e35 paypro: 4 tests passing. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 785a9cdd31 paypro: tests - send raw http requests to test mock server. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey f67e30bfd2 paypro: start writing more tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 6d64935889 paypro: begin refactoring tests. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey e1478fefbf paypro: display ack memo on notification. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey fb77e46111 paypro: cleanup app.js. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey c940cb25b5 paypro: return merchantData in createTx and sendTx. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey bfb7477f1a paypro: add notification for payment ACK. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 87987fca2b paypro: cleanup refund_to. 2014-08-14 09:52:11 -04:00
Christopher Jeffrey 04432aa426 paypro: clean up makeshift $http module. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8786fd9905 Revert "paypro: use an http proxy to handle self-signed certs - probably not a good idea."
This reverts commit f8f192848dee35cffdfa79ee043941d0ea61a77e.
2014-08-14 09:52:10 -04:00
Christopher Jeffrey abf71a81ff paypro: use an http proxy to handle self-signed certs - probably not a good idea. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a93f4532c5 paypro: fix paypro tests. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey bc4a8f73d8 paypro: _resetPayPro to reset the form. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey a3714f8893 paypro: minor - split fix. style fix. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 64b38802bf paypro: fixes. clean up form reset from paypro. etc. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 4dd725aa48 paypro: more cleaning up of form. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3b550d853f paypro: cleanup a lot of old code and comments. minor fixes. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d9c72392bd paypro: through a lot of debugging. Payment sending is working. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey d79dfb20c3 paypro: comment 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 18ca40b01e paypro: reset form if user removes payment uri. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 8cb2a96aff paypro: do not return error on untrusted cert. let peer decide whether to trust. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey fd8f192dbd paypro: minor 2014-08-14 09:52:10 -04:00
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 438820ef23 paypro: set invalid on errors. 2014-08-14 09:52:10 -04:00
Christopher Jeffrey 3866730218 paypro: remove old code. 2014-08-14 09:52:10 -04:00