Expand description
Types related to internal HOPR protocol logic.
Structs§
- Acknowledgement
- Represents packet acknowledgement
- Application
Data - Represents the received decrypted packet carrying the application-layer data.
- TagBloom
Filter - Bloom filter for packet tags to detect packet replays.
Enums§
- Pending
Acknowledgement - 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_
APPLICATION_ TAG - Represent a default application tag if none is specified in
send_packet
. - 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
- DEFAULT_
OUTGOING_ TICKET_ WIN_ PROB - Default ticket winning probability that will be printed on outgoing tickets
- INTERMEDIATE_
HOPS - Number of intermediate hops: 3 relayers and 1 destination
- LOWEST_
POSSIBLE_ WINNING_ PROB - The lowest possible ticket winning probability due to SC representation limit.
- PAYLOAD_
SIZE - Maximum size of the packet payload in bytes.
Type Aliases§
- Tag
- Tags are currently 16-bit unsigned integers