improve and make nip77 api nicer so it could be better used in nak.

This commit is contained in:
fiatjaf
2025-11-12 16:27:51 -03:00
parent 43fabbeb2a
commit 98dbe7b9e9
6 changed files with 63 additions and 137 deletions

View File

@@ -47,7 +47,7 @@ func main() {
}
err := nip77.NegentropySync(ctx,
local, "ws://localhost:7777", nostr.Filter{}, nip77.Both)
"ws://localhost:7777", nostr.Filter{}, local, local, nip77.SyncEventsFromIDs)
if err != nil {
panic(err)
}