Module utils

Module utils 

Source
Expand description

Utilities for implementing the LSPS2 standard.

Functionsยง

compute_opening_fee
Computes the opening fee given a payment size and the fee parameters.
is_expired_opening_fee_params
Determines if the given parameters are expired, or still valid.
is_valid_opening_fee_params
Determines if the given parameters are valid given the secret used to generate the promise.