Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Computed bool
Computed is true after the first successful WoT computation.
Functions ¶
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 ¶
var Current XorFilter
Current is the latest computed aggregated web-of-trust filter. It is safe to read at any time, even before it has been computed (it will just return an empty filter that contains nothing).
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.
Click to show internal directories.
Click to hide internal directories.