Expand description
Node database related API traits.
Structs§
- Auxiliary
Packet Info - Contains some miscellaneous information about a received packet.
- Channel
Ticket Statistics - Contains ticket statistics for one or more channels.
- Found
Surb - Contains a SURB found in the SURB ring buffer via
HoprDbProtocolOperations::find_surb. - Hopr
Sender Id - Identifier of a single packet sender.
- Outgoing
Packet - Packet that is being sent out by us
- Peer
Selector - Peer
Status - Status of the peer as recorded by a network component.
- Stats
- Statistical observation related to peers in the network. Statistics on all peer entries stored by the network component.
- Surb
Cache Config - Configuration for the SURB cache.
- Ticket
Selector - Allows selecting tickets via
HoprDbTicketOperations.
Enums§
- Incoming
Packet - Incoming
Packet Error - Error that can occur when processing an incoming packet.
- Peer
Origin - Actual origin.
- Resolved
Acknowledgement - Ticket
Index Selector - Allows selecting a range of ticket indices in
TicketSelector. - Ticket
Marker - Different markers for unredeemed tickets.
See
HoprDbTicketOperations::mark_tickets_asfor usage.
Traits§
- Hopr
DbPeers Operations - Hopr
DbProtocol Operations - Trait defining all DB functionality needed by a packet/acknowledgement processing pipeline.
- Hopr
DbTicket Operations - Database operations for tickets.
- Hopr
Node DbApi - Complete set of HOPR node database APIs.
Type Aliases§
- DbTimestamp
- Shorthand for the
chronobased timestamp type used in the database. - Hopr
Surb - Single Use Reply Block representation for HOPR protocol.
- Packet
Signals - Packet signal states that can be passed between the packet sender and destination.