Module db

Module db 

Source
Expand description

Node database related API traits.

Structs§

AuxiliaryPacketInfo
Contains some miscellaneous information about a received packet.
ChannelTicketStatistics
Can contain ticket statistics for a channel or aggregated ticket statistics for all channels.
FoundSurb
Contains a SURB found in the SURB ring buffer via HoprDbProtocolOperations::find_surb.
HoprSenderId
Identifier of a single packet sender.
OutgoingPacket
Packet that is being sent out by us
PeerSelector
PeerStatus
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.
SurbCacheConfig
Configuration for the SURB cache.
TicketSelector
Allows selecting tickets via HoprDbTicketOperations.

Enums§

IncomingPacket
IncomingPacketError
Error that can occur when processing an incoming packet.
PeerOrigin
Actual origin.
ResolvedAcknowledgement
TicketIndexSelector
Allows selecting a range of ticket indices in TicketSelector.
TicketMarker
Different markers for unredeemed tickets. See HoprDbTicketOperations::mark_tickets_as for usage.

Traits§

HoprDbPeersOperations
HoprDbProtocolOperations
Trait defining all DB functionality needed by a packet/acknowledgement processing pipeline.
HoprDbTicketOperations
Database operations for tickets.

Type Aliases§

DbTimestamp
Shorthand for the chrono based timestamp type used in the database.
HoprSurb
Single Use Reply Block representation for HOPR protocol.
PacketSignals
Packet signal states that can be passed between the packet sender and destination.