Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v1.3.2
Contains reports whether the given pubkey is in the latest aggregated WoT. It is safe to call at any time, even before the first computation (it will just return false).
func Count ¶ added in v1.3.2
func Count() int
Count returns the number of pubkeys in the latest aggregated WoT.
func IsComputed ¶ added in v1.3.2
func IsComputed() bool
IsComputed reports whether the WoT has been computed at least once.
func StartBackgroundComputation ¶
func StartBackgroundComputation()
StartBackgroundComputation begins a periodic background loop that recomputes the aggregated WoT every 48 hours. It sleeps 2 minutes before the first computation to let the system stabilise.
Types ¶
type XorFilter ¶
func ComputeAggregated ¶
ComputeAggregated computes the aggregated web-of-trust filter for all pyramid members: it fetches the follow lists of all members, then the follow lists of all those followed pubkeys, and builds a xor filter from the full set.