Crate hopr_db_node

Crate hopr_db_node 

Source

Modules§

errors

Structs§

ChannelTicketStatistics
Contains ticket statistics for one or more channels.
HoprNodeDb
HoprNodeDbConfig
RedeemableTicket
Represents a winning ticket that can be successfully redeemed on-chain.
TicketSelector
Allows selecting tickets via HoprDbTicketOperations.

Enums§

TicketIndexSelector
Allows selecting a range of ticket indices in TicketSelector.
TicketMarker
Different markers for unredeemed tickets. See HoprDbTicketOperations::mark_tickets_as for usage.

Traits§

HoprDbTicketOperations
Database operations for tickets.
HoprNodeDbApi
Complete set of HOPR node database APIs.

Functions§

init_hopr_node_db
Convenience function to initialize the HOPR node database.

Type Aliases§

DbTimestamp
Shorthand for the chrono based timestamp type used in the database.