Commit Graph

328 Commits

Author SHA1 Message Date
Christopher Jeffrey c9129ca2d7 paypro: use asn1.js in browser paypro. 2014-08-22 08:56:30 -07:00
Christopher Jeffrey 35ffb2bb8f paypro: verify chain refactor. 2014-08-22 08:38:19 -07:00
Christopher Jeffrey 88aae53b2c paypro: asn1.js - cleanup. 2014-08-22 00:34:41 -07:00
Christopher Jeffrey 7cdfe1772f paypro: use fedor's asn1.js to deal with DER certificates. 2014-08-22 00:31:20 -07:00
Christopher Jeffrey 00c271e554 paypro: verify the certificate chain. 2014-08-21 16:13:34 -07:00
Christopher Jeffrey 41507bc523 paypro: fix root certs. 2014-08-21 16:02:53 -07:00
Ryan X. Charles 9ee35aac02 Merge pull request #495 from chjj/fix_paypro_example_sign
paypro: example - sign customer transaction after output scripts are altered
2014-08-20 08:57:08 -07:00
Christopher Jeffrey ab4a327ad7 paypro: example - sign customer transaction after output scripts are altered. 2014-08-19 19:37:10 -07:00
Ryan X. Charles 8db68f5a47 Merge pull request #494 from chjj/fix_paypro_example2
Fix Payment Protocol example in the browser
2014-08-18 15:58:02 -07:00
Christopher Jeffrey 716f1f45b4 paypro: example - remove old createTX. 2014-08-18 15:44:44 -07:00
Christopher Jeffrey ca4fc12ff4 paypro: example - fix customer createTX for browser. 2014-08-18 15:44:43 -07:00
Christopher Jeffrey 56dc5e1723 paypro: example - document modular usage of example. 2014-08-18 15:44:43 -07:00
Christopher Jeffrey 5c2631534b paypro: example - allow more modularity concerning options. 2014-08-18 15:44:43 -07:00
Ryan X. Charles f3d85c6d6d Merge pull request #493 from chjj/fix_paypro_example
Fix Payment Protocol Example
2014-08-18 15:12:29 -07:00
Christopher Jeffrey 0cc858229e paypro: example - allow user to set options when using example as a module. 2014-08-18 14:25:50 -07:00
Christopher Jeffrey ef3b307e21 paypro: example - fix request method. 2014-08-18 14:22:09 -07:00
Christopher Jeffrey 19c972ee2f paypro: example - remove some comments. 2014-08-18 14:13:24 -07:00
Christopher Jeffrey 1de7e45ba0 paypro: example - add privkey option. refactor. 2014-08-18 14:04:26 -07:00
Christopher Jeffrey ec7c48ccf4 paypro: example - add --address and --pubkey options. document in readme. 2014-08-18 13:40:14 -07:00
Christopher Jeffrey cc49a2e013 paypro: example - explain extra arguments in readme file. 2014-08-18 13:36:04 -07:00
Christopher Jeffrey 17227f141c paypro: example - add extra arguments for experimentation. 2014-08-18 13:06:33 -07:00
Christopher Jeffrey ff54eadf99 paypro: fix readme file for better explanation. 2014-08-18 13:05:58 -07:00
Christopher Jeffrey d117f800b3 paypro: example - use strict paypro headers. 2014-08-13 17:11:23 -04:00
Manuel Aráoz 34d8c0f64b Merge pull request #483 from yemel/feature/BIP21
Feature/bip21
2014-08-12 12:17:40 -04:00
Ryan X. Charles faf7d323d6 Merge pull request #484 from chjj/fix_paypro_example
paypro: example - use GET method for first paypro request.
2014-08-11 19:08:54 -04:00
Christopher Jeffrey c1a0085f3a paypro: example - use GET method for first paypro request. 2014-08-11 19:04:57 -04:00
Manuel Aráoz b5d82dca2b Merge pull request #481 from chjj/paypro_server_outputs
paypro: example - add another higher output to the server outputs.
2014-08-08 18:38:04 -03:00
Christopher Jeffrey 6ae04af9fd paypro: example - add another higher output to the server outputs. 2014-08-08 14:32:43 -07:00
Manuel Aráoz 98f0285e48 Merge pull request #459 from ryanxcharles/feature/message-signing
add support for signing messages in compressed format
2014-08-06 10:56:07 -03:00
Ryan X. Charles f7170fca8a Merge pull request #476 from chjj/paypro_example_misc
Paypro example misc
2014-08-03 10:43:41 -07:00
Christopher Jeffrey c5aa2449da paypro: example - show raw hex when receiving Payment. 2014-08-01 19:05:31 -07:00
Christopher Jeffrey a73184924f paypro: replace old server address. 2014-08-01 16:15:28 -07:00
Christopher Jeffrey 60a34d739e paypro: misc example changes. 2014-08-01 16:11:41 -07:00
Ryan X. Charles d8c9db77cb Merge pull request #467 from maraoz/add/missing-tests
Add missing tests for new methods added
2014-07-30 14:50:52 -04:00
Ryan X. Charles cc079d862d Merge pull request #471 from chjj/paypro_fixes
paypro: minor fixes.
2014-07-30 14:50:02 -04:00
Christopher Jeffrey 2dc6dde774 paypro: minor fixes. 2014-07-29 19:46:35 -07:00
Ryan X. Charles 50ea08b471 Merge pull request #470 from chjj/expose-certs
paypro: expose RootCerts on PayPro.
2014-07-29 14:01:15 -04:00
Christopher Jeffrey 4e55bb10d7 paypro: expose RootCerts on PayPro. 2014-07-29 10:58:35 -07:00
Ryan X. Charles 4f7eec18a4 Merge pull request #462 from chjj/paypro_example
paypro: a more complete example of how to use server outputs.
2014-07-28 16:19:41 -04:00
Ryan X. Charles 82752dd98a Merge pull request #466 from martindale/payment-protocol-example
Add README to payment protocol reference implementation.
2014-07-28 15:25:45 -04:00
Eric Martindale 3d9ce9133a Add README to payment protocol reference implementation. 2014-07-28 12:08:03 -07:00
Christopher Jeffrey 9aed2196b0 paypro: a more complete example of how to use server outputs. 2014-07-25 19:11:57 -07:00
Ryan X. Charles 79b27dd2e9 Merge pull request #461 from ryanxcharles/test/break-up-BIP39-tests
break up BIP39 tests so the individual ones run faster
2014-07-25 19:47:47 -04:00
Ryan X. Charles d264255b73 Merge pull request #455 from chjj/root-certs
Root certs
2014-07-25 19:19:47 -04:00
Ryan X. Charles 78ad36ff69 Merge pull request #456 from chjj/paypro_example
Add payment protocol example
2014-07-25 17:35:10 -04:00
Ryan X. Charles 40566ec7cb add support for signing messages in compressed format
...this is the standard way to sign messages in bitcoin-qt. Note that the
format of a compressed signature, for messages, is quite distinct from DER
format, which is used in transactions. This commit also adds support for
recovering the public key from a signature, which is necessary for this. The
code for public key recover is taken from bitcoinjs-lib.
2014-07-25 14:07:03 -07:00
Christopher Jeffrey 367a1f0412 paypro: make example work without npm install. 2014-07-25 11:26:47 -07:00
Christopher Jeffrey c5742781b4 root-certs: use hasOwnProperty check instead of __proto__=null. 2014-07-25 10:53:21 -07:00
Christopher Jeffrey e8a41a0ac7 paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00
Christopher Jeffrey dd66aeceaa minor: remove redundant toUpperCase calls. 2014-07-24 23:07:52 -07:00