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

API: show channel's partner state (active, inactive) #4621

Closed
kilrau opened this issue Aug 15, 2019 · 4 comments
Closed

API: show channel's partner state (active, inactive) #4621

kilrau opened this issue Aug 15, 2019 · 4 comments
Labels
Component / API Issues that relate the the APIs Raiden provides. Topic / Integration Type / Enhancement

Comments

@kilrau
Copy link

kilrau commented Aug 15, 2019

Abstract

For our use case we'd need to know the detailed channel's partner state as follows:

  • active: partner is online
  • inactive: partner is offline

Motivation

For xud to know when to use a channel.

Specification

N/A

Backwards Compatibility

N/A

@LefterisJP LefterisJP added user_feedback Component / API Issues that relate the the APIs Raiden provides. labels Aug 16, 2019
@kilrau
Copy link
Author

kilrau commented Aug 16, 2019

As per #4620, it would be nice to take the state as argument and list all channel identifiers with that state.

@kilrau
Copy link
Author

kilrau commented Sep 5, 2019

It would be great if pending channels came with a tx_id. Further, we'd need a stream to subscribe to channel events to avoid hitting the api/v1/channels endpoint every second or so. I opened a separate issue for that: #4756

@rakanalh rakanalh changed the title API: show channel state (active, inactive, pending) API: show channel's partner state (active, inactive) Sep 6, 2019
@rakanalh rakanalh added this to the Bespin milestone Sep 6, 2019
@rakanalh
Copy link
Contributor

rakanalh commented Sep 6, 2019

@kilrau I took the liberty to update the issue and separate the context into this one and #4620

@karlb
Copy link
Contributor

karlb commented Apr 7, 2022

User presence can be queries from the PFS via API.

@karlb karlb closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component / API Issues that relate the the APIs Raiden provides. Topic / Integration Type / Enhancement
Projects
None yet
Development

No branches or pull requests

4 participants