loops

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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