Is there an absolute limit the payment request expiry?
I can't find this in the BOLTs, but maybe this is up to the implementations?
Is there an absolute limit the payment request expiry?
I can't find this in the BOLTs, but maybe this is up to the implementations?
I think it is not explicitly specified. But c-lightning uses for example an unsigned int 64. Overall the expiry is obviously created to allow nodes to not store payment preimages for requested invoices for too much time. So therefor it makes sense to use values that don't extend too much actual time. I don't see why an invoice should for example be valid for a year. But technically it is certainly possible.