orb.logic.lnurl_invoice_generator module

class orb.logic.lnurl_invoice_generator.LNUrlInvoiceGenerator(url: str, total_amount_sat: int, chunks: int, num_threads: int, rate_limit: int, ln: Ln | None = None, wait: bool = True)

Bases: StoppableThread

ingest_invoice(line)
num_usable_invoices()
paid_everything()
run(**kwargs)

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

total_amount_left_to_pay()
total_amount_paid()
total_amount_unpaid_invoices()