Skip to content

Gossip persistent storage #802

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

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?

Use diesel with SQLite instead of rusqlite? It should already support also WASM.

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 <yukikishimoto@protonmail.com>
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
@yukibtc yukibtc added this to the Release v0.41 milestone Mar 31, 2025
@yukibtc yukibtc removed this from the Release v0.41 milestone Apr 14, 2025
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