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

Add OneToN spec #205

Merged
merged 1 commit into from
Jan 29, 2019
Merged

Add OneToN spec #205

merged 1 commit into from
Jan 29, 2019

Conversation

karlb
Copy link
Contributor

@karlb karlb commented Jan 29, 2019

This is raiden-network/raiden-services#38 with
only few changes. Spefic functions will be documented as the
implemenation makes progress.

This is raiden-network/raiden-services#38 with
only few changes. Spefic functions will be documented as the
implemenation makes progress.
------------------------------------

When requesting a route, the IOU is added as five separate arguments to
the `existing HTTP query params`_.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though it would go in the request header as it's done in uRaiden!? Does this bring advantages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our spec does not say how REST params are passed in other places (GET or POST). We should add that.
And we should pass these the same way for simplicity unless there's a reason to do it differently.

Copy link
Contributor Author

@karlb karlb Jan 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case GET is not a good idea, since we expect different results and different payment info each time.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so we need to look into that anyways.

@palango palango merged commit 1639986 into raiden-network:master Jan 29, 2019
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

Successfully merging this pull request may close these issues.

2 participants