pub fn validate_unacknowledged_ticket(
ticket: Ticket,
channel: &ChannelEntry,
min_ticket_amount: Balance,
required_win_prob: f64,
unrealized_balance: Balance,
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.