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

Gossip persistent storage #802

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Gossip persistent storage #802

wants to merge 3 commits into from

Conversation

yukibtc
Copy link
Member

@yukibtc yukibtc commented Mar 10, 2025

Currently, in this PR, SQLite is used as in-memory or persistent storage for gossip data. Should use redb instead? Should allow to use custom backends?

yukibtc added 3 commits March 10, 2025 18:28
- Create `nostr-gossip` crate
- Move gossip stuff from `nostr-sdk` to `nostr-gossip`
- Add `gossip` feature to `nostr-sdk`
- Add persistent and in-memory SQLite storage for gossip data
- Add a middleware in the SDK to process events for gossip
- Allows passing additional relays when breaking-down filters

Closes #570

Signed-off-by: Yuki Kishimoto <[email protected]>
Signed-off-by: Yuki Kishimoto <[email protected]>
Signed-off-by: Yuki Kishimoto <[email protected]>
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