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

list_pool() helper function #11

Open
pythcoiner opened this issue Dec 29, 2024 · 0 comments
Open

list_pool() helper function #11

pythcoiner opened this issue Dec 29, 2024 · 0 comments

Comments

@pythcoiner
Copy link
Owner

pythcoiner commented Dec 29, 2024

we should implement a

list_pool(back: u64, timeout: u64) -> Result<Vec<Pool>, Error>

helper function that will do the following:

  • create a nostr client
  • subscribe to pool notifications
  • wait timeout seconds
  • return all received pool notifications
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