pub fn validate_unacknowledged_ticket(
ticket: Ticket,
channel: &ChannelEntry,
min_ticket_amount: HoprBalance,
required_win_prob: WinningProbability,
unrealized_balance: HoprBalance,
domain_separator: &Hash,
) -> Result<VerifiedTicket, TicketValidationError>Expand description
Performs validations of the given unacknowledged ticket and channel.
This is a higher-level function, hence it is not in hopr-internal-types crate.