nip45

package
v0.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HyperLogLogEventPubkeyOffsetForFilter

func HyperLogLogEventPubkeyOffsetForFilter(filter nostr.Filter) int

HyperLogLogEventPubkeyOffsetForFilter returns the deterministic pubkey offset that will be used when computing hyperloglogs in the context of a specific filter.

It returns -1 when the filter is not eligible for hyperloglog calculation.

func HyperLogLogEventPubkeyOffsetsAndReferencesForEvent

func HyperLogLogEventPubkeyOffsetsAndReferencesForEvent(evt *nostr.Event) iter.Seq2[string, int]

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL