Commit Graph

3 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
599eb2ee99 challenger: skip trying to load+parse AMP invoices
AMP invoiecs don't have a payment hash, as it's based on payment addr
and set id.
2023-07-04 17:32:38 -07:00
positiveblue
a6ff4a9e7b challenger: add LNCChallenger 2023-06-30 15:22:28 -07:00
positiveblue
4e81f5ddb5 challenger: move challenger logic to its own package
The new package contains a new interface (`Challenger`) that any
new challenger must implement.

Because aperture uses the new interface instead of using directly the
`LndChallenger` struct I added the `Stop()` method to the
`mint.Challenger`. Instead of also adding the `Start()` method the constructor
returns a Challenger already "started".
2023-06-30 15:22:28 -07:00