Documentation
¶
Index ¶
- func BatchSizePerNumberOfQueries(totalFilterLimit int, numberOfQueries int) int
- func ChooseNarrowestTag(filter nostr.Filter) (key string, values []string, goodness int)
- func CopyMapWithoutKey[K comparable, V any](originalMap map[K]V, key K) map[K]V
- func IsOlder(previous, next *nostr.Event) bool
- func SwapDelete[A any](arr []A, i int) []A
- type IterEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchSizePerNumberOfQueries ¶
BatchSizePerNumberOfQueries tries to make an educated guess for the batch size given the total filter limit and the number of abstract queries we'll be conducting at the same time
func ChooseNarrowestTag ¶
func CopyMapWithoutKey ¶
func CopyMapWithoutKey[K comparable, V any](originalMap map[K]V, key K) map[K]V
func SwapDelete ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.