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

Improve Relay #343

Merged
merged 10 commits into from
Mar 6, 2024
Merged

Improve Relay #343

merged 10 commits into from
Mar 6, 2024

Conversation

yukibtc
Copy link
Member

@yukibtc yukibtc commented Mar 6, 2024

  • Use internal dedicated channel for relay notififcations
  • Use Relay instead of RelayPool in NWC and Nip46Signer
  • Add atomic-destructor to auto-shutdown Relay and RelayPool

yukibtc added 6 commits March 6, 2024 10:14
Move flags, limits and stats modules to relay module
Split options module
Remove `notification_sender` arg from `Relay::new` constructor
Add optional `external_notification_sender` channel
Move `Relay` to `InternalRelay`
Add `Relay` with Drop support
Add `Relay::notifications` method
Move `RelayStatus` to `relay::status` module
@yukibtc yukibtc added this to the Release v0.29 milestone Mar 6, 2024
@yukibtc yukibtc merged commit e525a7d into master Mar 6, 2024
6 checks passed
@yukibtc yukibtc deleted the relay branch March 6, 2024 16:29
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.

1 participant