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.