org.tbk.nostr.relay.nip9.Nip9Support Maven / Gradle / Ivy
The newest version!
package org.tbk.nostr.relay.nip9;
import fr.acinq.bitcoin.XonlyPublicKey;
import org.tbk.nostr.base.EventId;
import org.tbk.nostr.base.EventUri;
import org.tbk.nostr.proto.Event;
import reactor.core.publisher.Mono;
import java.util.Collection;
public interface Nip9Support {
Mono deleteAllByEventIds(XonlyPublicKey author, Collection deletableEventIds);
Mono deleteAllByEventUris(XonlyPublicKey author, Collection deletableEventUris);
Mono hasDeletionEvent(XonlyPublicKey author, Event event);
}