Expand description
Implements complete logic of ticket management in the HOPR protocol.
See the HoprTicketManager documentation for complete details.
Modulesยง
Structsยง
- Hopr
Ticket Manager - Keeps track of indices for outgoing tickets and (optionally) of incoming redeemable tickets.
- Memory
Store - Simple non-persistent ticket queue store backed by a
HashMapandMemoryTicketQueue. - Memory
Ticket Queue - Simple in-memory ticket queue implementation using a binary heap.
- Redb
Store - Implementation of
OutgoingIndexStoreandTicketQueueStoreusingredbdatabase andpostcardserializer. - Redb
Ticket Queue - Implementation of
TicketQueueusingredbdatabase andpostcardserializer, associated with theRedbStore. - Redeem
State ๐
Enumsยง
- Ticket
Manager Error - Errors that can occur in the
HoprTicketManager.
Traitsยง
- Outgoing
Index Store - Allows loading and saving outgoing ticket indices.
- Ticket
Queue - Backend for the incoming ticket storage (double-ended) queue.
- Ticket
Queue Store - Allows loading ticket queues from a storage.