Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hug ODE prototype #2

Open
void4 opened this issue Apr 28, 2016 · 0 comments
Open

Hug ODE prototype #2

void4 opened this issue Apr 28, 2016 · 0 comments

Comments

@void4
Copy link
Owner

void4 commented Apr 28, 2016

Objective

Abstract

Implement a prototype based on http://www.hug.rest/ using the OpenAPI Decentralisation Extensions (ODE) as described here: #1

Specific

This project involves creating non-blockchain components necessary for a working implementation. These are, amongst other things:

  • OpenAPI generation
  • client side middleware or library (extend swagger-client codegen?)
  • signature verifying middleware
  • persistent storage class for payment channels
  • payment channel reimplementation with fixed receiver to avoid double spending

Open questions

Under which conditions are the payment channels closed?
  • when the application is shut down
  • when less than a fixed time remains (discovered through periodic checks)
Where should the periodic checks be implemented?
  • natively every nths request
  • through falcon
  • as separate thread
  • as separate application
What kind of structure do the registry entries have?

The registry should only point to the service descriptor file. This file can in turn refer to all endpoints.

  • URL
  • IPNS name/IPFS hash
  • Assuming libp2p/devp2p/Whisper: identity address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant