More musings for the TASKS file.

[?]
Jun 18, 2015, 11:02 PM
AVDFWICBJ3QNP3Z3I6OQ6GB6T3SG7K64LF6B4CDGISTE3QBFYP3QC

Dependencies

  • [2] EZQG2APB Update task list.
  • [3] A6HKMINB Attempting to improve JSON handling.

Change contents

  • edit in TASKS.md at line 59
    [2.2757]
    [2.2757]
    * Authentication
    * Integrate server-session package? https://github.com/yesodweb/serversession/blob/master/README.md
    We don't really use sessions at the moment, but this will be useful once there's a UI.
    Alternately, need to look into JWT (http://jwt.io/) to figure out whether this approach
    is relevant for us.
    * Payouts
    * Previously, I had thought it would be easiest for payments to be made directly to
    a per-aftok BTC address, and a subsequent transaction used to then distribute
    that transaction to the participants. However, I now think it makes more sense to
    present the payer with a transaction to complete and sign that sends funds directly
    from their wallet to the participants, as a multiparty txn requiring signatures
    of both the aftok server (which would sign in advance) and the payer. This avoids
    the central server even momentarily having control of any funds.
  • edit in TASKS.md at line 79
    [2.2875][2.2875:2940]()
    * When a payment is observed, distribute it to participants.