BOLT11 specifies that an invoice must be created with description OR description_hash. However, CLightning only allows description. A previous attempt was made by @fiatjaf in #3045 but was abandoned.
It seems like it should not be too hard to implement this (as fiatjaf actually has a plugin doing just this https://github.com/fiatjaf/sparko/tree/master/invoicewithdescriptionhash). Unfortunately, my C experience is laughable and would go far to get the ball rolling.
The reasoning for wanting this baked in instead of a plugin is because I would not expect or demand users on BTCPay to install a lightning plugin (requires handling some bash commands which may be too much for some) for a feature that is part of the base spec.
Use-case: LNURL-pay
BOLT11 specifies that an invoice must be created with
descriptionORdescription_hash. However, CLightning only allowsdescription.A previous attempt was made by @fiatjaf in #3045 but was abandoned.It seems like it should not be too hard to implement this (as fiatjaf actually has a plugin doing just this https://github.com/fiatjaf/sparko/tree/master/invoicewithdescriptionhash). Unfortunately, my C experience is laughable and would go far to get the ball rolling.
The reasoning for wanting this baked in instead of a plugin is because I would not expect or demand users on BTCPay to install a lightning plugin (requires handling some bash commands which may be too much for some) for a feature that is part of the base spec.
Use-case: LNURL-pay