Module protocol

Source
Expand description

Types related to internal HOPR protocol logic.

Structs§

Acknowledgement
Represents packet acknowledgement

Enums§

PendingAcknowledgement
Contains either unacknowledged ticket if we’re waiting for the acknowledgement as a relayer or information if we wait for the acknowledgement as a sender.

Constants§

DEFAULT_MAXIMUM_INCOMING_TICKET_WIN_PROB
Default maximum incoming ticket winning probability, above which tickets will not be accepted due to privacy.
DEFAULT_MINIMUM_INCOMING_TICKET_WIN_PROB
Default required minimum incoming ticket winning probability
INTERMEDIATE_HOPS
Number of intermediate hops: 3 relayers and 1 destination

Type Aliases§

HoprPseudonym
Alias for the Pseudonym used in the HOPR protocol.