Documentation
¶
Index ¶
Constants ¶
View Source
const SegmentIDSize = constants.NodeIDLength * 2
SegmentIDSize is twice the size of a node id because a segment consists of two nodes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoopStats ¶
type LoopStats struct {
// MixIdentityHash identifies the mix node which generated these
// decoy loop packet loss statistics.
MixIdentityHash *[32]byte
// Epoch identifies the epoch corresponding to the statistics.
Epoch uint64
// SegmentRatios is a map of ratio values indexed by segment ID.
SegmentRatios map[[SegmentIDSize]byte]float64
}
LoopStats for an individual mix node.
type PacketlossHeatMap ¶
type PacketlossHeatMap struct {
// SegmentRatios is a map of ratio values indexed by segment ID.
SegmentRatios map[[SegmentIDSize]byte]float64
}
PacketlossHeatMap records heat map ratios for decoy loop packet loss statistics for the entire mix network.
Click to show internal directories.
Click to hide internal directories.